From 5deebf5582bd326db42800dd474a6ac1284d19d5 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Tue, 10 Dec 2024 14:20:31 +0300 Subject: [PATCH 01/16] readme --- README.md | 159 +++------------------------------------------------ package.json | 2 +- 2 files changed, 10 insertions(+), 151 deletions(-) diff --git a/README.md b/README.md index 0014a1f..685e6a9 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,15 @@ [![Biconomy](https://img.shields.io/badge/Made_with_%F0%9F%8D%8A_by-Biconomy-ff4e17?style=flat)](https://biconomy.io) [![License MIT](https://img.shields.io/badge/License-MIT-blue?&style=flat)](./LICENSE) [![Foundry](https://img.shields.io/badge/Built%20with-Foundry-FFBD10.svg)](https://getfoundry.sh/) - - -# Smart Contract Template Base 🚀 - -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/bcnmy/sc-template) - -This repository serves as a comprehensive foundation for smart contract projects, streamlining the development process with a focus on best practices, security, and efficiency. - -## 📚 Table of Contents - -- [🚀 Introduction](#smart-contract-template-base-) -- [🌟 Features](#features) -- [🏁 Getting Started](#getting-started) -- [🔧 Essential Scripts](#️-essential-scripts) -- [🔒 Security Audits](#-security-audits) -- [🏆 Biconomy Champions League](#-biconomy-champions-league-) -- [📖 Documentation and Resources](#documentation-and-resources) -- [📄 License](#license) -- [🤝 Connect with Biconomy](#connect-with-biconomy-) - -## Features - -- **Smart Contract Template Base**: A robust foundation for future smart contract projects. -- **Foundry Support**: Equipped with Foundry tools and an adapted folder structure for seamless development. -- **Best Practices**: Adheres to industry best practices in smart contract programming to ensure code quality and security. -- **Continuous Integration & Deployment**: Utilizes GitHub Actions for automated testing and deployment, ensuring code reliability. -- **Strict Linting**: Implements Solhint based on the Solidity style guide, enhancing code quality and consistency. -- **Comprehensive Testing**: Includes a wide range of tests (unit, fuzz, fork) for both Foundry environment. -- **Environment Configuration**: Comes with `.env.example` for easy setup of API keys and environmental variables. -- **Code Formatting**: Uses Prettier to maintain a consistent code style across the project. -- **Configurations for Foundry**: Provides essential settings and scripts for building, testing, and deployment, tailored for both development environments. +# Biconomy Paymaster Contracts +- Sponsorship (Verifying) Paymaster +- Token Payment Paymaster ## Getting Started -To kickstart your smart contract development with this template, follow these steps: - ### Prerequisites - Node.js (v18.x or later) -- Yarn (or npm) +- Pnpm - Foundry (Refer to [Foundry installation instructions](https://getfoundry.sh/docs/installation)) ### Installation @@ -47,97 +17,23 @@ To kickstart your smart contract development with this template, follow these st 1. **Clone the repository:** ```bash -git clone https://github.com/bcnmy/sc-template.git -cd sc-template +git clone https://github.com/bcnmy/gasdaddy.git +cd gasdaddy ``` 2. **Install dependencies:** ```bash -yarn install +pnpm i ``` 3. **Setup environment variables:** Copy `.env.example` to `.env` and fill in your details. -## 🛠️ Essential Scripts - -Execute key operations for Foundry with these scripts. Append `:forge` to run them in the respective environment. - -### 🏗️ Build Contracts - -```bash -yarn build -``` - -Compiles contracts for both Foundry. - -### 🧪 Run Tests - -```bash -yarn test -``` - -Carries out tests to verify contract functionality. - -### ⛽ Gas Report - -```bash -yarn test:gas -``` - -Creates detailed reports for test coverage. - -### 📊 Coverage Report - -```bash -yarn coverage -``` - -Creates detailed reports for test coverage. - -### 📄 Documentation - -```bash -yarn docs -``` - -Generate documentation from NatSpec comments. +4. **Use forge to build, test and deploy** -### 🚀 Deploy Contracts - -```bash -yarn deploy -``` - -Deploys contracts onto the blockchain network. - -### 🎨 Lint Code - -```bash -yarn lint -``` - -Checks code for style and potential errors. - -### 🖌️ Auto-fix Linting Issues - -```bash -yarn lint:fix -``` - -Automatically fixes linting problems found. - -### 🚀 Generating Storage Layout - -```bash -yarn check -``` - - - -🔄 Add `:forge` to any script above to target only Foundry +As usual :grin: ## 🔒 Security Audits @@ -147,43 +43,6 @@ yarn check | Firm Name | DD-MM-YYYY | [View Report](./audits) | | Firm Name | DD-MM-YYYY | [View Report](./audits) | -## 🏆 Biconomy Champions League 🏆 - -Welcome to the Champions League, a place where your contributions to Biconomy are celebrated and immortalized in our Hall of Fame. This elite group showcases individuals who have significantly advanced our mission, from enhancing code efficiency to strengthening security, and enriching our documentation. - -### Champions Roster - -| 🍊 Contributor | 🛡️ Domain | -| -------------- | ----------------- | -| @user1 | Code Optimization | -| @user2 | Security | -| @user3 | Documentation | -| ... | ... | - -### Entering the League - -Your journey to becoming a champion can start in any domain: - -- **Code Wizards**: Dive into our [Gas Optimization](./GAS_OPTIMIZATION.md) efforts. -- **Security Guardians**: Enhance our safety following the [Security Guidelines](./SECURITY.md). -- **Documentation Scribes**: Elevate our knowledge base with your contributions. - -The **Champions League** is not just a recognition, it's a testament to the impactful work done by our community. Whether you're optimizing gas usage or securing our contracts, your contributions help shape the future of Biconomy. - -> **To Join**: Leave a lasting impact in your chosen area. Our Hall of Fame is regularly updated to honor our most dedicated contributors. - -Let's build a legacy together, championing innovation and excellence in the blockchain space. - -## Documentation and Resources - -For a comprehensive understanding of our project and to contribute effectively, please refer to the following resources: - -- [**Contributing Guidelines**](./CONTRIBUTING.md): Learn how to contribute to our project, from code contributions to documentation improvements. -- [**Code of Conduct**](./CODE_OF_CONDUCT.md): Our commitment to fostering an open and welcoming environment. -- [**Security Policy**](./SECURITY.md): Guidelines for reporting security vulnerabilities. -- [**Gas Optimization Program**](./GAS_OPTIMIZATION.md): Contribute towards optimizing gas efficiency of our smart contracts. -- [**Changelog**](./CHANGELOG.md): Stay updated with the changes and versions. - ## License This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details. diff --git a/package.json b/package.json index 90e69c2..53e10b8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "dependencies": { "@openzeppelin/contracts": "5.1.0", "accountabstraction": "https://github.com/eth-infinitism/account-abstraction#v0.7.0", - "nexus": "https://github.com/bcnmy/nexus#release/nexus-1.0.1", + "nexus": "https://github.com/bcnmy/nexus#v1.0.1", "solady": "github:vectorized/solady#v0.0.271", "@uniswap/v3-core": "https://github.com/Uniswap/v3-core#0.8", "@uniswap/v3-periphery": "https://github.com/Uniswap/v3-periphery#0.8", From 3caa03755a89093a4e55eb00cf60fd61e44fc74d Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Tue, 10 Dec 2024 16:33:17 +0300 Subject: [PATCH 02/16] deploy scripts --- contracts/utils/Create3.sol | 139 ++++++++++++++++ contracts/utils/Deployer.sol | 39 +++++ contracts/utils/SoladyOwnable.sol | 10 +- foundry.toml | 75 ++++++--- .../BiconomySponsorshipPaymaster.json | 1 + .../BiconomySponsorshipPaymaster/verify.json | 1 + .../artifacts/Deployer/Deployer.json | 1 + scripts/bash-deploy/deploy-gasdaddy.sh | 117 +++++++++++++ scripts/bash-deploy/deploy-prerequisites.sh | 157 ++++++++++++++++++ scripts/foundry/Base.s.sol | 41 ----- scripts/foundry/DeployDeployer.s.sol | 59 +++++++ scripts/foundry/DeployGasdaddy.s.sol | 78 +++++++++ .../utils/DeterministicDeployerLib.sol | 93 +++++++++++ 13 files changed, 749 insertions(+), 62 deletions(-) create mode 100644 contracts/utils/Create3.sol create mode 100644 contracts/utils/Deployer.sol create mode 100644 scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json create mode 100644 scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json create mode 100644 scripts/bash-deploy/artifacts/Deployer/Deployer.json create mode 100644 scripts/bash-deploy/deploy-gasdaddy.sh create mode 100644 scripts/bash-deploy/deploy-prerequisites.sh delete mode 100644 scripts/foundry/Base.s.sol create mode 100644 scripts/foundry/DeployDeployer.s.sol create mode 100644 scripts/foundry/DeployGasdaddy.s.sol create mode 100644 scripts/foundry/utils/DeterministicDeployerLib.sol diff --git a/contracts/utils/Create3.sol b/contracts/utils/Create3.sol new file mode 100644 index 0000000..2e99450 --- /dev/null +++ b/contracts/utils/Create3.sol @@ -0,0 +1,139 @@ +//SPDX-License-Identifier: Unlicense +pragma solidity 0.8.27; + +/** + @title A library for deploying contracts EIP-3171 style. + @author Agustin Aguilar +*/ +library Create3 { + error ErrorCreatingProxy(); + error ErrorCreatingContract(); + error TargetAlreadyExists(); + + /** + @notice The bytecode for a contract that proxies the creation of another contract + @dev If this code is deployed using CREATE2 it can be used to decouple `creationCode` from the child contract address + + 0x67363d3d37363d34f03d5260086018f3: + 0x00 0x67 0x67XXXXXXXXXXXXXXXX PUSH8 bytecode 0x363d3d37363d34f0 + 0x01 0x3d 0x3d RETURNDATASIZE 0 0x363d3d37363d34f0 + 0x02 0x52 0x52 MSTORE + 0x03 0x60 0x6008 PUSH1 08 8 + 0x04 0x60 0x6018 PUSH1 18 24 8 + 0x05 0xf3 0xf3 RETURN + + 0x363d3d37363d34f0: + 0x00 0x36 0x36 CALLDATASIZE cds + 0x01 0x3d 0x3d RETURNDATASIZE 0 cds + 0x02 0x3d 0x3d RETURNDATASIZE 0 0 cds + 0x03 0x37 0x37 CALLDATACOPY + 0x04 0x36 0x36 CALLDATASIZE cds + 0x05 0x3d 0x3d RETURNDATASIZE 0 cds + 0x06 0x34 0x34 CALLVALUE val 0 cds + 0x07 0xf0 0xf0 CREATE addr + */ + + bytes internal constant PROXY_CHILD_BYTECODE = + hex"67_36_3d_3d_37_36_3d_34_f0_3d_52_60_08_60_18_f3"; + + // KECCAK256_PROXY_CHILD_BYTECODE = keccak256(PROXY_CHILD_BYTECODE); + bytes32 internal constant KECCAK256_PROXY_CHILD_BYTECODE = + 0x21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f; + + /** + @notice Returns the size of the code on a given address + @param _addr Address that may or may not contain code + @return size of the code on the given `_addr` + */ + function codeSize(address _addr) internal view returns (uint256 size) { + assembly { + size := extcodesize(_addr) + } + } + + /** + @notice Creates a new contract with given `_creationCode` and `_salt` + @param _salt Salt of the contract creation, resulting address will be derivated from this value only + @param _creationCode Creation code (constructor) of the contract to be deployed, this value doesn't affect the resulting address + @return addr of the deployed contract, reverts on error + */ + function create3( + bytes32 _salt, + bytes memory _creationCode + ) internal returns (address addr) { + return create3(_salt, _creationCode, 0); + } + + /** + @notice Creates a new contract with given `_creationCode` and `_salt` + @param _salt Salt of the contract creation, resulting address will be derivated from this value only + @param _creationCode Creation code (constructor) of the contract to be deployed, this value doesn't affect the resulting address + @param _value In WEI of ETH to be forwarded to child contract + @return addr of the deployed contract, reverts on error + */ + function create3( + bytes32 _salt, + bytes memory _creationCode, + uint256 _value + ) internal returns (address addr) { + // Creation code + bytes memory creationCode = PROXY_CHILD_BYTECODE; + + // Get target final address + addr = addressOf(_salt); + if (codeSize(addr) != 0) revert TargetAlreadyExists(); + + // Create CREATE2 proxy + address proxy; + assembly { + proxy := create2( + 0, + add(creationCode, 32), + mload(creationCode), + _salt + ) + } + if (proxy == address(0)) revert ErrorCreatingProxy(); + + // Call proxy with final init code + (bool success, ) = proxy.call{value: _value}(_creationCode); + if (!success || codeSize(addr) == 0) revert ErrorCreatingContract(); + } + + function addressOfProxy(bytes32 _salt) internal view returns (address) { + return + address( + uint160( + uint256( + keccak256( + abi.encodePacked( + hex"ff", + address(this), + _salt, + KECCAK256_PROXY_CHILD_BYTECODE + ) + ) + ) + ) + ); + } + + /** + @notice Computes the resulting address of a contract deployed using address(this) and the given `_salt` + @param _salt Salt of the contract creation, resulting address will be derivated from this value only + @return addr of the deployed contract, reverts on error + + @dev The address creation formula is: keccak256(rlp([keccak256(0xff ++ address(this) ++ _salt ++ keccak256(childBytecode))[12:], 0x01])) + */ + function addressOf(bytes32 _salt) internal view returns (address) { + address proxy = addressOfProxy(_salt); + return + address( + uint160( + uint256( + keccak256(abi.encodePacked(hex"d6_94", proxy, hex"01")) + ) + ) + ); + } +} diff --git a/contracts/utils/Deployer.sol b/contracts/utils/Deployer.sol new file mode 100644 index 0000000..eeeaff2 --- /dev/null +++ b/contracts/utils/Deployer.sol @@ -0,0 +1,39 @@ +//SPDX-License-Identifier: Unlicense +pragma solidity 0.8.27; + +import "./Create3.sol"; +import "./SoladyOwnable.sol"; +import {ECDSA} from "solady/utils/ECDSA.sol"; + +contract Deployer is SoladyOwnable { + event ContractDeployed(address indexed contractAddress); + error InvalidBytecodeSignature(); + + using ECDSA for bytes32; + + constructor(address _owner) SoladyOwnable(_owner) {} + + function deploy(bytes32 _salt, bytes calldata _creationCode, bytes calldata signature) external { + bytes32 hash = keccak256(_creationCode); + if (!_verifySignature(hash, signature)) revert InvalidBytecodeSignature(); + address deployedContract = Create3.create3(_salt, _creationCode); + emit ContractDeployed(deployedContract); + } + + function deploy(bytes32 _salt, bytes calldata _creationCode) onlyOwner external { + address deployedContract = Create3.create3(_salt, _creationCode); + emit ContractDeployed(deployedContract); + } + + function addressOf(bytes32 _salt) external view returns (address) { + return Create3.addressOf(_salt); + } + + function _verifySignature(bytes32 hash, bytes calldata signature) internal view returns (bool) { + if (hash.recoverCalldata(signature) == owner()) + return true; + if (hash.toEthSignedMessageHash().recoverCalldata(signature) == owner()) + return true; + return false; + } +} diff --git a/contracts/utils/SoladyOwnable.sol b/contracts/utils/SoladyOwnable.sol index 9f62eef..57b7e87 100644 --- a/contracts/utils/SoladyOwnable.sol +++ b/contracts/utils/SoladyOwnable.sol @@ -4,7 +4,13 @@ pragma solidity ^0.8.27; import { Ownable } from "solady/auth/Ownable.sol"; contract SoladyOwnable is Ownable { - constructor(address owner) Ownable() { - _initializeOwner(owner); + constructor(address _owner) Ownable() { + assembly { + if iszero(shl(96, _owner)) { + mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`. + revert(0x1c, 0x04) + } + } + _initializeOwner(_owner); } } diff --git a/foundry.toml b/foundry.toml index e117acb..8fca4dd 100644 --- a/foundry.toml +++ b/foundry.toml @@ -17,6 +17,7 @@ libs = ["node_modules", "lib"] gas_reports_ignore = ["LockTest"] via_ir = true + fs_permissions = [{ access = "read", path = "scripts/bash-deploy/artifacts"}] [fuzz] runs = 1_000 @@ -26,17 +27,6 @@ fuzz = { runs = 10_000 } verbosity = 4 -[etherscan] - arbitrum = { key = "${API_KEY_ARBISCAN}" } - avalanche = { key = "${API_KEY_SNOWTRACE}" } - goerli = { key = "${API_KEY_ETHERSCAN}" } - mainnet = { key = "${API_KEY_ETHERSCAN}" } - optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" } - polygon = { key = "${API_KEY_POLYGONSCAN}" } - sepolia = { key = "${API_KEY_ETHERSCAN}" } - base = { key = "${BASESCAN_API_KEY}" } - base-sepolia = { key = "${BASESCAN_API_KEY}" } - [fmt] bracket_spacing = true int_types = "long" @@ -48,13 +38,60 @@ wrap_comments = true [rpc_endpoints] - arbitrum = "https://arbitrum-mainnet.infura.io/v3/${API_KEY_INFURA}" - avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}" - goerli = "https://goerli.infura.io/v3/${API_KEY_INFURA}" localhost = "http://localhost:8545" - mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}" - optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}" - polygon = "https://polygon-mainnet.infura.io/v3/${API_KEY_INFURA}" - sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}" + mainnet = "${MAINNET_RPC_URL}" + sepolia = "${SEPOLIA_RPC_URL}" + base = "${BASE_RPC_URL}" - base-sepolia = "${BASE_SEPOLIA_RPC_URL}" \ No newline at end of file + base-sepolia = "${BASE_SEPOLIA_RPC_URL}" + + arbitrum = "${ARBITRUM_ONE_RPC_URL}" + arbitrum-sepolia = "${ARBITRUM_SEPOLIA_RPC_URL}" + + polygon = "${POLYGON_MAINNET_RPC_URL}" + amoy = "${POLYGON_AMOY_RPC_URL}" + + scroll = "${SCROLL_RPC_URL}" + scroll-sepolia = "${SCROLL_SEPOLIA_RPC_URL}" + + gnosis = "${GNOSIS_MAINNET_RPC_URL}" + gnosis-chiado = "${GNOSIS_CHIADO_RPC_URL}" + + bsc = "${BSC_RPC_URL}" + bsc-testnet = "${BSC_TESTNET_RPC_URL}" + + avalanche = "${AVALANCHE_C_CHAIN_RPC_URL}" + fuji = "${AVALANCHE_FUJI_RPC_URL}" + + optimism = "${OPTIMISM_MAINNET_RPC_URL}" + optimism-sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}" + +[etherscan] + mainnet = { key = "${ETHERSCAN_API_KEY}", url = "https://api.etherscan.io/api" } + sepolia = { key = "${ETHERSCAN_API_KEY}", url = "https://api-sepolia.etherscan.io/api" } + + base = { key = "${BASESCAN_API_KEY}", url = "https://api.basescan.org/api" } + base-sepolia = { key = "${BASESCAN_API_KEY}", url = "https://api-sepolia.basescan.org/api" } + + arbitrum = { key = "${ARBISCAN_API_KEY}", url = "https://api.arbiscan.io/api" } + arbitrum-sepolia = { key = "${ARBISCAN_API_KEY}", url = "https://api-sepolia.arbiscan.io/api" } + + polygon = { key = "${POLYGONSCAN_API_KEY}", url = "https://api.polygonscan.com/api" } + amoy = { key = "${POLYGONSCAN_API_KEY}", url = "https://api-amoy.polygonscan.com/api" } + + scroll = { key = "${SCROLLSCAN_API_KEY}", url = "https://api.scrollscan.com/api" } + scroll-sepolia = { key = "${SCROLLSCAN_API_KEY}", url = "https://api-sepolia.scrollscan.com/api" } + + gnosis = { key = "${GNOSISSCAN_API_KEY}", url = "https://api.gnosisscan.io/api" } + # gnosis-chiado is via blockscan, not etherscan + + bsc = { key = "${BSCSCAN_API_KEY}", url = "https://api.bscscan.com/api"} + bsc-testnet = { key = "${BSCSCAN_API_KEY}", url = "https://api-testnet.bscscan.com/api" } + + avalanche = { key = "${SNOWTRACE_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan" } + fuji = { key = "${SNOWTRACE_API_KEY}", url = "https://api.routescan.io/v2/network/testnet/evm/43113/etherscan" } + + optimism = { key = "${OPTIMISM_API_KEY}", url = "https://api-optimistic.etherscan.io/api" } + optimism-sepolia = { key = "${OPTIMISM_API_KEY}", url = "https://api-sepolia-optimistic.etherscan.io/api" } + +# [possible values: mainnet, morden, ropsten, rinkeby, goerli, kovan, holesky, sepolia, odyssey, optimism, optimism-kovan, optimism-goerli, optimism-sepolia, arbitrum, arbitrum-testnet, arbitrum-goerli, arbitrum-sepolia, arbitrum-nova, cronos, cronos-testnet, rsk, crab, darwinia, koi, bsc, bsc-testnet, poa, sokol, scroll, scroll-sepolia, metis, cfx-testnet, cfx, xdai, polygon, mumbai, amoy, polygon-zkevm, polygon-zkevm-testnet, fantom, fantom-testnet, moonbeam, moonbeam-dev, moonriver, moonbase, dev, anvil-hardhat, gravity-alpha-mainnet, gravity-alpha-testnet-sepolia, evmos, evmos-testnet, chiado, oasis, emerald, emerald-testnet, filecoin-mainnet, filecoin-calibration-testnet, avalanche, fuji, celo, celo-alfajores, celo-baklava, aurora, aurora-testnet, canto, canto-testnet, boba, base, base-goerli, base-sepolia, syndr, syndr-sepolia, shimmer, ink-sepolia, fraxtal, fraxtal-testnet, blast, blast-sepolia, linea, linea-goerli, linea-sepolia, zksync, zksync-testnet, mantle, mantle-testnet, mantle-sepolia, xai, xai-sepolia, viction, zora, zora-goerli, zora-sepolia, pgn, pgn-sepolia, mode, mode-sepolia, elastos, kakarot-sepolia, etherlink, etherlink-testnet, degen, opbnb-mainnet, opbnb-testnet, ronin, taiko, taiko-hekla, autonomys-nova-testnet, flare, flare-coston2, acala, acala-mandala-testnet, acala-testnet, karura, karura-testnet, pulsechain, pulsechain-testnet, immutable, immutable-testnet, soneium-minato-testnet, world, world-sepolia, iotex, core, merlin, bitlayer, unichain-sepolia, apechain, curtis, sonic-testnet] \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json new file mode 100644 index 0000000..a89ee1d --- /dev/null +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json @@ -0,0 +1 @@ +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0611f96803803809161001c826100b9565b60a039126100b55761006c60a05161003381610116565b60c05161003f81610116565b60e05161004b81610116565b6101005161005881610116565b610120519161014051936101605195610127565b604051611c6690816103308239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b60a0601f91909101601f19168101906001600160401b038211908210176100df57604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176100df57604052565b6001600160a01b038116036100b557565b95949291959390938060601b15610240576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b6004820152916020836024816001600160a01b0389165afa90811561023557610204976101ff966101c36101f5946101fa975f91610206575b506102e3565b6080526101d184838361024d565b5f55600180546001600160a01b0319166001600160a01b0392909216919091179055565b600255565b600355565b600455565b565b610228915060203d60201161022e575b61022081836100f3565b8101906102cb565b5f6101bd565b503d610216565b6040513d5f823e3d90fd5b637448fbae5f526004601cfd5b6001600160a01b03811661026a576381618de160e01b5f5260045ffd5b3b1561027f5763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661029c57633fd0943d60e11b5f5260045ffd5b3b156102b157631f47525f60e21b5f5260045ffd5b620186a0106102bc57565b63313db2a560e11b5f5260045ffd5b908160209103126100b5575180151581036100b55790565b156102ea57565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:10:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:10;;;;;-1:-1:-1;1529:19054:10;;;;;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1529:19054:10;;;;;:::o;2588:694::-;;;;;;;;;198:181:16;;;;;;-1:-1:-1;;;;;5710:347:157;-1:-1:-1;;5710:347:157;;;-1:-1:-1;5710:347:157;-1:-1:-1;;5710:347:157;1529:19054:10;;-1:-1:-1;;;3842:80:0;;-1:-1:-1;;;3842:80:0;;;1529:19054:10;;;;3842:80:0;1529:19054:10;-1:-1:-1;;;;;1529:19054:10;;3842:80:0;;;;;;;3249:26:10;3842:80:0;3181:58:10;3842:80:0;3821:157;3097:30:10;3842:80:0;3137:34:10;3842:80:0;-1:-1:-1;3842:80:0;;;2588:694:10;3821:157:0;;:::i;:::-;1158:26;;2963:17:10;;;;;:::i;:::-;-1:-1:-1;2991:97:10;1529:19054;;;-1:-1:-1;;;;;;1529:19054:10;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;3097:30;3137:34;1529:19054;;3137:34;3181:58;1529:19054;;3181:58;3842:80:0;1529:19054:10;;3249:26;2588:694::o;3842:80:0:-;;;;1529:19054:10;3842:80:0;1529:19054:10;3842:80:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1529:19054:10;;;-1:-1:-1;1529:19054:10;;;;;198:181:16;;;;;;;19381:708:10;-1:-1:-1;;;;;1529:19054:10;;;;19625:29;;;19600:1;19625:29;;19600:1;19625:29;19566:517;6220:74:0;6310:8;19675:31:10;;19729:33;;;19600:1;19729:33;;19600:1;19729:33;19671:412;-1:-1:-1;;;;;1529:19054:10;;;;19835:26;;;19600:1;19835:26;;19600:1;19835:26;19779:304;6220:74:0;6310:8;19882:28:10;;19933:30;;;19600:1;19933:30;;19600:1;19933:30;19878:205;2371:7;-1:-1:-1;19980:103:10;;19381:708::o;19980:103::-;20049:23;;;19600:1;20049:23;;19600:1;20049:23;1529:19054;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1529:19054:10;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:10:-:0;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;;3351:9;1529:19054;;3330:31;1529:19054;3339:10;3330:31;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;11885:237:157;;;;;1529:19054:10;11885:237:157;;;;1529:19054:10;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:157;;;:::i;:::-;5431:37:10;;;5427:71;;5513:9;5524:23;;;;;;1529:19054;;;5549:3;5608:10;;;;;:::i;:::-;1529:19054;5588:15;;;;;;:::i;:::-;1529:19054;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;5568:19;1529:19054;;5568:50;1529:19054;;;;;;5568:50;:::i;:::-;1529:19054;;;5513:9;;1529:19054;;;;5427:71;-1:-1:-1;;;5477:21:10;;1529:19054;5477:21;;1529:19054;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;-1:-1:-1;;;;;1529:19054:10;;:::i;:::-;;;;11357:19;1529:19054;;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1529:19054:10;;8479:183:157;;;;1529:19054:10;8479:183:157;;1529:19054:10;;;;;;;;;;;;;;1935:41;1529:19054;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;10506:526;;;;;;1529:19054:10;10506:526:157;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1529:19054:10;10506:526:157;;1529:19054:10;;;;;;;;;;;;;10560:10;1529:19054;;10550:9;1529:19054;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;10586:41;1529:19054;;;10560:10;1529:19054;;10586:41;1529:19054;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8070:22:10;;1529:19054;;8070:22;1529:19054;;;;;;;;;;;;;;-1:-1:-1;;;;;1867:27:10;1529:19054;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3568:35:0;;3597:4;1529:19054:10;3568:35:0;;1529:19054:10;;;3568:35:0;1529:19054:10;3568:10:0;-1:-1:-1;;;;;1529:19054:10;3568:35:0;;;;;;;;;;;1529:19054:10;;;;;;;;;3568:35:0;;;1529:19054:10;3568:35:0;;1529:19054:10;3568:35:0;;;;;;1529:19054:10;3568:35:0;;;:::i;:::-;;;1529:19054:10;;;;;;;;3568:35:0;;;;;;-1:-1:-1;3568:35:0;;;1529:19054:10;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;-1:-1:-1;;;;;2106:10:0;1529:19054:10;2106:41:0;;;;;;-1:-1:-1;;;;;2106:41:0;1529:19054:10;;;;;;;;;;;;;2106:41:0;;1529:19054:10;;2106:41:0;;1529:19054:10;2106:41:0;;;;;;;;1529:19054:10;;2106:41:0;;;;;:::i;:::-;1529:19054:10;;2106:41:0;1529:19054:10;2106:41:0;1529:19054:10;;;;;;;;;;;;;;;;12478:70:157;;:::i;:::-;1769:10:0;-1:-1:-1;;;;;1769:10:0;1529:19054:10;1769:24:0;;;;;1529:19054:10;;;;;;;;;;;;;1769:24:0;;;;;;;;;;1529:19054:10;;1769:24:0;1529:19054:10;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;656:39:0;1529:19054:10;;;;;;;;;;;;;;;;;;1900:29;1529:19054;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;:::i;:::-;1181:103:56;;:::i;:::-;1529:19054:10;3686:25;;3682:63;;3759:9;:14;3755:48;;1529:19054;;;3817:19;1529:19054;;3817:44;3759:9;1529:19054;;;;3817:44;:::i;:::-;1529:19054;;-1:-1:-1;3813:82:10;;1529:19054;;;3817:19;1529:19054;;;;;3905:45;3759:9;1529:19054;;3905:45;:::i;:::-;1529:19054;;3960:10;-1:-1:-1;;;;;3960:10:10;1529:19054;3960:55;;;;;1529:19054;3960:55;1529:19054;;;;;;;;;;3960:55;;4009:4;1529:19054;3960:55;;1529:19054;3759:9;3960:55;;;;;;;;;1529:19054;3759:9;;;4030:36;;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;3960:55;;;;;:::i;:::-;1529:19054;;3960:55;;;;3813:82;-1:-1:-1;;;3883:12:10;;1529:19054;3883:12;;3755:48;-1:-1:-1;;;3782:21:10;;1529:19054;3782:21;;3682:63;-1:-1:-1;;;3720:25:10;;1529:19054;6030:25;3720;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;6220:74:0;;7105:71:10;;-1:-1:-1;;;;;1529:19054:10;7190:29;;7186:68;;7290:12;1529:19054;;;-1:-1:-1;;1529:19054:10;;;7290:12;1529:19054;-1:-1:-1;;;;;7411:10:10;1529:19054;;7357:65;;;;1529:19054;;7186:68;-1:-1:-1;;;7228:26:10;;1529:19054;7228:26;;7105:71;-1:-1:-1;;;7146:30:10;;1529:19054;7146:30;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;12478:70:157;;:::i;:::-;1529:19054:10;;;6537:44;;;;1529:19054;;;;;;;;;;;;;;;;;;6813:405:157;;11523:61;-1:-1:-1;;;;;1529:19054:10;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:157;;;:::i;:::-;1529:19054:10;5996:25;;;5992:63;;1529:19054;;;6069:20;1529:19054;;;;;;;;;;;6069:46;6065:186;;1529:19054;;;6065:186;1529:19054;6195:45;1529:19054;;;;6069:20;1529:19054;;;;;;;;;;;;;;;;;;;;;6195:45;6065:186;;1529:19054;;;5992:63;-1:-1:-1;;;6030:25:10;;1529:19054;6030:25;;1529:19054;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2191:298:0;;;;;;:::i;:::-;14714:47:10;;1529:19054;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;15131:31;2134:3;15053:27;14926:56;14943:38;1529:19054;;14943:14;1529:19054;14943:38;:::i;:::-;1529:19054;;14926:56;:::i;:::-;15053:27;;;:::i;:::-;1529:19054;15131:31;;;:::i;:::-;1529:19054;-1:-1:-1;;;;;1529:19054:10;;;;;15225:19;1529:19054;;;;;15225:44;1529:19054;;;15225:44;:::i;:::-;1529:19054;;15284:34;;;;;;;15419;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15382:72;1529:19054;;;;;;15382:72;:::i;:::-;1529:19054;;15280:369;15785:57;;;;1529:19054;;15280:369;15587:34;;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15550:72;1529:19054;;;;;;15550:72;:::i;:::-;1529:19054;;15280:369;;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;12478:70:157;;:::i;:::-;2371:7:10;7708:30;;7704:91;;7823:14;1529:19054;;7823:14;1529:19054;7884:38;;;;1529:19054;;7704:91;-1:-1:-1;;;7761:23:10;;1529:19054;7761:23;;1529:19054;;;;;;;;;;12478:70:157;;:::i;:::-;6813:405;;;;;;;;;;;;1529:19054:10;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;6220:74:0;;4550:77:10;;-1:-1:-1;;;;;1529:19054:10;;4641:32;;4637:99;;-1:-1:-1;;;;;1529:19054:10;;;4790:97;;;4955:10;4901:65;;;;;1529:19054;;4637:99;-1:-1:-1;;;4696:29:10;;1529:19054;4696:29;;4550:77;-1:-1:-1;;;4594:33:10;;1529:19054;4594:33;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;;8804:29;;8800:71;;8885:11;;8881:50;;8986:10;1529:19054;;8966:19;1529:19054;;;;;;9011:23;;9007:64;;9234:51;1529:19054;;;;;;;;:::i;:::-;;;;;;9117:102;;1529:19054;;;9117:102;;;9201:15;;1529:19054;;8986:10;1529:19054;;9081:9;1529:19054;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;9234:51;1529:19054;;9007:64;-1:-1:-1;;;9043:28:10;;1529:19054;9043:28;;8881:50;-1:-1:-1;;;8905:26:10;;1529:19054;10118:26;8905;8800:71;-1:-1:-1;;;8842:29:10;;1529:19054;20401:29;8842;1529:19054;;;;;;;;;;9831:339:157;;;;;;;;;;;;;;;;1529:19054:10;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;16671:2704;1529:19054;2736:22:0;;;:::i;:::-;1529:19054:10;;;;;16671:2704;:::i;:::-;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;:::i;:::-;;;12478:70:157;;;:::i;:::-;1181:103:56;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;20372:20;;;20368:62;;13252:754:161;;;;;;;;1529:19054:10;13252:754:161;1529:19054:10;13252:754:161;;;;;;1529:19054:10;13252:754:161;;;;;;;1529:19054:10;13252:754:161;;;;20515:59:10;1529:19054;;;20563:10;1529:19054;;20515:59;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;13252:754:161;;;;;;;;;;;;;;;;;1529:19054:10;13252:754:161;;20368:62:10;-1:-1:-1;;;20401:29:10;;1529:19054;20401:29;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;1181:103:56;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;;;;;9643:9;1529:19054;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;9679:34;9675:67;;1529:19054;9781:54;;9813:22;;;:::i;:::-;9781:54;;:::i;:::-;9849:15;;:36;9845:89;;-1:-1:-1;1529:19054:10;;;9969:19;1529:19054;;;;;;;;10024:27;;;;;;:57;;;1529:19054;;;10094:15;10091:53;;1529:19054;;10189:27;;;:::i;:::-;1529:19054;;;9969:19;1529:19054;;;;;;;;;9643:9;1529:19054;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;10265:10;-1:-1:-1;;;;;10265:10:10;1529:19054;-1:-1:-1;;;;;1529:19054:10;;;;;10265:50;;;;;;1529:19054;;;;;;;;;;;;;10265:50;;1529:19054;10265:50;;1529:19054;;;;;10265:50;;;;;;;;10024:57;1529:19054;;-1:-1:-1;;;;;1529:19054:10;;;;;10330:45;;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;10265:50;;;;;:::i;:::-;1529:19054;;10265:50;;;;10091:53;-1:-1:-1;;;10118:26:10;;1529:19054;10118:26;;10024:57;;;9845:89;-1:-1:-1;;;9894:40:10;;1529:19054;;;9894:40;;9675:67;-1:-1:-1;;;9722:20:10;;1529:19054;9722:20;;1529:19054;;;;;;;;;;9239:383:157;;;;;;7972:9;9132:15;1529:19054:10;9239:383:157;;;;;;;;;1529:19054:10;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;:::i;:::-;-1:-1:-1;;;;11086:22:10;;;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;12478:70:157;;;:::i;:::-;1181:103:56;;:::i;:::-;1529:19054:10;10772:35;;;;;;;;1529:19054;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;10821:8;10817:64;;10895:31;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;10817:64;-1:-1:-1;;;10852:18:10;;1529:19054;10852:18;;1529:19054;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;12478:70:157;;:::i;:::-;-1:-1:-1;;;;;1495:10:0;1529:19054:10;1495:56:0;;;;;;1529:19054:10;;1495:56:0;1529:19054:10;;;;;;;;;1495:56:0;;1529:19054:10;1495:56:0;;1529:19054:10;1523:9:0;1495:56;;;;;;;;;1529:19054:10;;;1495:56:0;;;;1529:19054:10;1495:56:0;;:::i;:::-;1529:19054:10;1495:56:0;1529:19054:10;;;;;;;;;1495:56:0;1529:19054:10;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:10;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1529:19054:10;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2255:22::-;;;;;-1:-1:-1;;;;;;2255:22:10;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2255:22:10;;;;;;;;;1529:19054;2255:22;;;:::o;12816:1250::-;;;;2255:22;1529:19054;2255:22;;;490:2:91;2255:22:10;;;;;13383:69;2255:22;1529:19054;2255:22;;;13376:77;2255:22;1529:19054;2255:22;;13376:77;:::i;:::-;2255:22;;13495:69;2255:22;1529:19054;2255:22;;;13488:77;2255:22;1529:19054;2255:22;;13488:77;:::i;:::-;2255:22;;13608:69;2255:22;1529:19054;2255:22;;;1529:19054;2255:22;;;;1529:19054;;13674:2;2255:22;-1:-1:-1;2255:22:10;;13337:2;2255:22;;874:44:0;;;;490:2:91;2255:22:10;-1:-1:-1;2255:22:10;;13674:2;2255:22;;874:44:0;;;;1529:19054:10;2255:22;;-1:-1:-1;;2255:22:10;;12816:1250::o;1529:19054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;:::o;11810:1000::-;;;;;1529:19054;12311:15;;;;;;:::i;:::-;1529:19054;;;:::i;:::-;12271:12;1529:19054;;;;12301:26;12355:15;1529:19054;12355:15;;;;;;:::i;1529:19054::-;12271:12;1529:19054;;;;12345:26;12446:23;;;;;;;:::i;:::-;490:2:91;2255:22:10;;;12311:15;1529:19054;12219:574;12271:12;12219:574;;823:61:91;;;-1:-1:-1;;;;;1529:19054:10;;;12271:12;;;1529:19054;12311:15;1529:19054;;;12355:15;1529:19054;;;12389:23;1529:19054;;;12389:23;;;1529:19054;12546:25;1529:19054;;;372:2:91;2255:22:10;1529:19054;12589:14;1529:19054;;;12546:25;;;1529:19054;12446:23;1529:19054;;;12589:14;;1529:19054;;;;;12621:13;1529:19054;;;;12660:4;1529:19054;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;12219:574;;;;;;:::i;:::-;1529:19054;12196:607;;11810:1000;:::o;1529:19054::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:157;-1:-1:-1;;7390:251:157;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:56;637:66;3321:69:60;1413:93:56;;1624:4;637:66;3550:68:60;1290:346:56:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:56;;-1:-1:-1;1465:30:56;20095:179:10;-1:-1:-1;;;;;1529:19054:10;;;20181:20;1529:19054;;;;;;;;20177:47;;20241:26;1529:19054;20095:179;:::o;20177:47::-;1529:19054;20216:8;:::o;5929:135:0:-;-1:-1:-1;;;;;6020:10:0;1529:19054:10;5998:10:0;:33;1529:19054:10;;5929:135:0:o;1529:19054:10:-;;;-1:-1:-1;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16671:2704::-;;;1529:19054;16890:22;17244:23;;;;17222:46;17244:23;;;;:::i;:::-;17222:46;;:::i;:::-;17581:2;17561:22;;;;;;;;;;;;;;:48;;;16671:2704;17557:110;;17681:14;1529:19054;4143:23:91;;;;;:::i;:::-;490:2;2255:22:10;;;434:2:91;2255:22:10;874:44:0;;;17681:46:10;;17677:106;;1529:19054;17824:65;;;;;;;;;:::i;:::-;13414:265:158;;;1529:19054:10;13414:265:158;;;;1529:19054:10;;;;:::i;:::-;17823:144;1529:19054;8517:1041:158;17581:2:10;8517:1041:158;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;17809:187;:202;;;;8517:1041:158;17809:202:10;18100:9;18096:102;;1529:19054;;18246:17;18260:3;18246:17;;:38;;;;17809:202;18242:96;;18526:23;;;;:::i;:::-;490:2:91;2255:22:10;;;434:2:91;-1:-1:-1;;;;;18518:85:10;2255:22;874:44:0;;;;-1:-1:-1;;;;;874:44:0;18462:23:10;;1529:19054;;;-1:-1:-1;;;;;1529:19054:10;;;;-1:-1:-1;;;;;18621:2:10;1529:19054;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;18755:62;18754:78;3382:14:91;18773:44:10;2134:3;3382:14:91;18666:3:10;18428:225;-1:-1:-1;;;;;3382:14:91;;;;1529:19054:10;;18428:225;;;:::i;:::-;1529:19054;18773:44;;:::i;18755:62::-;18754:78;:::i;:::-;1529:19054;-1:-1:-1;;;;;18870:26:10;;;;:::i;:::-;1529:19054;;;;;;18899:19;13414:265:158;1529:19054:10;17581:2;1529:19054;;;-1:-1:-1;18866:132:10;;-1:-1:-1;;;19045:26:10;;-1:-1:-1;;;;;;19045:26:10;;;:::i;:::-;1529:19054;;;18899:19;13414:265:158;1529:19054:10;19008:64;17581:2;1529:19054;;;;;19008:64;:::i;:::-;1529:19054;;17581:2;1529:19054;19093:51;13414:265:158;19093:51:10;;1529:19054;17581:2;2134:3;;1529:19054;;2134:3;;1529:19054;;19093:51;;;874:44:0;19093:51:10;;:::i;:::-;2683:8:87;1529:19054:10;;;2643:3:87;1529:19054:10;;2589:104:87;16671:2704:10;:::o;18866:132::-;18954:33;;;1529:19054;18954:33;13414:265:158;1529:19054:10;18954:33;18242:96;18307:20;;;1529:19054;18307:20;13414:265:158;1529:19054:10;18307:20;18246:38;18267:17;18281:3;18267:17;;18246:38;;18096:102;18137:49;;;8517:1041:158;18137:49:10;;;-1:-1:-1;;;18137:49:10;;-1:-1:-1;;;;;;18137:49:10;;2683:8:87;1529:19054:10;;;2643:3:87;1529:19054:10;;2589:104:87;;1529:19054:10;17581:2;1529:19054;;13414:265:158;1529:19054:10;;:::i;:::-;;;;18125:62;;:::o;17809:202::-;1529:19054;17809:202;;8517:1041:158;;;;;1529:19054:10;8517:1041:158;13414:265;8517:1041;17581:2:10;8517:1041:158;;;;;;-1:-1:-1;8517:1041:158;;;1529:19054:10;8517:1041:158;;17581:2:10;8517:1041:158;13414:265;17581:2:10;874:44:0;1529:19054:10;8517:1041:158;;;;1529:19054:10;8517:1041:158;;;;;;17581:2:10;8517:1041:158;;;;;;;;;;;;17581:2:10;8517:1041:158;;;;;;;13414:265;8517:1041;;;;;;17677:106:10;17750:22;;;1529:19054;17750:22;;1529:19054;17750:22;17557:110;17632:24;;;1529:19054;17632:24;;1529:19054;17632:24;17561:48;17587:22;17607:2;17587:22;;;17561:48;;6145:1089:157;-1:-1:-1;;;;;6813:405:157;;;;;;-1:-1:-1;6813:405:157;;-1:-1:-1;;6813:405:157;6145:1089::o","linkReferences":{},"immutableReferences":{"17":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xed16852fd82cb747a40105a1ead6174b4e31c1ae3916783d81984c0546050f2d\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9e5efdbb4d033348b42facd483db476eea5dfb1344a95ae0dd27f7ed8e115d0a\",\"dweb:/ipfs/QmXnmnfnQ472ugX8uQgNeihHQNms16iyQmawSxUTetuR1T\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480\",\"dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xed16852fd82cb747a40105a1ead6174b4e31c1ae3916783d81984c0546050f2d","urls":["bzz-raw://9e5efdbb4d033348b42facd483db476eea5dfb1344a95ae0dd27f7ed8e115d0a","dweb:/ipfs/QmXnmnfnQ472ugX8uQgNeihHQNms16iyQmawSxUTetuR1T"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290","urls":["bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480","dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":10} \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json new file mode 100644 index 0000000..600b9a1 --- /dev/null +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json @@ -0,0 +1 @@ +{"language":"Solidity","sources":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport \"../base/BasePaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { BiconomySponsorshipPaymasterErrors } from \"../common/BiconomySponsorshipPaymasterErrors.sol\";\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { IBiconomySponsorshipPaymaster } from \"../interfaces/IBiconomySponsorshipPaymaster.sol\";\n\n/**\n * @title BiconomySponsorshipPaymaster\n * @author livingrockrises\n * @author ShivaanshK\n * @notice Based on Infinitism's 'VerifyingPaymaster' contract\n * @dev This contract is used to sponsor the transaction fees of the user operations\n * Uses a verifying signer to provide the signature if predetermined conditions are met\n * regarding the user operation calldata. Also this paymaster is Singleton in nature which\n * means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster.\n * Maintains it's own accounting of the gas balance for each Dapp/Wallet client\n * and Manages it's own deposit on the EntryPoint.\n */\n\ncontract BiconomySponsorshipPaymaster is\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomySponsorshipPaymasterErrors,\n IBiconomySponsorshipPaymaster\n{\n using UserOperationLib for PackedUserOperation;\n using SignatureCheckerLib for address;\n using ECDSA_solady for bytes32;\n\n address public verifyingSigner;\n address public feeCollector;\n uint256 public unaccountedGas;\n uint256 public paymasterIdWithdrawalDelay;\n uint256 public minDeposit;\n\n // Denominator to prevent precision errors when applying price markup\n uint256 private constant _PRICE_DENOMINATOR = 1e6;\n // Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET\n uint256 private constant _PAYMASTER_ID_OFFSET = _PAYMASTER_DATA_OFFSET;\n // Limit for unaccounted gas cost\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 100_000;\n\n mapping(address => uint256) public paymasterIdBalances;\n mapping(address => bool) internal _trustedPaymasterIds;\n mapping(address paymasterId => WithdrawalRequest request) internal _requests;\n\n constructor(\n address owner,\n IEntryPoint entryPointArg,\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg,\n uint256 paymasterIdWithdrawalDelayArg,\n uint256 minDepositArg\n )\n BasePaymaster(owner, entryPointArg)\n {\n _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg);\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n }\n feeCollector = feeCollectorArg;\n unaccountedGas = unaccountedGasArg;\n paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg;\n minDeposit = minDepositArg;\n }\n\n receive() external payable {\n emit Received(msg.sender, msg.value);\n }\n\n /**\n * @dev Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for\n * transaction fees\n * @param paymasterId dapp identifier for which deposit is being made\n */\n function depositFor(address paymasterId) external payable nonReentrant {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (msg.value == 0) revert DepositCanNotBeZero();\n if (paymasterIdBalances[paymasterId] + msg.value < minDeposit) revert LowDeposit();\n paymasterIdBalances[paymasterId] += msg.value;\n entryPoint.depositTo{ value: msg.value }(address(this));\n emit GasDeposited(paymasterId, msg.value);\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If _newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event VerifyingSignerChanged.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit VerifyingSignerChanged(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Refund balances for multiple paymasterIds\n * PM charges more than it should to protect itself. \n * This function is used to refund the extra amount \n * when the real consumption is known.\n * @param paymasterIds The paymasterIds to refund\n * @param amounts The amounts to refund\n */\n function refundBalances(address[] calldata paymasterIds, uint256[] calldata amounts) external payable onlyOwner {\n if (paymasterIds.length != amounts.length) revert InvalidArrayLengths();\n for (uint256 i; i < paymasterIds.length; i++) {\n paymasterIdBalances[paymasterIds[i]] += amounts[i];\n }\n }\n\n /**\n * @dev Set a new trusted paymasterId.\n * Can only be called by the owner of the contract.\n * @param paymasterId The paymasterId to be set as trusted.\n * @param isTrusted Whether the paymasterId is trusted or not.\n */\n function setTrustedPaymasterId(address paymasterId, bool isTrusted) external payable onlyOwner {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (_trustedPaymasterIds[paymasterId] != isTrusted) {\n _trustedPaymasterIds[paymasterId] = isTrusted;\n emit TrustedPaymasterIdSet(paymasterId, isTrusted);\n }\n }\n\n /**\n * @dev Set a new minimum deposit value.\n * Can only be called by the owner of the contract.\n * @param newMinDeposit The new minimum deposit value to be set.\n */\n function setMinDeposit(uint256 newMinDeposit) external payable onlyOwner {\n emit MinDepositChanged(minDeposit, newMinDeposit);\n minDeposit = newMinDeposit;\n }\n\n /**\n * @dev Set a new fee collector address.\n * Can only be called by the owner of the contract.\n * @param newFeeCollector The new address to be set as the fee collector.\n * @notice If _newFeeCollector is set to zero address, it will revert with an error.\n * After setting the new fee collector address, it will emit an event FeeCollectorChanged.\n */\n function setFeeCollector(address newFeeCollector) external payable override onlyOwner {\n if (_isContract(newFeeCollector)) revert FeeCollectorCanNotBeContract();\n if (newFeeCollector == address(0)) revert FeeCollectorCanNotBeZero();\n address oldFeeCollector = feeCollector;\n feeCollector = newFeeCollector;\n emit FeeCollectorChanged(oldFeeCollector, newFeeCollector, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedGas value.\n * @param value The new value to be set as the unaccountedGas.\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 value) external payable onlyOwner {\n if (value > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldValue = unaccountedGas;\n unaccountedGas = value;\n emit UnaccountedGasChanged(oldValue, value);\n }\n\n /**\n * @dev Override the default implementation.\n */\n function deposit() external payable virtual override {\n revert UseDepositForInstead();\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Submit a withdrawal request for the paymasterId (Dapp Depositor address)\n * @param withdrawAddress address to send the funds to\n * @param amount amount to withdraw\n */\n function submitWithdrawalRequest(address withdrawAddress, uint256 amount) external {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n if (amount == 0) revert CanNotWithdrawZeroAmount();\n uint256 currentBalance = paymasterIdBalances[msg.sender];\n if (amount > currentBalance) revert InsufficientFundsInGasTank();\n _requests[msg.sender] =\n WithdrawalRequest({ amount: amount, to: withdrawAddress, requestSubmittedTimestamp: block.timestamp });\n emit WithdrawalRequestSubmitted(withdrawAddress, amount);\n }\n\n /**\n * @dev Execute a withdrawal request for the paymasterId (Dapp Depositor address)\n * Request must be cleared by the withdrawal delay period\n * @param paymasterId paymasterId (Dapp Depositor address)\n */\n function executeWithdrawalRequest(address paymasterId) external nonReentrant {\n WithdrawalRequest memory req = _requests[paymasterId];\n if (req.requestSubmittedTimestamp == 0) revert NoRequestSubmitted();\n uint256 clearanceTimestamp = req.requestSubmittedTimestamp + _getDelay(paymasterId);\n if (block.timestamp < clearanceTimestamp) revert RequestNotClearedYet(clearanceTimestamp);\n uint256 currentBalance = paymasterIdBalances[paymasterId];\n req.amount = req.amount > currentBalance ? currentBalance : req.amount;\n if(req.amount == 0) revert CanNotWithdrawZeroAmount();\n paymasterIdBalances[paymasterId] = currentBalance - req.amount;\n delete _requests[paymasterId];\n entryPoint.withdrawTo(payable(req.to), req.amount);\n emit GasWithdrawn(paymasterId, req.to, req.amount);\n }\n\n /**\n * @dev Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\n */\n function cancelWithdrawalRequest() external {\n delete _requests[msg.sender];\n emit WithdrawalRequestCancelledFor(msg.sender);\n }\n\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual override {\n (withdrawAddress, amount);\n revert SubmitRequestInstead();\n }\n\n /**\n * @dev get the current deposit for paymasterId (Dapp Depositor address)\n * @param paymasterId dapp identifier\n */\n function getBalance(address paymasterId) external view returns (uint256 balance) {\n balance = paymasterIdBalances[paymasterId];\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n paymasterId,\n validUntil,\n validAfter,\n priceMarkup\n )\n );\n }\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n public\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n )\n {\n unchecked {\n paymasterId = address(bytes20(paymasterAndData[_PAYMASTER_ID_OFFSET:_PAYMASTER_ID_OFFSET + 20]));\n validUntil = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 20:_PAYMASTER_ID_OFFSET + 26]));\n validAfter = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 26:_PAYMASTER_ID_OFFSET + 32]));\n priceMarkup = uint32(bytes4(paymasterAndData[_PAYMASTER_ID_OFFSET + 32:_PAYMASTER_ID_OFFSET + 36]));\n paymasterValidationGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_POSTOP_GAS_OFFSET]));\n paymasterPostOpGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]));\n signature = paymasterAndData[_PAYMASTER_ID_OFFSET + 36:];\n }\n }\n\n /// @notice Performs post-operation tasks, such as deducting the sponsored gas cost from the paymasterId's balance\n /// @dev This function is called after a user operation has been executed or reverted.\n /// @param context The context containing the token amount and user sender address.\n /// @param actualGasCost The actual gas cost of the transaction.\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n {\n (address paymasterId, uint32 priceMarkup, uint256 prechargedAmount) =\n abi.decode(context, (address, uint32, uint256));\n\n // Include unaccountedGas since EP doesn't include this in actualGasCost\n // unaccountedGas = postOpGas + EP overhead gas \n actualGasCost = actualGasCost + (unaccountedGas * actualUserOpFeePerGas);\n // Apply the price markup\n uint256 adjustedGasCost = (actualGasCost * priceMarkup) / _PRICE_DENOMINATOR;\n\n uint256 premium = adjustedGasCost - actualGasCost;\n\n // Add priceMarkup to fee collector balance\n paymasterIdBalances[feeCollector] += premium;\n\n if (prechargedAmount > adjustedGasCost) {\n // If overcharged refund the excess\n paymasterIdBalances[paymasterId] += (prechargedAmount - adjustedGasCost);\n } else {\n // deduct what needs to be deducted from paymasterId\n paymasterIdBalances[paymasterId] -= (adjustedGasCost - prechargedAmount); \n }\n // here adjustedGasCost does not account for gasPenalty. prechargedAmount accounts for penalty with maxGasPenalty\n emit GasBalanceDeducted(paymasterId, adjustedGasCost, premium);\n }\n\n /**\n * @dev verify our external signer signed this request.\n * Adds maxPenalty to the effectiveCost to protect PM.\n * The \"paymasterAndData\" is expected to be the paymaster and a signature over the entire request params.\n * paymasterAndData[:20] : address(this)\n * paymasterAndData[52:72] : paymasterId (dappDepositor)\n * paymasterAndData[72:78] : validUntil\n * paymasterAndData[78:84] : validAfter\n * paymasterAndData[84:88] : priceMarkup\n * paymasterAndData[88:] : signature\n * @param userOp The user operation to validate.\n * @param userOpHash The hash of the user operation.\n * @param requiredPreFund The required pre-fund amount.\n * @return context The context for the paymaster.\n * @return validationData The validation data as per ERC-4337.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 requiredPreFund\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (userOpHash);\n (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n ) = parsePaymasterAndData(userOp.paymasterAndData);\n (paymasterValidationGasLimit, paymasterPostOpGasLimit);\n\n //ECDSA library supports both 64 and 65-byte long signatures.\n // we only \"require\" it here so that the revert reason on invalid signature will be of \"VerifyingPaymaster\", and\n // not \"ECDSA\"\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n if (unaccountedGas > userOp.unpackPostOpGasLimit()) {\n revert PostOpGasLimitTooLow();\n }\n\n bool validSig = (\n (getHash(userOp, paymasterId, validUntil, validAfter, priceMarkup).toEthSignedMessageHash()).tryRecover(\n signature\n )\n ) == verifyingSigner ? true : false;\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n // Send 1e6 for No markup\n if (priceMarkup > 2e6 || priceMarkup < 1e6) {\n revert InvalidPriceMarkup();\n }\n\n // callGasLimit + paymasterPostOpGas\n uint256 maxPenalty = (\n (\n uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 * userOp.unpackMaxFeePerGas()\n ) / 100;\n\n // Deduct the max gas cost.\n uint256 effectiveCost =\n (((requiredPreFund + unaccountedGas * userOp.unpackMaxFeePerGas()) * priceMarkup) / _PRICE_DENOMINATOR);\n\n if (effectiveCost + maxPenalty > paymasterIdBalances[paymasterId]) {\n revert InsufficientFundsForPaymasterId();\n }\n\n paymasterIdBalances[paymasterId] -= (effectiveCost + maxPenalty);\n\n context = abi.encode(paymasterId, priceMarkup, effectiveCost);\n\n // no need for other on-chain validation: entire UserOp should have been checked\n // by the external service prior to signing it.\n return (context, _packValidationData(false, validUntil, validAfter));\n }\n\n function _checkConstructorArgs(\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg\n )\n internal\n view\n {\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n } else if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n } else if (feeCollectorArg == address(0)) {\n revert FeeCollectorCanNotBeZero();\n } else if (_isContract(feeCollectorArg)) {\n revert FeeCollectorCanNotBeContract();\n } else if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n }\n\n function _getDelay(address paymasterId) internal view returns (uint256) {\n if (_trustedPaymasterIds[paymasterId]) return 0;\n return paymasterIdWithdrawalDelay;\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomySponsorshipPaymasterErrors {\n /**\n * @notice Throws when the paymaster address provided is address(0)\n */\n error PaymasterIdCanNotBeZero();\n\n /**\n * @notice Throws when the 0 has been provided as deposit\n */\n error DepositCanNotBeZero();\n\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error FeeCollectorCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n /**\n * @notice Throws when insufficient funds to withdraw\n */\n error InsufficientFunds();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when insufficient funds for paymasterid\n */\n error InsufficientFundsForPaymasterId();\n\n /**\n * @notice Throws when calling deposit()\n */\n error UseDepositForInstead();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw zero amount\n */\n error CanNotWithdrawZeroAmount();\n\n /**\n * @notice Throws when no request has been submitted\n */\n error NoRequestSubmitted();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when postOp gas limit is too low\n */\n error PostOpGasLimitTooLow();\n\n /**\n * @notice Thrown when deposit is too low to reach minDeposit\n */\n error LowDeposit();\n\n /**\n * @notice Thrown when trying to withdraw more than the balance\n */\n error InsufficientFundsInGasTank();\n\n /**\n * @notice Thrown when trying to execute withdrawal request before delay has passed\n */\n error RequestNotClearedYet(uint256 clearanceTime);\n\n /**\n * @notice Thrown when trying to directly withdraw instead of submitting a request\n */\n error SubmitRequestInstead();\n\n /**\n * @notice Thrown when the array lengths are not equal\n */\n error InvalidArrayLengths();\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { PackedUserOperation } from \"account-abstraction/core/UserOperationLib.sol\";\n\ninterface IBiconomySponsorshipPaymaster {\n struct WithdrawalRequest {\n uint256 amount;\n address to;\n uint256 requestSubmittedTimestamp;\n }\n\n event UnaccountedGasChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event FixedPriceMarkupChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event VerifyingSignerChanged(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event GasDeposited(address indexed _paymasterId, uint256 indexed _value);\n event GasWithdrawn(address indexed _paymasterId, address indexed _to, uint256 indexed _value);\n event GasBalanceDeducted(address indexed _paymasterId, uint256 indexed _charge, uint256 indexed _premium);\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event WithdrawalRequestSubmitted(address withdrawAddress, uint256 amount);\n event WithdrawalRequestCancelledFor(address paymasterId);\n event TrustedPaymasterIdSet(address indexed paymasterId, bool isTrusted);\n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n event MinDepositChanged(uint256 indexed oldValue, uint256 indexed newValue);\n\n function depositFor(address paymasterId) external payable;\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setFeeCollector(address newFeeCollector) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function withdrawERC20(IERC20 token, address target, uint256 amount) external;\n\n function withdrawEth(address payable recipient, uint256 amount) external payable;\n\n function getBalance(address paymasterId) external view returns (uint256 balance);\n\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n external\n view\n returns (bytes32);\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n external\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n );\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} diff --git a/scripts/bash-deploy/artifacts/Deployer/Deployer.json b/scripts/bash-deploy/artifacts/Deployer/Deployer.json new file mode 100644 index 0000000..d7da7b3 --- /dev/null +++ b/scripts/bash-deploy/artifacts/Deployer/Deployer.json @@ -0,0 +1 @@ +{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"addressOf","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"event","name":"ContractDeployed","inputs":[{"name":"contractAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"ErrorCreatingContract","inputs":[]},{"type":"error","name":"ErrorCreatingProxy","inputs":[]},{"type":"error","name":"InvalidBytecodeSignature","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"TargetAlreadyExists","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}],"bytecode":{"object":"0x34605f5761085b388190036080601f8201601f19168101906001600160401b03821190821017606357602092829160405260803912605f576080516001600160a01b0381168103605f576050906077565b60405161079590816100c68239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b8060601b1560b8576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3565b637448fbae5f526004601cfdfe60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610439565b610409565b6103c5565b61035d565b61032e565b610304565b6102bb565b610277565b61022e565b346101fc5760603660031901126101fc5760043560243567ffffffffffffffff81116101fc576100e8903690600401610200565b9060443567ffffffffffffffff81116101fc5761010c610124913690600401610200565b906101183686866104b7565b602081519101206104ed565b156101ed576101349136916104b7565b61013c61071e565b91610146816105bd565b92833b6101de576020815191015ff56001600160a01b038116156101cf57815f92918360208194519301915af161017b610759565b501580156101c6575b6101b7576001600160a01b03167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a2005b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101fc5782359167ffffffffffffffff83116101fc57602083818601950101116101fc57565b5f3660031901126101fc5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101fc5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101fc576102ce610563565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101fc575f3660031901126101fc576020638b78c6d819546001600160a01b0360405191168152f35b346101fc5760203660031901126101fc57602061034c6004356105bd565b6001600160a01b0360405191168152f35b346101fc5760403660031901126101fc5760043560243567ffffffffffffffff81116101fc57610394610134913690600401610200565b61039c610563565b36916104b7565b60209060031901126101fc576004356001600160a01b03811681036101fc5790565b6103ce366103a3565b6103d6610563565b63389a75e1600c52805f526020600c2090815442116103fc575f6103fa925561057f565b005b636f5e88185f526004601cfd5b610412366103a3565b61041a610563565b8060601b1561042c576103fa9061057f565b637448fbae5f526004601cfd5b346101fc57610447366103a3565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761049657604052565b610460565b67ffffffffffffffff811161049657601f01601f191660200190565b9291926104c38261049b565b916104d16040519384610474565b8294818452818301116101fc578281602093845f960137010152565b6001600160a01b0392610501818484610683565b638b78c6d8195485169416841461055a576001600160a01b039261054b926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420610683565b1614610555575f90565b600190565b50505050600190565b638b78c6d81954330361057257565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106746001600160a01b0361068092604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261061e607582610474565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610665603782610474565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106de576041146106ac57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106dc57505061069f565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106bb565b6040519061072d604083610474565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d15610783573d9061076a8261049b565b916107786040519384610474565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1242:15:-:0;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;163:1242:15;;;;;;334:52;;;:::i;:::-;163:1242;;;;;;;;;;-1:-1:-1;163:1242:15;;;;;;-1:-1:-1;163:1242:15;;;;;-1:-1:-1;163:1242:15;150:269:16;198:181;;;;;;-1:-1:-1;;;;;5710:347:157;-1:-1:-1;;5710:347:157;;;-1:-1:-1;5710:347:157;-1:-1:-1;;5710:347:157;150:269:16:o;198:181::-;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610439565b610409565b6103c5565b61035d565b61032e565b610304565b6102bb565b610277565b61022e565b346101fc5760603660031901126101fc5760043560243567ffffffffffffffff81116101fc576100e8903690600401610200565b9060443567ffffffffffffffff81116101fc5761010c610124913690600401610200565b906101183686866104b7565b602081519101206104ed565b156101ed576101349136916104b7565b61013c61071e565b91610146816105bd565b92833b6101de576020815191015ff56001600160a01b038116156101cf57815f92918360208194519301915af161017b610759565b501580156101c6575b6101b7576001600160a01b03167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a2005b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101fc5782359167ffffffffffffffff83116101fc57602083818601950101116101fc57565b5f3660031901126101fc5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101fc5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101fc576102ce610563565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101fc575f3660031901126101fc576020638b78c6d819546001600160a01b0360405191168152f35b346101fc5760203660031901126101fc57602061034c6004356105bd565b6001600160a01b0360405191168152f35b346101fc5760403660031901126101fc5760043560243567ffffffffffffffff81116101fc57610394610134913690600401610200565b61039c610563565b36916104b7565b60209060031901126101fc576004356001600160a01b03811681036101fc5790565b6103ce366103a3565b6103d6610563565b63389a75e1600c52805f526020600c2090815442116103fc575f6103fa925561057f565b005b636f5e88185f526004601cfd5b610412366103a3565b61041a610563565b8060601b1561042c576103fa9061057f565b637448fbae5f526004601cfd5b346101fc57610447366103a3565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761049657604052565b610460565b67ffffffffffffffff811161049657601f01601f191660200190565b9291926104c38261049b565b916104d16040519384610474565b8294818452818301116101fc578281602093845f960137010152565b6001600160a01b0392610501818484610683565b638b78c6d8195485169416841461055a576001600160a01b039261054b926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420610683565b1614610555575f90565b600190565b50505050600190565b638b78c6d81954330361057257565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106746001600160a01b0361068092604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261061e607582610474565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610665603782610474565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106de576041146106ac57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106dc57505061069f565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106bb565b6040519061072d604083610474565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d15610783573d9061076a8261049b565b916107786040519384610474565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1242:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;163:1242:15;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;552:33;163:1242;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;513:24;552:33;:::i;:::-;551:34;547:73;;163:1242;;;;;:::i;:::-;;;:::i;:::-;3399:16:14;;;;:::i;:::-;2041:59;;;3425:53;;163:1242:15;3544:181:14;;;;163:1242:15;3544:181:14;-1:-1:-1;;;;;163:1242:15;;3738:19:14;3734:52;;3859:40;163:1242:15;3859:40:14;;;163:1242:15;3859:40:14;;;;;;;;;;:::i;:::-;;3913:8;163:1242:15;;3913:31:14;;163:1242:15;3909:67:14;;-1:-1:-1;;;;;163:1242:15;709:34;163:1242;709:34;;163:1242;3909:67:14;3953:23;;;163:1242:15;3953:23:14;163:1242:15;;3953:23:14;3913:31;2041:59;;;3925:19;3913:31;;3734:52;3766:20;;;163:1242:15;3766:20:14;163:1242:15;;3766:20:14;3425:53;3457:21;;;163:1242:15;3457:21:14;163:1242:15;;3457:21:14;547:73:15;594:26;;;163:1242;594:26;163:1242;;594:26;163:1242;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;163:1242:15;;;;9239:383:157;;;;163:1242:15;9239:383:157;7972:9;9132:15;163:1242:15;9239:383:157;;;;;;163:1242:15;9239:383:157;;163:1242:15;;;;-1:-1:-1;;163:1242:15;;;;9831:339:157;;;;163:1242:15;9831:339:157;163:1242:15;9831:339:157;;;;;;163:1242:15;9831:339:157;;163:1242:15;;;;-1:-1:-1;;163:1242:15;;;;12478:70:157;;:::i;:::-;163:1242:15;6813:405:157;;;;;;;163:1242:15;-1:-1:-1;;6813:405:157;163:1242:15;;;;;;;-1:-1:-1;;163:1242:15;;;;;6813:405:157;;11523:61;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;1055:24;163:1242;;1055:24;:::i;:::-;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;163:1242:15;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;163:1242:15;;;;;;;:::o;:::-;;;;:::i;:::-;12478:70:157;;:::i;:::-;10506:526;;;;;;;;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;:::-;163:1242:15;10506:526:157;;;;163:1242:15;10506:526:157;;163:1242:15;;;;:::i;:::-;12478:70:157;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;8479:183::-;;;;163:1242:15;8479:183:157;;163:1242:15;;;;;;;:::i;:::-;11885:237:157;;;-1:-1:-1;11885:237:157;;;;;;163:1242:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;-1:-1:-1;;163:1242:15;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;163:1242:15;;;;;;:::o;1092:311::-;-1:-1:-1;;;;;1092:311:15;1201:31;;;;;:::i;:::-;-1:-1:-1;;11523:61:157;163:1242:15;;;;1201:42;;1197:71;;-1:-1:-1;;;;;13414:265:158;1282:56:15;13414:265:158;;;;163:1242:15;13414:265:158;;;;1282:56:15;:::i;:::-;163:1242;1282:67;1278:96;;163:1242;1092:311;:::o;1278:96::-;1370:4;1363:11;:::o;1197:71::-;1257:11;;;;1264:4;1257:11;:::o;7292:355:157:-;-1:-1:-1;;7390:251:157;;;;;7292:355::o;7390:251::-;;;;;;;6145:1089;-1:-1:-1;;;;;6813:405:157;;;;;;-1:-1:-1;6813:405:157;;-1:-1:-1;;6813:405:157;6145:1089::o;4973:345:14:-;5140:157;-1:-1:-1;;;;;5115:196:14;4973:345;163:1242:15;;4215:237:14;;;1707:66;;;;;;4314:4;163:1242:15;;1707:66:14;;;163:1242:15;1707:66:14;;;163:1242:15;1707:66:14;;;;163:1242:15;1707:66:14;4215:237;;;;;;:::i;:::-;163:1242:15;4176:302:14;;163:1242:15;;-1:-1:-1;;;4215:237:14;5212:44;;163:1242:15;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;-1:-1:-1;;;163:1242:15;;;;;5212:44:14;;;163:1242:15;;5212:44:14;:::i;:::-;163:1242:15;5202:55:14;;-1:-1:-1;;;;;163:1242:15;;;5140:157:14;-1:-1:-1;;;;;163:1242:15;;;5115:196:14;4973:345;:::o;4336:1373:158:-;;;;;4521:1182;;;;;;;;;;;;;;;;;;163:1242:15;4521:1182:158;;;;;;;;;;;163:1242:15;4521:1182:158;;;;;;163:1242:15;4521:1182:158;;;;163:1242:15;4521:1182:158;;;;;163:1242:15;4521:1182:158;;;;;;;;;;;;4336:1373::o;4521:1182::-;;;;;;;;;;;;;;;;;;;;;;;;163:1242:15;;;;;;;;:::i;:::-;;;;;;;;;:::o;1485:52:14:-;;;;;;163:1242:15;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1485:52:14;-1:-1:-1;1485:52:14;;;;:::o;:::-;;;:::o","linkReferences":{}},"methodIdentifiers":{"addressOf(bytes32)":"bb34534c","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deploy(bytes32,bytes)":"cdcb760a","deploy(bytes32,bytes,bytes)":"19cdeff1","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBytecodeSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"addressOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/utils/Deployer.sol\":\"Deployer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/utils/Create3.sol\":{\"keccak256\":\"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181\",\"dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr\"]},\"contracts/utils/Deployer.sol\":{\"keccak256\":\"0x926631fd82bcb71dfa4ac03c56165e65bd55d5b63fe02dc4cc49311f6e74d235\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://a2b38b77517e199412f23de53ad22af39c75e130a1bd8f716379891d8b307e5d\",\"dweb:/ipfs/QmRUcZR3MsPXpqXmrmkfrNHf3ZRvpNzxRt7bSoR1SwxTdS\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"ErrorCreatingContract"},{"inputs":[],"type":"error","name":"ErrorCreatingProxy"},{"inputs":[],"type":"error","name":"InvalidBytecodeSignature"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"TargetAlreadyExists"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address","indexed":true}],"type":"event","name":"ContractDeployed","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"stateMutability":"view","type":"function","name":"addressOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy"},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/utils/Deployer.sol":"Deployer"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/utils/Create3.sol":{"keccak256":"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41","urls":["bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181","dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr"],"license":"Unlicense"},"contracts/utils/Deployer.sol":{"keccak256":"0x926631fd82bcb71dfa4ac03c56165e65bd55d5b63fe02dc4cc49311f6e74d235","urls":["bzz-raw://a2b38b77517e199412f23de53ad22af39c75e130a1bd8f716379891d8b307e5d","dweb:/ipfs/QmRUcZR3MsPXpqXmrmkfrNHf3ZRvpNzxRt7bSoR1SwxTdS"],"license":"Unlicense"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"}},"version":1},"id":15} \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh new file mode 100644 index 0000000..1e5ef52 --- /dev/null +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -0,0 +1,117 @@ +#!/bin/bash + +### VERIFY INPUTS ### +printMan() { + printf "Usage: $0 \n" +} + +if [ $# -eq 0 ]; then + printf "Please provide private key, environment and network name\n" + printMan + exit 1 +fi + +if [ -z $1 ]; then + printf "Please provide environment\n" + printMan + exit 1 +fi + +ENVIRONMENT=$1 +VERIFY="" + +if [ $ENVIRONMENT = "local" ]; then + CHAIN_NAME="localhost" +else + if [ $ENVIRONMENT = "mainnet" ] || [ $ENVIRONMENT = "testnet" ]; then + if [ -z $2 ]; then + printf "Please provide network name\n" + printMan + exit 1 + fi + CHAIN_NAME=$2 + VERIFY="--verify" + else + printf "Invalid environment\n" + printMan + exit 1 + fi +fi + +source ../../.env + +# set private key based on the environment +if [ $ENVIRONMENT = "mainnet" ]; then + PRIVATE_KEY=$MAINNET_DEPLOYER_PRIVATE_KEY +else + if [ $ENVIRONMENT = "testnet" ]; then + PRIVATE_KEY=$TESTNET_DEPLOYER_PRIVATE_KEY + else + PRIVATE_KEY=$LOCAL_DEPLOYER_PRIVATE_KEY + fi +fi + +### DEPLOY PRE-REQUISITES ### +{ (bash deploy-prerequisites.sh $PRIVATE_KEY $ENVIRONMENT $CHAIN_NAME) } || { + printf "Deployment prerequisites failed\n" + exit 1 +} + +### COPY ARTIFACTS ### +read -r -p "Do you want to rebuild GasDaddy artifacts from your local sources? (y/n): " proceed +if [ $proceed = "y" ]; then + ### BUILD ARTIFACTS ### + printf "Building GasDaddy artifacts\n" + { (forge build 1> ./logs/forge-build.log 2> ./logs/forge-build-errors.log) } || { + printf "Build failed\n See logs for more details\n" + exit 1 + } + printf "Copying Paymasters artifacts\n" + mkdir -p ./artifacts/BiconomySponsorshipPaymaster + + cp ../../out/BiconomySponsorshipPaymaster.sol/BiconomySponsorshipPaymaster.json ./artifacts/BiconomySponsorshipPaymaster/. + + printf "Artifacts copied\n" + + ### CREATE VERIFICATION ARTIFACTS ### + printf "Creating verification artifacts\n" + + forge verify-contract --show-standard-json-input $(cast address-zero) BiconomySponsorshipPaymaster > ./artifacts/BiconomySponsorshipPaymaster/verify.json + +else + printf "Using precompiled artifacts\n" +fi + +### DEPLOY GASDADDY SCs ### +printf "Addresses for Paymaster SCs:\n" +forge script DeployGasdaddy true --sig "run(bool)" --rpc-url $CHAIN_NAME -vv | grep -e "address" -e "already deployed" +printf "Do you want to proceed with the addresses above? (y/n): " +read -r proceed +if [ $proceed = "y" ]; then + printf "Do you want to specify gas price? (y/n): " + read -r proceed + if [ $proceed = "y" ]; then + printf "Enter gas prices args: \n For the EIP-1559 chains, enter two args: base fee and priority fee in gwei\n For the legacy chains, enter one argument. \n Example eip-1559: 20 1 \n Example legacy: 20 \n" + read -r -a GAS_ARGS + if [ ${#GAS_ARGS[@]} -eq 2 ]; then + GAS_SUFFIX="--with-gas-price ${GAS_ARGS[0]}gwei --priority-gas-price ${GAS_ARGS[1]}gwei" + else + GAS_SUFFIX="--with-gas-price ${GAS_ARGS[0]}gwei" + fi + else + GAS_SUFFIX="" + fi + { + printf "Proceeding with deployment \n" + mkdir -p ./logs/$CHAIN_NAME + forge script DeployGasdaddy false --sig "run(bool)" --rpc-url $CHAIN_NAME --etherscan-api-key $CHAIN_NAME --private-key $PRIVATE_KEY $VERIFY -vv --broadcast --slow $GAS_SUFFIX 1> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log 2> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy-errors.log + } || { + printf "Deployment failed\n See logs for more details\n" + exit 1 + } + printf "Deployment successful\n" + cat ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log | grep "deployed at" +else + printf "Exiting\n" + exit 1 +fi \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-prerequisites.sh b/scripts/bash-deploy/deploy-prerequisites.sh new file mode 100644 index 0000000..c704fb2 --- /dev/null +++ b/scripts/bash-deploy/deploy-prerequisites.sh @@ -0,0 +1,157 @@ +#!/bin/bash + +## Checks and deploys if not deployed: +# - Deterministic deployer (Create2 Factory) https://github.com/Arachnid/deterministic-deployment-proxy +# - Entry Point v0.7 https://github.com/eth-infinitism/account-abstraction/releases/tag/v0.7.0 +# - Create3 Deployer + +printMan() { + printf "Usage: $0 \n" +} + +# Check if a contract name is provided +if [ $# -eq 0 ]; then + printf "Please provide private key, environment and network name\n" + printMan + exit 1 +fi + +# Check if the private key is provided +if [ -z $1 ]; then + printf "Please provide private key\n" + printMan + exit 1 +fi + +# Check if the environment is provided +if [ -z $2 ]; then + printf "Please provide environment\n" + printMan + exit 1 +fi + +source ../../.env + +PRIVATE_KEY=$1 +ENVIRONMENT=$2 +CHAIN_NAME=$3 + +#print environment +printf "Environment: $ENVIRONMENT\n" + +# local environment +if [ $ENVIRONMENT == "local" ]; then + CHAIN_NAME="localhost" + { # try + printf "Network: $CHAIN_NAME\n" + printf "Chain ID: " + #echo is all good, otherwise hide error msg + cast chain-id --rpc-url $CHAIN_NAME 2> /dev/null + } || { # catch + printf "Can not connect to the network provided\n" + exit 64 + } + VERIFY="" +else + # mainnet or testnet environment + if [ $ENVIRONMENT = "mainnet" ] || [ $ENVIRONMENT = "testnet" ]; then + # check if network name is provided correctly + if [ -z $CHAIN_NAME ]; then + # empty network name + printf "Please provide a network name (should be configured in foundry.toml)\n" + printMan + exit 1 + else + #try to connect to the RPC + { # try + printf "Network: $CHAIN_NAME\n" + printf "Chain ID: " + #echo is all good, otherwise hide error msg + cast chain-id --rpc-url $CHAIN_NAME 2> /dev/null + } || { # catch + printf "Can not connect to the network provided\n" + exit 64 + } + fi + VERIFY="--verify" + # invalid environment argument + else + printf "Invalid environment\n" + exit 64 + fi +fi + +### Create2 Factory ### + +CREATE2_FACTORY_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x4e59b44847b379578588920ca78fbf26c0b4956c) +#printf "CREATE2 FACTORY Codesize: $CREATE2_FACTORY_SIZE\n" + +if [ $CREATE2_FACTORY_SIZE -eq 0 ]; then + printf "Create2 factory is not deployed, trying to deploy...\n" + printf "Funding deployer...\n" + cast send 0x3fAB184622Dc19b6109349B94811493BF2a45362 --rpc-url $CHAIN_NAME --private-key $PRIVATE_KEY --value 0.007ether | grep 'status' + printf "Deploying Create2 factory...\n" + cast publish --rpc-url $CHAIN_NAME 0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222 > /dev/null + CREATE2_FACTORY_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x4e59b44847b379578588920ca78fbf26c0b4956c) + if [ $CREATE2_FACTORY_SIZE -eq 69 ]; then + printf "Create2 factory deployed successfully\n" + else + printf "Create2 factory deployment failed\n" + exit 64 + fi +else + printf "Create2 factory has already been deployed\n" +fi + +### Entry Point ### + +EP_V07_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x0000000071727De22E5E9d8BAf0edAc6f37da032) +#printf "EP Codesize: $EP_V07_SIZE\n" + +if [ $EP_V07_SIZE -eq 0 ]; then + printf "Entry point is not deployed, trying to deploy...\n" + cast send --rpc-url $CHAIN_NAME 0x4e59b44847b379578588920ca78fbf26c0b4956c --private-key $PRIVATE_KEY $EP_V07_DEPLOY_TX_DATA > /dev/null + EP_V07_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x0000000071727De22E5E9d8BAf0edAc6f37da032) + if [ $EP_V07_SIZE -eq 0 ]; then + printf "EP v0.7 deployment failed\n" + exit 64 + else + printf "EP v0.7 deployed successfully\n" + fi +else + printf "Entry point has already been deployed\n" +fi + +### Create3 Deployer ### + +CREATE3_DEPLOYER_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x0000007EC036cf611B5877d698c62297012a097E) +# printf "CREATE3 DEPLOYER Codesize: $CREATE3_DEPLOYER_SIZE\n" + +if [ $CREATE3_DEPLOYER_SIZE -eq 0 ]; then + printf "Create3 deployer is not deployed, trying to deploy...\n" + mkdir -p ./artifacts/Deployer + mkdir -p ./logs/$CHAIN_NAME + + read -r -p "Do you want to rebuild create3 deployer? (y/n)" REBUILD + if [ $REBUILD = "y" ]; then + printf "Rebuilding create3 deployer artifacts...\n" + forge build + cp ../../out/Deployer.sol/Deployer.json ./artifacts/Deployer/. + else + printf "Using existing create3 deployer artifacts\n" + fi + + printf "Deploying create3 deployer...\n" + { + forge script DeployDeployer --rpc-url $CHAIN_NAME --private-key $PRIVATE_KEY --etherscan-api-key $CHAIN_NAME --broadcast --slow $VERIFY 1> ./logs/$CHAIN_NAME/deploy-deployer.log 2> ./logs/$CHAIN_NAME/deploy-deployer-errors.log + } || { + printf "Create3 deployer deployment failed\n" + exit 64 + } + + printf "Create3 deployer deployed successfully\n" + cat ./logs/$CHAIN_NAME/deploy-deployer.log | grep "Deployer deployed at" +else + printf "Create3 deployer has already been deployed\n" +fi + diff --git a/scripts/foundry/Base.s.sol b/scripts/foundry/Base.s.sol deleted file mode 100644 index fbea7c0..0000000 --- a/scripts/foundry/Base.s.sol +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.8.23 <0.9.0; - -import { Script } from "forge-std/Script.sol"; - -abstract contract BaseScript is Script { - /// @dev Included to enable compilation of the script without a $MNEMONIC environment variable. - string internal constant TEST_MNEMONIC = "test test test test test test test test test test test junk"; - - /// @dev Needed for the deterministic deployments. - bytes32 internal constant ZERO_SALT = bytes32(0); - - /// @dev The address of the transaction broadcaster. - address internal broadcaster; - - /// @dev Used to derive the broadcaster's address if $ETH_FROM is not defined. - string internal mnemonic; - - /// @dev Initializes the transaction broadcaster like this: - /// - /// - If $ETH_FROM is defined, use it. - /// - Otherwise, derive the broadcaster address from $MNEMONIC. - /// - If $MNEMONIC is not defined, default to a test mnemonic. - /// - /// The use case for $ETH_FROM is to specify the broadcaster key and its address via the command line. - constructor() { - address from = vm.envOr({ name: "ETH_FROM", defaultValue: address(0) }); - if (from != address(0)) { - broadcaster = from; - } else { - mnemonic = vm.envOr({ name: "MNEMONIC", defaultValue: TEST_MNEMONIC }); - (broadcaster,) = deriveRememberKey({ mnemonic: mnemonic, index: 0 }); - } - } - - modifier broadcast() { - vm.startBroadcast(broadcaster); - _; - vm.stopBroadcast(); - } -} diff --git a/scripts/foundry/DeployDeployer.s.sol b/scripts/foundry/DeployDeployer.s.sol new file mode 100644 index 0000000..2cb1b41 --- /dev/null +++ b/scripts/foundry/DeployDeployer.s.sol @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.13; + +import {Script, console} from "forge-std/Script.sol"; +import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; + +contract DeployDeployer is Script { + + bytes32 constant CREATE3_DEPLOYER_DEPLOYMENT_SALT = 0x00000000000000000000000000000000000000005328f95dfa58cf03e311ce44; + address constant DEPLOYER_OWNER = 0x336A8f5251F3b0723d04FBDD25858fca02BB22E3; + bytes32 constant DEPLOYER_BYTECODE_HASH = 0x2b2eaf7fbe1e33745154ad0e5e3e0dc0f415dc619e233ee0a317a9c1e7d53657; + + function setUp() public {} + + function run() public returns (address) { + bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/Deployer/Deployer.json"); + bytes memory args = abi.encode(DEPLOYER_OWNER); + + address expectedDeployer = DeterministicDeployerLib.computeAddress(bytecode, args, CREATE3_DEPLOYER_DEPLOYMENT_SALT); + + // initcode hash to look for the salt + // console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + + bytes32 deployerBytecodeHash; + uint256 codeLength; + + assembly { + codeLength := extcodesize(expectedDeployer) + deployerBytecodeHash := extcodehash(expectedDeployer) + } + + //console.logBytes32(deployerBytecodeHash); + //console.log("Size", codeLength); + + if (codeLength != 0) { + if (deployerBytecodeHash != DEPLOYER_BYTECODE_HASH) { + revert("Deployer bytecode hash mismatch"); + } + console.log("Deployer deployed at", expectedDeployer); + return expectedDeployer; + } + + address deployedDeployer = DeterministicDeployerLib.broadcastDeploy(bytecode, args, CREATE3_DEPLOYER_DEPLOYMENT_SALT); + + assembly { + codeLength := extcodesize(deployedDeployer) + } + + //console.log("Expected deployer address", expectedDeployer); + //console.log("Deployed deployer address", deployedDeployer); + + if (deployedDeployer == expectedDeployer && codeLength > 0) { + console.log("Deployer deployed at", deployedDeployer); + } else { + revert("Deployer deployment failed"); + } + return deployedDeployer; + } +} diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol new file mode 100644 index 0000000..e41e83b --- /dev/null +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -0,0 +1,78 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.13; + +import {Script, console} from "forge-std/Script.sol"; +import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; + +contract DeployGasdaddy is Script { + // SALTS + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x0000000000000000000000000000000000000000000000000000000000000000; + + // CONSTRUCTOR ARGS + address constant VERIFYING_PAYMASTER_OWNER = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; + address constant VERIFYING_SIGNER = 0xC6dAB8652E5E9749523bA948F42d5944584E4e73; + address constant FEE_COLLECTOR = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; + uint256 constant UNACCOUNTED_GAS = 50_000; + uint256 constant PAYMASTER_ID_WITHDRAWAL_DELAY = 3600; // 1 hour + uint256 constant MIN_DEPOSIT = 1e15; + address constant ENTRY_POINT_V07 = 0x0000000071727De22E5E9d8BAf0edAc6f37da032; + + + function setUp() public {} + + function run(bool check) public { + if (check) { + checkGasDaddyAddresses(); + } else { + deployGasDaddy(); + } + } + + function checkGasDaddyAddresses() public { + bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); + bytes memory args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + ENTRY_POINT_V07, + VERIFYING_SIGNER, + FEE_COLLECTOR, + UNACCOUNTED_GAS, + PAYMASTER_ID_WITHDRAWAL_DELAY, + MIN_DEPOSIT + ); + address sponsorshipPM = DeterministicDeployerLib.computeAddress(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + + uint256 codeSize; + assembly { + codeSize := extcodesize(sponsorshipPM) + } + + console.log("Sponsorship Paymaster address: ", sponsorshipPM, " || >> Code Size: ", codeSize); + + //inicode hash to look for the salt + console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + } + + function deployGasDaddy() public { + bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); + bytes memory args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + ENTRY_POINT_V07, + VERIFYING_SIGNER, + FEE_COLLECTOR, + UNACCOUNTED_GAS, + PAYMASTER_ID_WITHDRAWAL_DELAY, + MIN_DEPOSIT + ); + address sponsorshipPM = DeterministicDeployerLib.computeAddress(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + uint256 codeSize; + assembly { + codeSize := extcodesize(sponsorshipPM) + } + if (codeSize > 0) { + console.log("Sponsorship Paymaster already deployed at", sponsorshipPM); + } else { + sponsorshipPM = DeterministicDeployerLib.broadcastDeploy(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + console.log("Sponsorship Paymaster deployed at", sponsorshipPM); + } + } +} diff --git a/scripts/foundry/utils/DeterministicDeployerLib.sol b/scripts/foundry/utils/DeterministicDeployerLib.sol new file mode 100644 index 0000000..30cff45 --- /dev/null +++ b/scripts/foundry/utils/DeterministicDeployerLib.sol @@ -0,0 +1,93 @@ +// SPDX-License-Identifier: UNLICENSED + +pragma solidity ^0.8.0; + +import {VmSafe} from "forge-std/Vm.sol"; + +/// @notice Library for deploying contracts using Deterministic Deployer +/// @dev forked from Wilson Cusack's https://github.com/wilsoncusack/safe-singleton-deployer-sol +library DeterministicDeployerLib { + error DeployFailed(); + + address constant DETERMINISTIC_DEPLOYER = 0x4e59b44847b379578588920cA78FbF26c0B4956C; + VmSafe private constant VM = VmSafe(address(uint160(uint256(keccak256("hevm cheat code"))))); + + function computeAddress(bytes memory creationCode, bytes32 salt) internal pure returns (address) { + return computeAddress(creationCode, "", salt); + } + + function computeAddress(bytes memory creationCode, bytes memory args, bytes32 salt) internal pure returns (address) { + return VM.computeCreate2Address({ + salt: salt, + initCodeHash: _hashInitCode(creationCode, args), + deployer: DETERMINISTIC_DEPLOYER + }); + } + + function broadcastDeploy(bytes memory creationCode, bytes memory args, bytes32 salt) internal returns (address) { + VM.broadcast(); + return _deploy(creationCode, args, salt); + } + + function broadcastDeploy(bytes memory creationCode, bytes32 salt) internal returns (address) { + VM.broadcast(); + return _deploy(creationCode, "", salt); + } + + function broadcastDeploy(address deployer, bytes memory creationCode, bytes memory args, bytes32 salt) + internal + returns (address) + { + VM.broadcast(deployer); + return _deploy(creationCode, args, salt); + } + + function broadcastDeploy(address deployer, bytes memory creationCode, bytes32 salt) internal returns (address) { + VM.broadcast(deployer); + return _deploy(creationCode, "", salt); + } + + function broadcastDeploy(uint256 deployerPrivateKey, bytes memory creationCode, bytes memory args, bytes32 salt) + internal + returns (address) + { + VM.broadcast(deployerPrivateKey); + return _deploy(creationCode, args, salt); + } + + function broadcastDeploy(uint256 deployerPrivateKey, bytes memory creationCode, bytes32 salt) + internal + returns (address) + { + VM.broadcast(deployerPrivateKey); + return _deploy(creationCode, "", salt); + } + + /// @dev Allows calling without Forge broadcast + function deploy(bytes memory creationCode, bytes memory args, bytes32 salt) internal returns (address) { + return _deploy(creationCode, args, salt); + } + + /// @dev Allows calling without Forge broadcast + function deploy(bytes memory creationCode, bytes32 salt) internal returns (address) { + return _deploy(creationCode, "", salt); + } + + function _deploy(bytes memory creationCode, bytes memory args, bytes32 salt) private returns (address) { + bytes memory callData = abi.encodePacked(salt, creationCode, args); + + (bool success, bytes memory result) = DETERMINISTIC_DEPLOYER.call(callData); + + if (!success) { + // contract does not pass on revert reason + // https://github.com/Arachnid/deterministic-deployment-proxy/blob/master/source/deterministic-deployment-proxy.yul#L13 + revert DeployFailed(); + } + + return address(bytes20(result)); + } + + function _hashInitCode(bytes memory creationCode, bytes memory args) private pure returns (bytes32) { + return keccak256(abi.encodePacked(creationCode, args)); + } +} \ No newline at end of file From 1b4cf38f639a2507f5b4c4d8305d52957f2b2392 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Tue, 10 Dec 2024 17:28:35 +0300 Subject: [PATCH 03/16] deployment script --- contracts/base/BasePaymaster.sol | 4 ++ .../BiconomySponsorshipPaymaster.sol | 8 ++++ contracts/utils/Deployer.sol | 8 ++-- .../BiconomySponsorshipPaymaster.json | 2 +- .../BiconomySponsorshipPaymaster/verify.json | 2 +- .../artifacts/Deployer/Deployer.json | 2 +- scripts/bash-deploy/deploy-gasdaddy.sh | 2 +- scripts/bash-deploy/deploy-prerequisites.sh | 4 +- scripts/foundry/DeployDeployer.s.sol | 6 +-- scripts/foundry/DeployGasdaddy.s.sol | 37 +++++++++++++++---- 10 files changed, 55 insertions(+), 20 deletions(-) diff --git a/contracts/base/BasePaymaster.sol b/contracts/base/BasePaymaster.sol index ac83820..e68a96e 100644 --- a/contracts/base/BasePaymaster.sol +++ b/contracts/base/BasePaymaster.sol @@ -8,6 +8,9 @@ import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import { IPaymaster } from "account-abstraction/interfaces/IPaymaster.sol"; import { IEntryPoint } from "account-abstraction/interfaces/IEntryPoint.sol"; import "account-abstraction/core/UserOperationLib.sol"; + +import {console} from "forge-std/console.sol"; + /** * Helper class for creating a paymaster. * provides helper methods for staking. @@ -22,6 +25,7 @@ abstract contract BasePaymaster is IPaymaster, SoladyOwnable { uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET; constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) { + console.log("0-0"); _validateEntryPointInterface(entryPointArg); entryPoint = entryPointArg; } diff --git a/contracts/sponsorship/BiconomySponsorshipPaymaster.sol b/contracts/sponsorship/BiconomySponsorshipPaymaster.sol index 19a11aa..bf5d99a 100644 --- a/contracts/sponsorship/BiconomySponsorshipPaymaster.sol +++ b/contracts/sponsorship/BiconomySponsorshipPaymaster.sol @@ -14,6 +14,8 @@ import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeTransferLib } from "solady/utils/SafeTransferLib.sol"; import { IBiconomySponsorshipPaymaster } from "../interfaces/IBiconomySponsorshipPaymaster.sol"; +import {console} from "forge-std/console.sol"; + /** * @title BiconomySponsorshipPaymaster * @author livingrockrises @@ -65,13 +67,19 @@ contract BiconomySponsorshipPaymaster is ) BasePaymaster(owner, entryPointArg) { + console.log("0"); _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg); + console.log("1"); assembly ("memory-safe") { sstore(verifyingSigner.slot, verifyingSignerArg) } + console.log("2"); feeCollector = feeCollectorArg; + console.log("3"); unaccountedGas = unaccountedGasArg; + console.log("4"); paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg; + console.log("5"); minDeposit = minDepositArg; } diff --git a/contracts/utils/Deployer.sol b/contracts/utils/Deployer.sol index eeeaff2..9460075 100644 --- a/contracts/utils/Deployer.sol +++ b/contracts/utils/Deployer.sol @@ -13,15 +13,15 @@ contract Deployer is SoladyOwnable { constructor(address _owner) SoladyOwnable(_owner) {} - function deploy(bytes32 _salt, bytes calldata _creationCode, bytes calldata signature) external { + function deploy(bytes32 _salt, bytes calldata _creationCode, bytes calldata signature) external returns (address deployedContract) { bytes32 hash = keccak256(_creationCode); if (!_verifySignature(hash, signature)) revert InvalidBytecodeSignature(); - address deployedContract = Create3.create3(_salt, _creationCode); + deployedContract = Create3.create3(_salt, _creationCode); emit ContractDeployed(deployedContract); } - function deploy(bytes32 _salt, bytes calldata _creationCode) onlyOwner external { - address deployedContract = Create3.create3(_salt, _creationCode); + function deploy(bytes32 _salt, bytes calldata _creationCode) onlyOwner external returns (address deployedContract) { + deployedContract = Create3.create3(_salt, _creationCode); emit ContractDeployed(deployedContract); } diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json index a89ee1d..87807b8 100644 --- a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0611f96803803809161001c826100b9565b60a039126100b55761006c60a05161003381610116565b60c05161003f81610116565b60e05161004b81610116565b6101005161005881610116565b610120519161014051936101605195610127565b604051611c6690816103308239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b60a0601f91909101601f19168101906001600160401b038211908210176100df57604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176100df57604052565b6001600160a01b038116036100b557565b95949291959390938060601b15610240576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b6004820152916020836024816001600160a01b0389165afa90811561023557610204976101ff966101c36101f5946101fa975f91610206575b506102e3565b6080526101d184838361024d565b5f55600180546001600160a01b0319166001600160a01b0392909216919091179055565b600255565b600355565b600455565b565b610228915060203d60201161022e575b61022081836100f3565b8101906102cb565b5f6101bd565b503d610216565b6040513d5f823e3d90fd5b637448fbae5f526004601cfd5b6001600160a01b03811661026a576381618de160e01b5f5260045ffd5b3b1561027f5763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661029c57633fd0943d60e11b5f5260045ffd5b3b156102b157631f47525f60e21b5f5260045ffd5b620186a0106102bc57565b63313db2a560e11b5f5260045ffd5b908160209103126100b5575180151581036100b55790565b156102ea57565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:10:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:10;;;;;-1:-1:-1;1529:19054:10;;;;;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1529:19054:10;;;;;:::o;2588:694::-;;;;;;;;;198:181:16;;;;;;-1:-1:-1;;;;;5710:347:157;-1:-1:-1;;5710:347:157;;;-1:-1:-1;5710:347:157;-1:-1:-1;;5710:347:157;1529:19054:10;;-1:-1:-1;;;3842:80:0;;-1:-1:-1;;;3842:80:0;;;1529:19054:10;;;;3842:80:0;1529:19054:10;-1:-1:-1;;;;;1529:19054:10;;3842:80:0;;;;;;;3249:26:10;3842:80:0;3181:58:10;3842:80:0;3821:157;3097:30:10;3842:80:0;3137:34:10;3842:80:0;-1:-1:-1;3842:80:0;;;2588:694:10;3821:157:0;;:::i;:::-;1158:26;;2963:17:10;;;;;:::i;:::-;-1:-1:-1;2991:97:10;1529:19054;;;-1:-1:-1;;;;;;1529:19054:10;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;3097:30;3137:34;1529:19054;;3137:34;3181:58;1529:19054;;3181:58;3842:80:0;1529:19054:10;;3249:26;2588:694::o;3842:80:0:-;;;;1529:19054:10;3842:80:0;1529:19054:10;3842:80:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1529:19054:10;;;-1:-1:-1;1529:19054:10;;;;;198:181:16;;;;;;;19381:708:10;-1:-1:-1;;;;;1529:19054:10;;;;19625:29;;;19600:1;19625:29;;19600:1;19625:29;19566:517;6220:74:0;6310:8;19675:31:10;;19729:33;;;19600:1;19729:33;;19600:1;19729:33;19671:412;-1:-1:-1;;;;;1529:19054:10;;;;19835:26;;;19600:1;19835:26;;19600:1;19835:26;19779:304;6220:74:0;6310:8;19882:28:10;;19933:30;;;19600:1;19933:30;;19600:1;19933:30;19878:205;2371:7;-1:-1:-1;19980:103:10;;19381:708::o;19980:103::-;20049:23;;;19600:1;20049:23;;19600:1;20049:23;1529:19054;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1529:19054:10;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:10:-:0;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;;3351:9;1529:19054;;3330:31;1529:19054;3339:10;3330:31;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;11885:237:157;;;;;1529:19054:10;11885:237:157;;;;1529:19054:10;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:157;;;:::i;:::-;5431:37:10;;;5427:71;;5513:9;5524:23;;;;;;1529:19054;;;5549:3;5608:10;;;;;:::i;:::-;1529:19054;5588:15;;;;;;:::i;:::-;1529:19054;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;5568:19;1529:19054;;5568:50;1529:19054;;;;;;5568:50;:::i;:::-;1529:19054;;;5513:9;;1529:19054;;;;5427:71;-1:-1:-1;;;5477:21:10;;1529:19054;5477:21;;1529:19054;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;-1:-1:-1;;;;;1529:19054:10;;:::i;:::-;;;;11357:19;1529:19054;;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1529:19054:10;;8479:183:157;;;;1529:19054:10;8479:183:157;;1529:19054:10;;;;;;;;;;;;;;1935:41;1529:19054;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;10506:526;;;;;;1529:19054:10;10506:526:157;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1529:19054:10;10506:526:157;;1529:19054:10;;;;;;;;;;;;;10560:10;1529:19054;;10550:9;1529:19054;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;10586:41;1529:19054;;;10560:10;1529:19054;;10586:41;1529:19054;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8070:22:10;;1529:19054;;8070:22;1529:19054;;;;;;;;;;;;;;-1:-1:-1;;;;;1867:27:10;1529:19054;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3568:35:0;;3597:4;1529:19054:10;3568:35:0;;1529:19054:10;;;3568:35:0;1529:19054:10;3568:10:0;-1:-1:-1;;;;;1529:19054:10;3568:35:0;;;;;;;;;;;1529:19054:10;;;;;;;;;3568:35:0;;;1529:19054:10;3568:35:0;;1529:19054:10;3568:35:0;;;;;;1529:19054:10;3568:35:0;;;:::i;:::-;;;1529:19054:10;;;;;;;;3568:35:0;;;;;;-1:-1:-1;3568:35:0;;;1529:19054:10;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;-1:-1:-1;;;;;2106:10:0;1529:19054:10;2106:41:0;;;;;;-1:-1:-1;;;;;2106:41:0;1529:19054:10;;;;;;;;;;;;;2106:41:0;;1529:19054:10;;2106:41:0;;1529:19054:10;2106:41:0;;;;;;;;1529:19054:10;;2106:41:0;;;;;:::i;:::-;1529:19054:10;;2106:41:0;1529:19054:10;2106:41:0;1529:19054:10;;;;;;;;;;;;;;;;12478:70:157;;:::i;:::-;1769:10:0;-1:-1:-1;;;;;1769:10:0;1529:19054:10;1769:24:0;;;;;1529:19054:10;;;;;;;;;;;;;1769:24:0;;;;;;;;;;1529:19054:10;;1769:24:0;1529:19054:10;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;656:39:0;1529:19054:10;;;;;;;;;;;;;;;;;;1900:29;1529:19054;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;-1:-1:-1;;;;;1529:19054:10;;:::i;:::-;1181:103:56;;:::i;:::-;1529:19054:10;3686:25;;3682:63;;3759:9;:14;3755:48;;1529:19054;;;3817:19;1529:19054;;3817:44;3759:9;1529:19054;;;;3817:44;:::i;:::-;1529:19054;;-1:-1:-1;3813:82:10;;1529:19054;;;3817:19;1529:19054;;;;;3905:45;3759:9;1529:19054;;3905:45;:::i;:::-;1529:19054;;3960:10;-1:-1:-1;;;;;3960:10:10;1529:19054;3960:55;;;;;1529:19054;3960:55;1529:19054;;;;;;;;;;3960:55;;4009:4;1529:19054;3960:55;;1529:19054;3759:9;3960:55;;;;;;;;;1529:19054;3759:9;;;4030:36;;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;3960:55;;;;;:::i;:::-;1529:19054;;3960:55;;;;3813:82;-1:-1:-1;;;3883:12:10;;1529:19054;3883:12;;3755:48;-1:-1:-1;;;3782:21:10;;1529:19054;3782:21;;3682:63;-1:-1:-1;;;3720:25:10;;1529:19054;6030:25;3720;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;6220:74:0;;7105:71:10;;-1:-1:-1;;;;;1529:19054:10;7190:29;;7186:68;;7290:12;1529:19054;;;-1:-1:-1;;1529:19054:10;;;7290:12;1529:19054;-1:-1:-1;;;;;7411:10:10;1529:19054;;7357:65;;;;1529:19054;;7186:68;-1:-1:-1;;;7228:26:10;;1529:19054;7228:26;;7105:71;-1:-1:-1;;;7146:30:10;;1529:19054;7146:30;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;12478:70:157;;:::i;:::-;1529:19054:10;;;6537:44;;;;1529:19054;;;;;;;;;;;;;;;;;;6813:405:157;;11523:61;-1:-1:-1;;;;;1529:19054:10;;;;;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:157;;;:::i;:::-;1529:19054:10;5996:25;;;5992:63;;1529:19054;;;6069:20;1529:19054;;;;;;;;;;;6069:46;6065:186;;1529:19054;;;6065:186;1529:19054;6195:45;1529:19054;;;;6069:20;1529:19054;;;;;;;;;;;;;;;;;;;;;6195:45;6065:186;;1529:19054;;;5992:63;-1:-1:-1;;;6030:25:10;;1529:19054;6030:25;;1529:19054;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2191:298:0;;;;;;:::i;:::-;14714:47:10;;1529:19054;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;15131:31;2134:3;15053:27;14926:56;14943:38;1529:19054;;14943:14;1529:19054;14943:38;:::i;:::-;1529:19054;;14926:56;:::i;:::-;15053:27;;;:::i;:::-;1529:19054;15131:31;;;:::i;:::-;1529:19054;-1:-1:-1;;;;;1529:19054:10;;;;;15225:19;1529:19054;;;;;15225:44;1529:19054;;;15225:44;:::i;:::-;1529:19054;;15284:34;;;;;;;15419;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15382:72;1529:19054;;;;;;15382:72;:::i;:::-;1529:19054;;15280:369;15785:57;;;;1529:19054;;15280:369;15587:34;;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15550:72;1529:19054;;;;;;15550:72;:::i;:::-;1529:19054;;15280:369;;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;12478:70:157;;:::i;:::-;2371:7:10;7708:30;;7704:91;;7823:14;1529:19054;;7823:14;1529:19054;7884:38;;;;1529:19054;;7704:91;-1:-1:-1;;;7761:23:10;;1529:19054;7761:23;;1529:19054;;;;;;;;;;12478:70:157;;:::i;:::-;6813:405;;;;;;;;;;;;1529:19054:10;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;6220:74:0;;4550:77:10;;-1:-1:-1;;;;;1529:19054:10;;4641:32;;4637:99;;-1:-1:-1;;;;;1529:19054:10;;;4790:97;;;4955:10;4901:65;;;;;1529:19054;;4637:99;-1:-1:-1;;;4696:29:10;;1529:19054;4696:29;;4550:77;-1:-1:-1;;;4594:33:10;;1529:19054;4594:33;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;;8804:29;;8800:71;;8885:11;;8881:50;;8986:10;1529:19054;;8966:19;1529:19054;;;;;;9011:23;;9007:64;;9234:51;1529:19054;;;;;;;;:::i;:::-;;;;;;9117:102;;1529:19054;;;9117:102;;;9201:15;;1529:19054;;8986:10;1529:19054;;9081:9;1529:19054;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;9234:51;1529:19054;;9007:64;-1:-1:-1;;;9043:28:10;;1529:19054;9043:28;;8881:50;-1:-1:-1;;;8905:26:10;;1529:19054;10118:26;8905;8800:71;-1:-1:-1;;;8842:29:10;;1529:19054;20401:29;8842;1529:19054;;;;;;;;;;9831:339:157;;;;;;;;;;;;;;;;1529:19054:10;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;16671:2704;1529:19054;2736:22:0;;;:::i;:::-;1529:19054:10;;;;;16671:2704;:::i;:::-;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;:::i;:::-;;;12478:70:157;;;:::i;:::-;1181:103:56;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;20372:20;;;20368:62;;13252:754:161;;;;;;;;1529:19054:10;13252:754:161;1529:19054:10;13252:754:161;;;;;;1529:19054:10;13252:754:161;;;;;;;1529:19054:10;13252:754:161;;;;20515:59:10;1529:19054;;;20563:10;1529:19054;;20515:59;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;13252:754:161;;;;;;;;;;;;;;;;;1529:19054:10;13252:754:161;;20368:62:10;-1:-1:-1;;;20401:29:10;;1529:19054;20401:29;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;1181:103:56;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;;;;;9643:9;1529:19054;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;9679:34;9675:67;;1529:19054;9781:54;;9813:22;;;:::i;:::-;9781:54;;:::i;:::-;9849:15;;:36;9845:89;;-1:-1:-1;1529:19054:10;;;9969:19;1529:19054;;;;;;;;10024:27;;;;;;:57;;;1529:19054;;;10094:15;10091:53;;1529:19054;;10189:27;;;:::i;:::-;1529:19054;;;9969:19;1529:19054;;;;;;;;;9643:9;1529:19054;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;10265:10;-1:-1:-1;;;;;10265:10:10;1529:19054;-1:-1:-1;;;;;1529:19054:10;;;;;10265:50;;;;;;1529:19054;;;;;;;;;;;;;10265:50;;1529:19054;10265:50;;1529:19054;;;;;10265:50;;;;;;;;10024:57;1529:19054;;-1:-1:-1;;;;;1529:19054:10;;;;;10330:45;;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;10265:50;;;;;:::i;:::-;1529:19054;;10265:50;;;;10091:53;-1:-1:-1;;;10118:26:10;;1529:19054;10118:26;;10024:57;;;9845:89;-1:-1:-1;;;9894:40:10;;1529:19054;;;9894:40;;9675:67;-1:-1:-1;;;9722:20:10;;1529:19054;9722:20;;1529:19054;;;;;;;;;;9239:383:157;;;;;;7972:9;9132:15;1529:19054:10;9239:383:157;;;;;;;;;1529:19054:10;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:10;;;;;;;;:::i;:::-;-1:-1:-1;;;;11086:22:10;;;1529:19054;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:10;;12478:70:157;;;:::i;:::-;1181:103:56;;:::i;:::-;1529:19054:10;10772:35;;;;;;;;1529:19054;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;10821:8;10817:64;;10895:31;;;;3550:68:60;637:66:56;3550:68:60;1529:19054:10;;10817:64;-1:-1:-1;;;10852:18:10;;1529:19054;10852:18;;1529:19054;;;;-1:-1:-1;1529:19054:10;;-1:-1:-1;;1529:19054:10;;;;;;;;;;;;;;12478:70:157;;:::i;:::-;-1:-1:-1;;;;;1495:10:0;1529:19054:10;1495:56:0;;;;;;1529:19054:10;;1495:56:0;1529:19054:10;;;;;;;;;1495:56:0;;1529:19054:10;1495:56:0;;1529:19054:10;1523:9:0;1495:56;;;;;;;;;1529:19054:10;;;1495:56:0;;;;1529:19054:10;1495:56:0;;:::i;:::-;1529:19054:10;1495:56:0;1529:19054:10;;;;;;;;;1495:56:0;1529:19054:10;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:10;;;;;-1:-1:-1;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1529:19054:10;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2255:22::-;;;;;-1:-1:-1;;;;;;2255:22:10;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2255:22:10;;;;;;;;;1529:19054;2255:22;;;:::o;12816:1250::-;;;;2255:22;1529:19054;2255:22;;;490:2:91;2255:22:10;;;;;13383:69;2255:22;1529:19054;2255:22;;;13376:77;2255:22;1529:19054;2255:22;;13376:77;:::i;:::-;2255:22;;13495:69;2255:22;1529:19054;2255:22;;;13488:77;2255:22;1529:19054;2255:22;;13488:77;:::i;:::-;2255:22;;13608:69;2255:22;1529:19054;2255:22;;;1529:19054;2255:22;;;;1529:19054;;13674:2;2255:22;-1:-1:-1;2255:22:10;;13337:2;2255:22;;874:44:0;;;;490:2:91;2255:22:10;-1:-1:-1;2255:22:10;;13674:2;2255:22;;874:44:0;;;;1529:19054:10;2255:22;;-1:-1:-1;;2255:22:10;;12816:1250::o;1529:19054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:10;;;;;;:::o;11810:1000::-;;;;;1529:19054;12311:15;;;;;;:::i;:::-;1529:19054;;;:::i;:::-;12271:12;1529:19054;;;;12301:26;12355:15;1529:19054;12355:15;;;;;;:::i;1529:19054::-;12271:12;1529:19054;;;;12345:26;12446:23;;;;;;;:::i;:::-;490:2:91;2255:22:10;;;12311:15;1529:19054;12219:574;12271:12;12219:574;;823:61:91;;;-1:-1:-1;;;;;1529:19054:10;;;12271:12;;;1529:19054;12311:15;1529:19054;;;12355:15;1529:19054;;;12389:23;1529:19054;;;12389:23;;;1529:19054;12546:25;1529:19054;;;372:2:91;2255:22:10;1529:19054;12589:14;1529:19054;;;12546:25;;;1529:19054;12446:23;1529:19054;;;12589:14;;1529:19054;;;;;12621:13;1529:19054;;;;12660:4;1529:19054;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;12219:574;;;;;;:::i;:::-;1529:19054;12196:607;;11810:1000;:::o;1529:19054::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:157;-1:-1:-1;;7390:251:157;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:56;637:66;3321:69:60;1413:93:56;;1624:4;637:66;3550:68:60;1290:346:56:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:56;;-1:-1:-1;1465:30:56;20095:179:10;-1:-1:-1;;;;;1529:19054:10;;;20181:20;1529:19054;;;;;;;;20177:47;;20241:26;1529:19054;20095:179;:::o;20177:47::-;1529:19054;20216:8;:::o;5929:135:0:-;-1:-1:-1;;;;;6020:10:0;1529:19054:10;5998:10:0;:33;1529:19054:10;;5929:135:0:o;1529:19054:10:-;;;-1:-1:-1;;;1529:19054:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16671:2704::-;;;1529:19054;16890:22;17244:23;;;;17222:46;17244:23;;;;:::i;:::-;17222:46;;:::i;:::-;17581:2;17561:22;;;;;;;;;;;;;;:48;;;16671:2704;17557:110;;17681:14;1529:19054;4143:23:91;;;;;:::i;:::-;490:2;2255:22:10;;;434:2:91;2255:22:10;874:44:0;;;17681:46:10;;17677:106;;1529:19054;17824:65;;;;;;;;;:::i;:::-;13414:265:158;;;1529:19054:10;13414:265:158;;;;1529:19054:10;;;;:::i;:::-;17823:144;1529:19054;8517:1041:158;17581:2:10;8517:1041:158;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;17809:187;:202;;;;8517:1041:158;17809:202:10;18100:9;18096:102;;1529:19054;;18246:17;18260:3;18246:17;;:38;;;;17809:202;18242:96;;18526:23;;;;:::i;:::-;490:2:91;2255:22:10;;;434:2:91;-1:-1:-1;;;;;18518:85:10;2255:22;874:44:0;;;;-1:-1:-1;;;;;874:44:0;18462:23:10;;1529:19054;;;-1:-1:-1;;;;;1529:19054:10;;;;-1:-1:-1;;;;;18621:2:10;1529:19054;;;;-1:-1:-1;;;;;1529:19054:10;;;;;;;18755:62;18754:78;3382:14:91;18773:44:10;2134:3;3382:14:91;18666:3:10;18428:225;-1:-1:-1;;;;;3382:14:91;;;;1529:19054:10;;18428:225;;;:::i;:::-;1529:19054;18773:44;;:::i;18755:62::-;18754:78;:::i;:::-;1529:19054;-1:-1:-1;;;;;18870:26:10;;;;:::i;:::-;1529:19054;;;;;;18899:19;13414:265:158;1529:19054:10;17581:2;1529:19054;;;-1:-1:-1;18866:132:10;;-1:-1:-1;;;19045:26:10;;-1:-1:-1;;;;;;19045:26:10;;;:::i;:::-;1529:19054;;;18899:19;13414:265:158;1529:19054:10;19008:64;17581:2;1529:19054;;;;;19008:64;:::i;:::-;1529:19054;;17581:2;1529:19054;19093:51;13414:265:158;19093:51:10;;1529:19054;17581:2;2134:3;;1529:19054;;2134:3;;1529:19054;;19093:51;;;874:44:0;19093:51:10;;:::i;:::-;2683:8:87;1529:19054:10;;;2643:3:87;1529:19054:10;;2589:104:87;16671:2704:10;:::o;18866:132::-;18954:33;;;1529:19054;18954:33;13414:265:158;1529:19054:10;18954:33;18242:96;18307:20;;;1529:19054;18307:20;13414:265:158;1529:19054:10;18307:20;18246:38;18267:17;18281:3;18267:17;;18246:38;;18096:102;18137:49;;;8517:1041:158;18137:49:10;;;-1:-1:-1;;;18137:49:10;;-1:-1:-1;;;;;;18137:49:10;;2683:8:87;1529:19054:10;;;2643:3:87;1529:19054:10;;2589:104:87;;1529:19054:10;17581:2;1529:19054;;13414:265:158;1529:19054:10;;:::i;:::-;;;;18125:62;;:::o;17809:202::-;1529:19054;17809:202;;8517:1041:158;;;;;1529:19054:10;8517:1041:158;13414:265;8517:1041;17581:2:10;8517:1041:158;;;;;;-1:-1:-1;8517:1041:158;;;1529:19054:10;8517:1041:158;;17581:2:10;8517:1041:158;13414:265;17581:2:10;874:44:0;1529:19054:10;8517:1041:158;;;;1529:19054:10;8517:1041:158;;;;;;17581:2:10;8517:1041:158;;;;;;;;;;;;17581:2:10;8517:1041:158;;;;;;;13414:265;8517:1041;;;;;;17677:106:10;17750:22;;;1529:19054;17750:22;;1529:19054;17750:22;17557:110;17632:24;;;1529:19054;17632:24;;1529:19054;17632:24;17561:48;17587:22;17607:2;17587:22;;;17561:48;;6145:1089:157;-1:-1:-1;;;;;6813:405:157;;;;;;-1:-1:-1;6813:405:157;;-1:-1:-1;;6813:405:157;6145:1089::o","linkReferences":{},"immutableReferences":{"17":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xed16852fd82cb747a40105a1ead6174b4e31c1ae3916783d81984c0546050f2d\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9e5efdbb4d033348b42facd483db476eea5dfb1344a95ae0dd27f7ed8e115d0a\",\"dweb:/ipfs/QmXnmnfnQ472ugX8uQgNeihHQNms16iyQmawSxUTetuR1T\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480\",\"dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xed16852fd82cb747a40105a1ead6174b4e31c1ae3916783d81984c0546050f2d","urls":["bzz-raw://9e5efdbb4d033348b42facd483db476eea5dfb1344a95ae0dd27f7ed8e115d0a","dweb:/ipfs/QmXnmnfnQ472ugX8uQgNeihHQNms16iyQmawSxUTetuR1T"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290","urls":["bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480","dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":10} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0612101803803809161001c826100cd565b60a039126100b55761006c60a0516100338161011b565b60c05161003f8161011b565b60e05161004b8161011b565b610100516100588161011b565b6101205191610140519361016051956101bf565b604051611c66908161049b8239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b60a0601f91909101601f19168101906001600160401b038211908210176100f357604052565b6100b9565b601f909101601f19168101906001600160401b038211908210176100f357604052565b6001600160a01b038116036100b557565b6040519061013b6040836100f8565b60018252565b61014961012c565b90600360fc1b6020830152565b61015e61012c565b90603160f81b6020830152565b61017361012c565b90601960f91b6020830152565b61018861012c565b90603360f81b6020830152565b61019d61012c565b90600d60fa1b6020830152565b6101b261012c565b90603560f81b6020830152565b95949295939091938060601b156102d0576001600160a01b0316638b78c6d8198190556102ce966102be956102ae9461029e935f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a361023d6040516102286040826100f8565b60038152620302d360ec1b60208201526102dd565b6102468161040b565b608052610259610254610141565b6102dd565b610264848383610341565b61026f610254610156565b5f5561027c61025461016b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6102a9610254610180565b600255565b6102b9610254610195565b600355565b6102c96102546101aa565b600455565b565b637448fbae5f526004601cfd5b5f809160405161032e60648260208082019563104c13eb60e21b87528160248401528051918291826044860152018484015e86838284010152601f801991011681010301601f1981018352826100f8565b51906a636f6e736f6c652e6c6f675afa50565b6001600160a01b03811661035e576381618de160e01b5f5260045ffd5b3b156103735763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661039057633fd0943d60e11b5f5260045ffd5b3b156103a557631f47525f60e21b5f5260045ffd5b620186a0106103b057565b63313db2a560e11b5f5260045ffd5b156103c657565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b6040516301ffc9a760e01b815263122a0e9b60e31b600482015290602090829060249082906001600160a01b03165afa801561048f575f90610452575b6102ce91506103bf565b506020813d602011610487575b8161046c602093836100f8565b810103126100b5575180151581036100b5576102ce90610448565b3d915061045f565b6040513d5f823e3d90fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1577:19210:7:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1577:19210:7;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;2636:850::-;;;;;;;;;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:37;-1:-1:-1;;5710:347:37;;;3453:26:7;;3359:58;;3289:34;;3223:30;;-1:-1:-1;5710:347:37;-1:-1:-1;;5710:347:37;1154:18:0;1577:19210:7;;;;;;:::i;:::-;;;;-1:-1:-1;;;1577:19210:7;;;;1154:18:0;:::i;:::-;1211:13;;;:::i;:::-;1235:26;;2952:16:7;1577:19210;;:::i;:::-;2952:16;:::i;:::-;3037:17;;;;;:::i;:::-;3065:16;1577:19210;;:::i;3065:16::-;-1:-1:-1;3091:97:7;3197:16;1577:19210;;:::i;3197:16::-;1577:19210;;;-1:-1:-1;;;;;;1577:19210:7;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;3223:30;3263:16;1577:19210;;:::i;3263:16::-;3289:34;1577:19210;;3289:34;3333:16;1577:19210;;:::i;3333:16::-;1577:19210;;;3359:58;3427:16;1577:19210;;:::i;3427:16::-;3453:26;1577:19210;;3453:26;2636:850::o;198:181:10:-;;;;;;;6114:121:11;-1:-1:-1;6114:121:11;;1577:19210:7;;6185:42:11;1577:19210:7;6185:42:11;;;;;;;;;;;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6185:42:11;;1577:19210:7;;6185:42:11;;;;;;:::i;:::-;1577:19210:7;762:159:11;131:42;762:159;;;6114:121::o;19585:708:7:-;-1:-1:-1;;;;;1577:19210:7;;;;19829:29;;;19804:1;19829:29;;19804:1;19829:29;19770:517;6297:74:0;6387:8;19879:31:7;;19933:33;;;19804:1;19933:33;;19804:1;19933:33;19875:412;-1:-1:-1;;;;;1577:19210:7;;;;20039:26;;;19804:1;20039:26;;19804:1;20039:26;19983:304;6297:74:0;6387:8;20086:28:7;;20137:30;;;19804:1;20137:30;;19804:1;20137:30;20082:205;2419:7;-1:-1:-1;20184:103:7;;19585:708::o;20184:103::-;20253:23;;;19804:1;20253:23;;19804:1;20253:23;1577:19210;;;;:::o;:::-;;;-1:-1:-1;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;3806:256:0;1577:19210:7;;-1:-1:-1;;;3919:80:0;;-1:-1:-1;;;3919:80:0;;;1577:19210:7;;;;;;3919:80:0;;1577:19210:7;;-1:-1:-1;;;;;1577:19210:7;3919:80:0;;;;;;-1:-1:-1;3919:80:0;;;3806:256;3898:157;;;;:::i;3919:80::-;;1577:19210:7;3919:80:0;;1577:19210:7;3919:80:0;;;;;;1577:19210:7;3919:80:0;;;:::i;:::-;;;1577:19210:7;;;;;;;;;;;;3898:157:0;;3919:80;;;;;-1:-1:-1;3919:80:0;;;1577:19210:7;;;-1:-1:-1;1577:19210:7;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1577:19210:7:-:0;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;3555:9;1577:19210;;3534:31;1577:19210;3543:10;3534:31;;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;11885:237:37;;;;;1577:19210:7;11885:237:37;;;;1577:19210:7;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:37;;;:::i;:::-;5635:37:7;;;5631:71;;5717:9;5728:23;;;;;;1577:19210;;;5753:3;5812:10;;;;;:::i;:::-;1577:19210;5792:15;;;;;;:::i;:::-;1577:19210;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;5772:19;1577:19210;;5772:50;1577:19210;;;;;;5772:50;:::i;:::-;1577:19210;;;5717:9;;1577:19210;;;;5631:71;-1:-1:-1;;;5681:21:7;;1577:19210;5681:21;;1577:19210;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;-1:-1:-1;;;;;1577:19210:7;;:::i;:::-;;;;11561:19;1577:19210;;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1577:19210:7;;8479:183:37;;;;1577:19210:7;8479:183:37;;1577:19210:7;;;;;;;;;;;;;;1983:41;1577:19210;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;10506:526;;;;;;1577:19210:7;10506:526:37;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1577:19210:7;10506:526:37;;1577:19210:7;;;;;;;;;;;;;10764:10;1577:19210;;10754:9;1577:19210;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;10790:41;1577:19210;;;10764:10;1577:19210;;10790:41;1577:19210;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8274:22:7;;1577:19210;;8274:22;1577:19210;;;;;;;;;;;;;;-1:-1:-1;;;;;1915:27:7;1577:19210;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3645:35:0;;3674:4;1577:19210:7;3645:35:0;;1577:19210:7;;;3645:35:0;1577:19210:7;3645:10:0;-1:-1:-1;;;;;1577:19210:7;3645:35:0;;;;;;;;;;;1577:19210:7;;;;;;;;;3645:35:0;;;1577:19210:7;3645:35:0;;1577:19210:7;3645:35:0;;;;;;1577:19210:7;3645:35:0;;;:::i;:::-;;;1577:19210:7;;;;;;;;3645:35:0;;;;;;-1:-1:-1;3645:35:0;;;1577:19210:7;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;-1:-1:-1;;;;;2183:10:0;1577:19210:7;2183:41:0;;;;;;-1:-1:-1;;;;;2183:41:0;1577:19210:7;;;;;;;;;;;;;2183:41:0;;1577:19210:7;;2183:41:0;;1577:19210:7;2183:41:0;;;;;;;;1577:19210:7;;2183:41:0;;;;;:::i;:::-;1577:19210:7;;2183:41:0;1577:19210:7;2183:41:0;1577:19210:7;;;;;;;;;;;;;;;;12478:70:37;;:::i;:::-;1846:10:0;-1:-1:-1;;;;;1846:10:0;1577:19210:7;1846:24:0;;;;;1577:19210:7;;;;;;;;;;;;;1846:24:0;;;;;;;;;;1577:19210:7;;1846:24:0;1577:19210:7;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;705:39:0;1577:19210:7;;;;;;;;;;;;;;;;;;1948:29;1577:19210;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;:::i;:::-;1181:103:23;;:::i;:::-;1577:19210:7;3890:25;;3886:63;;3963:9;:14;3959:48;;1577:19210;;;4021:19;1577:19210;;4021:44;3963:9;1577:19210;;;;4021:44;:::i;:::-;1577:19210;;-1:-1:-1;4017:82:7;;1577:19210;;;4021:19;1577:19210;;;;;4109:45;3963:9;1577:19210;;4109:45;:::i;:::-;1577:19210;;4164:10;-1:-1:-1;;;;;4164:10:7;1577:19210;4164:55;;;;;1577:19210;4164:55;1577:19210;;;;;;;;;;4164:55;;4213:4;1577:19210;4164:55;;1577:19210;3963:9;4164:55;;;;;;;;;1577:19210;3963:9;;;4234:36;;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;4164:55;;;;;:::i;:::-;1577:19210;;4164:55;;;;4017:82;-1:-1:-1;;;4087:12:7;;1577:19210;4087:12;;3959:48;-1:-1:-1;;;3986:21:7;;1577:19210;3986:21;;3886:63;-1:-1:-1;;;3924:25:7;;1577:19210;6234:25;3924;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;6297:74:0;;7309:71:7;;-1:-1:-1;;;;;1577:19210:7;7394:29;;7390:68;;7494:12;1577:19210;;;-1:-1:-1;;1577:19210:7;;;7494:12;1577:19210;-1:-1:-1;;;;;7615:10:7;1577:19210;;7561:65;;;;1577:19210;;7390:68;-1:-1:-1;;;7432:26:7;;1577:19210;7432:26;;7309:71;-1:-1:-1;;;7350:30:7;;1577:19210;7350:30;;1577:19210;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;12478:70:37;;:::i;:::-;1577:19210:7;;;6741:44;;;;1577:19210;;;;;;;;;;;;;;;;;;6813:405:37;;11523:61;-1:-1:-1;;;;;1577:19210:7;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:37;;;:::i;:::-;1577:19210:7;6200:25;;;6196:63;;1577:19210;;;6273:20;1577:19210;;;;;;;;;;;6273:46;6269:186;;1577:19210;;;6269:186;1577:19210;6399:45;1577:19210;;;;6273:20;1577:19210;;;;;;;;;;;;;;;;;;;;;6399:45;6269:186;;1577:19210;;;6196:63;-1:-1:-1;;;6234:25:7;;1577:19210;6234:25;;1577:19210;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2268:298:0;;;;;;:::i;:::-;14918:47:7;;1577:19210;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;15335:31;2182:3;15257:27;15130:56;15147:38;1577:19210;;15147:14;1577:19210;15147:38;:::i;:::-;1577:19210;;15130:56;:::i;:::-;15257:27;;;:::i;:::-;1577:19210;15335:31;;;:::i;:::-;1577:19210;-1:-1:-1;;;;;1577:19210:7;;;;;15429:19;1577:19210;;;;;15429:44;1577:19210;;;15429:44;:::i;:::-;1577:19210;;15488:34;;;;;;;15623;;;:::i;:::-;1577:19210;;;15429:19;1577:19210;;15586:72;1577:19210;;;;;;15586:72;:::i;:::-;1577:19210;;15484:369;15989:57;;;;1577:19210;;15484:369;15791:34;;;;:::i;:::-;1577:19210;;;15429:19;1577:19210;;15754:72;1577:19210;;;;;;15754:72;:::i;:::-;1577:19210;;15484:369;;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;12478:70:37;;:::i;:::-;2419:7:7;7912:30;;7908:91;;8027:14;1577:19210;;8027:14;1577:19210;8088:38;;;;1577:19210;;7908:91;-1:-1:-1;;;7965:23:7;;1577:19210;7965:23;;1577:19210;;;;;;;;;;12478:70:37;;:::i;:::-;6813:405;;;;;;;;;;;;1577:19210:7;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;6297:74:0;;4754:77:7;;-1:-1:-1;;;;;1577:19210:7;;4845:32;;4841:99;;-1:-1:-1;;;;;1577:19210:7;;;4994:97;;;5159:10;5105:65;;;;;1577:19210;;4841:99;-1:-1:-1;;;4900:29:7;;1577:19210;4900:29;;4754:77;-1:-1:-1;;;4798:33:7;;1577:19210;4798:33;;1577:19210;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;;9008:29;;9004:71;;9089:11;;9085:50;;9190:10;1577:19210;;9170:19;1577:19210;;;;;;9215:23;;9211:64;;9438:51;1577:19210;;;;;;;;:::i;:::-;;;;;;9321:102;;1577:19210;;;9321:102;;;9405:15;;1577:19210;;9190:10;1577:19210;;9285:9;1577:19210;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;9438:51;1577:19210;;9211:64;-1:-1:-1;;;9247:28:7;;1577:19210;9247:28;;9085:50;-1:-1:-1;;;9109:26:7;;1577:19210;10322:26;9109;9004:71;-1:-1:-1;;;9046:29:7;;1577:19210;20605:29;9046;1577:19210;;;;;;;;;;9831:339:37;;;;;;;;;;;;;;;;1577:19210:7;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;16875:2704;1577:19210;2813:22:0;;;:::i;:::-;1577:19210:7;;;;;16875:2704;:::i;:::-;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;:::i;:::-;;;12478:70:37;;;:::i;:::-;1181:103:23;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;20576:20;;;20572:62;;13252:754:39;;;;;;;;1577:19210:7;13252:754:39;1577:19210:7;13252:754:39;;;;;;1577:19210:7;13252:754:39;;;;;;;1577:19210:7;13252:754:39;;;;20719:59:7;1577:19210;;;20767:10;1577:19210;;20719:59;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;13252:754:39;;;;;;;;;;;;;;;;;1577:19210:7;13252:754:39;;20572:62:7;-1:-1:-1;;;20605:29:7;;1577:19210;20605:29;;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;1181:103:23;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;;;;;9847:9;1577:19210;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;9883:34;9879:67;;1577:19210;9985:54;;10017:22;;;:::i;:::-;9985:54;;:::i;:::-;10053:15;;:36;10049:89;;-1:-1:-1;1577:19210:7;;;10173:19;1577:19210;;;;;;;;10228:27;;;;;;:57;;;1577:19210;;;10298:15;10295:53;;1577:19210;;10393:27;;;:::i;:::-;1577:19210;;;10173:19;1577:19210;;;;;;;;;9847:9;1577:19210;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;10469:10;-1:-1:-1;;;;;10469:10:7;1577:19210;-1:-1:-1;;;;;1577:19210:7;;;;;10469:50;;;;;;1577:19210;;;;;;;;;;;;;10469:50;;1577:19210;10469:50;;1577:19210;;;;;10469:50;;;;;;;;10228:57;1577:19210;;-1:-1:-1;;;;;1577:19210:7;;;;;10534:45;;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;10469:50;;;;;:::i;:::-;1577:19210;;10469:50;;;;10295:53;-1:-1:-1;;;10322:26:7;;1577:19210;10322:26;;10228:57;;;10049:89;-1:-1:-1;;;10098:40:7;;1577:19210;;;10098:40;;9879:67;-1:-1:-1;;;9926:20:7;;1577:19210;9926:20;;1577:19210;;;;;;;;;;9239:383:37;;;;;;7972:9;9132:15;1577:19210:7;9239:383:37;;;;;;;;;1577:19210:7;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;11290:22:7;;;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;12478:70:37;;;:::i;:::-;1181:103:23;;:::i;:::-;1577:19210:7;10976:35;;;;;;;;1577:19210;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;11025:8;11021:64;;11099:31;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;11021:64;-1:-1:-1;;;11056:18:7;;1577:19210;11056:18;;1577:19210;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;12478:70:37;;:::i;:::-;-1:-1:-1;;;;;1572:10:0;1577:19210:7;1572:56:0;;;;;;1577:19210:7;;1572:56:0;1577:19210:7;;;;;;;;;1572:56:0;;1577:19210:7;1572:56:0;;1577:19210:7;1600:9:0;1572:56;;;;;;;;;1577:19210:7;;;1572:56:0;;;;1577:19210:7;1572:56:0;;:::i;:::-;1577:19210:7;1572:56:0;1577:19210:7;;;;;;;;;1572:56:0;1577:19210:7;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1577:19210:7;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1577:19210:7;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2303:22::-;;;;;-1:-1:-1;;;;;;2303:22:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2303:22:7;;;;;;;;;1577:19210;2303:22;;;:::o;13020:1250::-;;;;2303:22;1577:19210;2303:22;;;490:2:30;2303:22:7;;;;;13587:69;2303:22;1577:19210;2303:22;;;13580:77;2303:22;1577:19210;2303:22;;13580:77;:::i;:::-;2303:22;;13699:69;2303:22;1577:19210;2303:22;;;13692:77;2303:22;1577:19210;2303:22;;13692:77;:::i;:::-;2303:22;;13812:69;2303:22;1577:19210;2303:22;;;1577:19210;2303:22;;;;1577:19210;;13878:2;2303:22;-1:-1:-1;2303:22:7;;13541:2;2303:22;;923:44:0;;;;490:2:30;2303:22:7;-1:-1:-1;2303:22:7;;13878:2;2303:22;;923:44:0;;;;1577:19210:7;2303:22;;-1:-1:-1;;2303:22:7;;13020:1250::o;1577:19210::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;:::o;12014:1000::-;;;;;1577:19210;12515:15;;;;;;:::i;:::-;1577:19210;;;:::i;:::-;12475:12;1577:19210;;;;12505:26;12559:15;1577:19210;12559:15;;;;;;:::i;1577:19210::-;12475:12;1577:19210;;;;12549:26;12650:23;;;;;;;:::i;:::-;490:2:30;2303:22:7;;;12515:15;1577:19210;12423:574;12475:12;12423:574;;823:61:30;;;-1:-1:-1;;;;;1577:19210:7;;;12475:12;;;1577:19210;12515:15;1577:19210;;;12559:15;1577:19210;;;12593:23;1577:19210;;;12593:23;;;1577:19210;12750:25;1577:19210;;;372:2:30;2303:22:7;1577:19210;12793:14;1577:19210;;;12750:25;;;1577:19210;12650:23;1577:19210;;;12793:14;;1577:19210;;;;;12825:13;1577:19210;;;;12864:4;1577:19210;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;12423:574;;;;;;:::i;:::-;1577:19210;12400:607;;12014:1000;:::o;1577:19210::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:37;-1:-1:-1;;7390:251:37;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:23;637:66;3321:69:24;1413:93:23;;1624:4;637:66;3550:68:24;1290:346:23:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:23;;-1:-1:-1;1465:30:23;20299:179:7;-1:-1:-1;;;;;1577:19210:7;;;20385:20;1577:19210;;;;;;;;20381:47;;20445:26;1577:19210;20299:179;:::o;20381:47::-;1577:19210;20420:8;:::o;6006:135:0:-;-1:-1:-1;;;;;6097:10:0;1577:19210:7;6075:10:0;:33;1577:19210:7;;6006:135:0:o;1577:19210:7:-;;;-1:-1:-1;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16875:2704::-;;;1577:19210;17094:22;17448:23;;;;17426:46;17448:23;;;;:::i;:::-;17426:46;;:::i;:::-;17785:2;17765:22;;;;;;;;;;;;;;:48;;;16875:2704;17761:110;;17885:14;1577:19210;4143:23:30;;;;;:::i;:::-;490:2;2303:22:7;;;434:2:30;2303:22:7;923:44:0;;;17885:46:7;;17881:106;;1577:19210;18028:65;;;;;;;;;:::i;:::-;13414:265:38;;;1577:19210:7;13414:265:38;;;;1577:19210:7;;;;:::i;:::-;18027:144;1577:19210;8517:1041:38;17785:2:7;8517:1041:38;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;18013:187;:202;;;;8517:1041:38;18013:202:7;18304:9;18300:102;;1577:19210;;18450:17;18464:3;18450:17;;:38;;;;18013:202;18446:96;;18730:23;;;;:::i;:::-;490:2:30;2303:22:7;;;434:2:30;-1:-1:-1;;;;;18722:85:7;2303:22;923:44:0;;;;-1:-1:-1;;;;;923:44:0;18666:23:7;;1577:19210;;;-1:-1:-1;;;;;1577:19210:7;;;;-1:-1:-1;;;;;18825:2:7;1577:19210;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;18959:62;18958:78;3382:14:30;18977:44:7;2182:3;3382:14:30;18870:3:7;18632:225;-1:-1:-1;;;;;3382:14:30;;;;1577:19210:7;;18632:225;;;:::i;:::-;1577:19210;18977:44;;:::i;18959:62::-;18958:78;:::i;:::-;1577:19210;-1:-1:-1;;;;;19074:26:7;;;;:::i;:::-;1577:19210;;;;;;19103:19;13414:265:38;1577:19210:7;17785:2;1577:19210;;;-1:-1:-1;19070:132:7;;-1:-1:-1;;;19249:26:7;;-1:-1:-1;;;;;;19249:26:7;;;:::i;:::-;1577:19210;;;19103:19;13414:265:38;1577:19210:7;19212:64;17785:2;1577:19210;;;;;19212:64;:::i;:::-;1577:19210;;17785:2;1577:19210;19297:51;13414:265:38;19297:51:7;;1577:19210;17785:2;2182:3;;1577:19210;;2182:3;;1577:19210;;19297:51;;;923:44:0;19297:51:7;;:::i;:::-;2683:8:29;1577:19210:7;;;2643:3:29;1577:19210:7;;2589:104:29;16875:2704:7;:::o;19070:132::-;19158:33;;;1577:19210;19158:33;13414:265:38;1577:19210:7;19158:33;18446:96;18511:20;;;1577:19210;18511:20;13414:265:38;1577:19210:7;18511:20;18450:38;18471:17;18485:3;18471:17;;18450:38;;18300:102;18341:49;;;8517:1041:38;18341:49:7;;;-1:-1:-1;;;18341:49:7;;-1:-1:-1;;;;;;18341:49:7;;2683:8:29;1577:19210:7;;;2643:3:29;1577:19210:7;;2589:104:29;;1577:19210:7;17785:2;1577:19210;;13414:265:38;1577:19210:7;;:::i;:::-;;;;18329:62;;:::o;18013:202::-;1577:19210;18013:202;;8517:1041:38;;;;;1577:19210:7;8517:1041:38;13414:265;8517:1041;17785:2:7;8517:1041:38;;;;;;-1:-1:-1;8517:1041:38;;;1577:19210:7;8517:1041:38;;17785:2:7;8517:1041:38;13414:265;17785:2:7;923:44:0;1577:19210:7;8517:1041:38;;;;1577:19210:7;8517:1041:38;;;;;;17785:2:7;8517:1041:38;;;;;;;;;;;;17785:2:7;8517:1041:38;;;;;;;13414:265;8517:1041;;;;;;17881:106:7;17954:22;;;1577:19210;17954:22;;1577:19210;17954:22;17761:110;17836:24;;;1577:19210;17836:24;;1577:19210;17836:24;17765:48;17791:22;17811:2;17791:22;;;17765:48;;6145:1089:37;-1:-1:-1;;;;;6813:405:37;;;;;;-1:-1:-1;6813:405:37;;-1:-1:-1;;6813:405:37;6145:1089::o","linkReferences":{},"immutableReferences":{"19":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xc95780f630a393e65f39873f4f4b9446507cfcbd2beb5d706efd509d3e919853\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://52728107fa47d986743cc07b5d8e22d4a019720d59623ae6e436dbf5912cb948\",\"dweb:/ipfs/QmVKrcs3Mtz6gQ8s6EaC9BPk3mu4Rz4ZBqgRxWHERv9DAM\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0xa3065455a1bed080af563fa5060edb49c25a40ef61a03689035d21fff3664c23\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://f80c9b2a747ea6c9982163a491b9e59917e6b85fcbe012e7a6e6eba0fd5c8fd7\",\"dweb:/ipfs/Qmb8kNpXXefwquY6Tc3mRvyPjWp6ekv5f4E5VMTDi8A6o4\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0xf61cb43a94d8318049d0a7f567af8c0aa952b5762a43851b130b90b3fcde0c6a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53a52c6c3aeb22f7a18f53fca16af590308a8e3e5507e74df9b8e2561c932194\",\"dweb:/ipfs/QmaaXuY8mC66YoE2xyZdWuLHXqAxLjbnNxiofx8BTP1MRn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xc95780f630a393e65f39873f4f4b9446507cfcbd2beb5d706efd509d3e919853","urls":["bzz-raw://52728107fa47d986743cc07b5d8e22d4a019720d59623ae6e436dbf5912cb948","dweb:/ipfs/QmVKrcs3Mtz6gQ8s6EaC9BPk3mu4Rz4ZBqgRxWHERv9DAM"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0xa3065455a1bed080af563fa5060edb49c25a40ef61a03689035d21fff3664c23","urls":["bzz-raw://f80c9b2a747ea6c9982163a491b9e59917e6b85fcbe012e7a6e6eba0fd5c8fd7","dweb:/ipfs/Qmb8kNpXXefwquY6Tc3mRvyPjWp6ekv5f4E5VMTDi8A6o4"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"lib/forge-std/src/console.sol":{"keccak256":"0xf61cb43a94d8318049d0a7f567af8c0aa952b5762a43851b130b90b3fcde0c6a","urls":["bzz-raw://53a52c6c3aeb22f7a18f53fca16af590308a8e3e5507e74df9b8e2561c932194","dweb:/ipfs/QmaaXuY8mC66YoE2xyZdWuLHXqAxLjbnNxiofx8BTP1MRn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json index 600b9a1..94f3b0d 100644 --- a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json @@ -1 +1 @@ -{"language":"Solidity","sources":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport \"../base/BasePaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { BiconomySponsorshipPaymasterErrors } from \"../common/BiconomySponsorshipPaymasterErrors.sol\";\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { IBiconomySponsorshipPaymaster } from \"../interfaces/IBiconomySponsorshipPaymaster.sol\";\n\n/**\n * @title BiconomySponsorshipPaymaster\n * @author livingrockrises\n * @author ShivaanshK\n * @notice Based on Infinitism's 'VerifyingPaymaster' contract\n * @dev This contract is used to sponsor the transaction fees of the user operations\n * Uses a verifying signer to provide the signature if predetermined conditions are met\n * regarding the user operation calldata. Also this paymaster is Singleton in nature which\n * means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster.\n * Maintains it's own accounting of the gas balance for each Dapp/Wallet client\n * and Manages it's own deposit on the EntryPoint.\n */\n\ncontract BiconomySponsorshipPaymaster is\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomySponsorshipPaymasterErrors,\n IBiconomySponsorshipPaymaster\n{\n using UserOperationLib for PackedUserOperation;\n using SignatureCheckerLib for address;\n using ECDSA_solady for bytes32;\n\n address public verifyingSigner;\n address public feeCollector;\n uint256 public unaccountedGas;\n uint256 public paymasterIdWithdrawalDelay;\n uint256 public minDeposit;\n\n // Denominator to prevent precision errors when applying price markup\n uint256 private constant _PRICE_DENOMINATOR = 1e6;\n // Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET\n uint256 private constant _PAYMASTER_ID_OFFSET = _PAYMASTER_DATA_OFFSET;\n // Limit for unaccounted gas cost\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 100_000;\n\n mapping(address => uint256) public paymasterIdBalances;\n mapping(address => bool) internal _trustedPaymasterIds;\n mapping(address paymasterId => WithdrawalRequest request) internal _requests;\n\n constructor(\n address owner,\n IEntryPoint entryPointArg,\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg,\n uint256 paymasterIdWithdrawalDelayArg,\n uint256 minDepositArg\n )\n BasePaymaster(owner, entryPointArg)\n {\n _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg);\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n }\n feeCollector = feeCollectorArg;\n unaccountedGas = unaccountedGasArg;\n paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg;\n minDeposit = minDepositArg;\n }\n\n receive() external payable {\n emit Received(msg.sender, msg.value);\n }\n\n /**\n * @dev Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for\n * transaction fees\n * @param paymasterId dapp identifier for which deposit is being made\n */\n function depositFor(address paymasterId) external payable nonReentrant {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (msg.value == 0) revert DepositCanNotBeZero();\n if (paymasterIdBalances[paymasterId] + msg.value < minDeposit) revert LowDeposit();\n paymasterIdBalances[paymasterId] += msg.value;\n entryPoint.depositTo{ value: msg.value }(address(this));\n emit GasDeposited(paymasterId, msg.value);\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If _newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event VerifyingSignerChanged.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit VerifyingSignerChanged(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Refund balances for multiple paymasterIds\n * PM charges more than it should to protect itself. \n * This function is used to refund the extra amount \n * when the real consumption is known.\n * @param paymasterIds The paymasterIds to refund\n * @param amounts The amounts to refund\n */\n function refundBalances(address[] calldata paymasterIds, uint256[] calldata amounts) external payable onlyOwner {\n if (paymasterIds.length != amounts.length) revert InvalidArrayLengths();\n for (uint256 i; i < paymasterIds.length; i++) {\n paymasterIdBalances[paymasterIds[i]] += amounts[i];\n }\n }\n\n /**\n * @dev Set a new trusted paymasterId.\n * Can only be called by the owner of the contract.\n * @param paymasterId The paymasterId to be set as trusted.\n * @param isTrusted Whether the paymasterId is trusted or not.\n */\n function setTrustedPaymasterId(address paymasterId, bool isTrusted) external payable onlyOwner {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (_trustedPaymasterIds[paymasterId] != isTrusted) {\n _trustedPaymasterIds[paymasterId] = isTrusted;\n emit TrustedPaymasterIdSet(paymasterId, isTrusted);\n }\n }\n\n /**\n * @dev Set a new minimum deposit value.\n * Can only be called by the owner of the contract.\n * @param newMinDeposit The new minimum deposit value to be set.\n */\n function setMinDeposit(uint256 newMinDeposit) external payable onlyOwner {\n emit MinDepositChanged(minDeposit, newMinDeposit);\n minDeposit = newMinDeposit;\n }\n\n /**\n * @dev Set a new fee collector address.\n * Can only be called by the owner of the contract.\n * @param newFeeCollector The new address to be set as the fee collector.\n * @notice If _newFeeCollector is set to zero address, it will revert with an error.\n * After setting the new fee collector address, it will emit an event FeeCollectorChanged.\n */\n function setFeeCollector(address newFeeCollector) external payable override onlyOwner {\n if (_isContract(newFeeCollector)) revert FeeCollectorCanNotBeContract();\n if (newFeeCollector == address(0)) revert FeeCollectorCanNotBeZero();\n address oldFeeCollector = feeCollector;\n feeCollector = newFeeCollector;\n emit FeeCollectorChanged(oldFeeCollector, newFeeCollector, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedGas value.\n * @param value The new value to be set as the unaccountedGas.\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 value) external payable onlyOwner {\n if (value > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldValue = unaccountedGas;\n unaccountedGas = value;\n emit UnaccountedGasChanged(oldValue, value);\n }\n\n /**\n * @dev Override the default implementation.\n */\n function deposit() external payable virtual override {\n revert UseDepositForInstead();\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Submit a withdrawal request for the paymasterId (Dapp Depositor address)\n * @param withdrawAddress address to send the funds to\n * @param amount amount to withdraw\n */\n function submitWithdrawalRequest(address withdrawAddress, uint256 amount) external {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n if (amount == 0) revert CanNotWithdrawZeroAmount();\n uint256 currentBalance = paymasterIdBalances[msg.sender];\n if (amount > currentBalance) revert InsufficientFundsInGasTank();\n _requests[msg.sender] =\n WithdrawalRequest({ amount: amount, to: withdrawAddress, requestSubmittedTimestamp: block.timestamp });\n emit WithdrawalRequestSubmitted(withdrawAddress, amount);\n }\n\n /**\n * @dev Execute a withdrawal request for the paymasterId (Dapp Depositor address)\n * Request must be cleared by the withdrawal delay period\n * @param paymasterId paymasterId (Dapp Depositor address)\n */\n function executeWithdrawalRequest(address paymasterId) external nonReentrant {\n WithdrawalRequest memory req = _requests[paymasterId];\n if (req.requestSubmittedTimestamp == 0) revert NoRequestSubmitted();\n uint256 clearanceTimestamp = req.requestSubmittedTimestamp + _getDelay(paymasterId);\n if (block.timestamp < clearanceTimestamp) revert RequestNotClearedYet(clearanceTimestamp);\n uint256 currentBalance = paymasterIdBalances[paymasterId];\n req.amount = req.amount > currentBalance ? currentBalance : req.amount;\n if(req.amount == 0) revert CanNotWithdrawZeroAmount();\n paymasterIdBalances[paymasterId] = currentBalance - req.amount;\n delete _requests[paymasterId];\n entryPoint.withdrawTo(payable(req.to), req.amount);\n emit GasWithdrawn(paymasterId, req.to, req.amount);\n }\n\n /**\n * @dev Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\n */\n function cancelWithdrawalRequest() external {\n delete _requests[msg.sender];\n emit WithdrawalRequestCancelledFor(msg.sender);\n }\n\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual override {\n (withdrawAddress, amount);\n revert SubmitRequestInstead();\n }\n\n /**\n * @dev get the current deposit for paymasterId (Dapp Depositor address)\n * @param paymasterId dapp identifier\n */\n function getBalance(address paymasterId) external view returns (uint256 balance) {\n balance = paymasterIdBalances[paymasterId];\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n paymasterId,\n validUntil,\n validAfter,\n priceMarkup\n )\n );\n }\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n public\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n )\n {\n unchecked {\n paymasterId = address(bytes20(paymasterAndData[_PAYMASTER_ID_OFFSET:_PAYMASTER_ID_OFFSET + 20]));\n validUntil = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 20:_PAYMASTER_ID_OFFSET + 26]));\n validAfter = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 26:_PAYMASTER_ID_OFFSET + 32]));\n priceMarkup = uint32(bytes4(paymasterAndData[_PAYMASTER_ID_OFFSET + 32:_PAYMASTER_ID_OFFSET + 36]));\n paymasterValidationGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_POSTOP_GAS_OFFSET]));\n paymasterPostOpGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]));\n signature = paymasterAndData[_PAYMASTER_ID_OFFSET + 36:];\n }\n }\n\n /// @notice Performs post-operation tasks, such as deducting the sponsored gas cost from the paymasterId's balance\n /// @dev This function is called after a user operation has been executed or reverted.\n /// @param context The context containing the token amount and user sender address.\n /// @param actualGasCost The actual gas cost of the transaction.\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n {\n (address paymasterId, uint32 priceMarkup, uint256 prechargedAmount) =\n abi.decode(context, (address, uint32, uint256));\n\n // Include unaccountedGas since EP doesn't include this in actualGasCost\n // unaccountedGas = postOpGas + EP overhead gas \n actualGasCost = actualGasCost + (unaccountedGas * actualUserOpFeePerGas);\n // Apply the price markup\n uint256 adjustedGasCost = (actualGasCost * priceMarkup) / _PRICE_DENOMINATOR;\n\n uint256 premium = adjustedGasCost - actualGasCost;\n\n // Add priceMarkup to fee collector balance\n paymasterIdBalances[feeCollector] += premium;\n\n if (prechargedAmount > adjustedGasCost) {\n // If overcharged refund the excess\n paymasterIdBalances[paymasterId] += (prechargedAmount - adjustedGasCost);\n } else {\n // deduct what needs to be deducted from paymasterId\n paymasterIdBalances[paymasterId] -= (adjustedGasCost - prechargedAmount); \n }\n // here adjustedGasCost does not account for gasPenalty. prechargedAmount accounts for penalty with maxGasPenalty\n emit GasBalanceDeducted(paymasterId, adjustedGasCost, premium);\n }\n\n /**\n * @dev verify our external signer signed this request.\n * Adds maxPenalty to the effectiveCost to protect PM.\n * The \"paymasterAndData\" is expected to be the paymaster and a signature over the entire request params.\n * paymasterAndData[:20] : address(this)\n * paymasterAndData[52:72] : paymasterId (dappDepositor)\n * paymasterAndData[72:78] : validUntil\n * paymasterAndData[78:84] : validAfter\n * paymasterAndData[84:88] : priceMarkup\n * paymasterAndData[88:] : signature\n * @param userOp The user operation to validate.\n * @param userOpHash The hash of the user operation.\n * @param requiredPreFund The required pre-fund amount.\n * @return context The context for the paymaster.\n * @return validationData The validation data as per ERC-4337.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 requiredPreFund\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (userOpHash);\n (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n ) = parsePaymasterAndData(userOp.paymasterAndData);\n (paymasterValidationGasLimit, paymasterPostOpGasLimit);\n\n //ECDSA library supports both 64 and 65-byte long signatures.\n // we only \"require\" it here so that the revert reason on invalid signature will be of \"VerifyingPaymaster\", and\n // not \"ECDSA\"\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n if (unaccountedGas > userOp.unpackPostOpGasLimit()) {\n revert PostOpGasLimitTooLow();\n }\n\n bool validSig = (\n (getHash(userOp, paymasterId, validUntil, validAfter, priceMarkup).toEthSignedMessageHash()).tryRecover(\n signature\n )\n ) == verifyingSigner ? true : false;\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n // Send 1e6 for No markup\n if (priceMarkup > 2e6 || priceMarkup < 1e6) {\n revert InvalidPriceMarkup();\n }\n\n // callGasLimit + paymasterPostOpGas\n uint256 maxPenalty = (\n (\n uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 * userOp.unpackMaxFeePerGas()\n ) / 100;\n\n // Deduct the max gas cost.\n uint256 effectiveCost =\n (((requiredPreFund + unaccountedGas * userOp.unpackMaxFeePerGas()) * priceMarkup) / _PRICE_DENOMINATOR);\n\n if (effectiveCost + maxPenalty > paymasterIdBalances[paymasterId]) {\n revert InsufficientFundsForPaymasterId();\n }\n\n paymasterIdBalances[paymasterId] -= (effectiveCost + maxPenalty);\n\n context = abi.encode(paymasterId, priceMarkup, effectiveCost);\n\n // no need for other on-chain validation: entire UserOp should have been checked\n // by the external service prior to signing it.\n return (context, _packValidationData(false, validUntil, validAfter));\n }\n\n function _checkConstructorArgs(\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg\n )\n internal\n view\n {\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n } else if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n } else if (feeCollectorArg == address(0)) {\n revert FeeCollectorCanNotBeZero();\n } else if (_isContract(feeCollectorArg)) {\n revert FeeCollectorCanNotBeContract();\n } else if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n }\n\n function _getDelay(address paymasterId) internal view returns (uint256) {\n if (_trustedPaymasterIds[paymasterId]) return 0;\n return paymasterIdWithdrawalDelay;\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomySponsorshipPaymasterErrors {\n /**\n * @notice Throws when the paymaster address provided is address(0)\n */\n error PaymasterIdCanNotBeZero();\n\n /**\n * @notice Throws when the 0 has been provided as deposit\n */\n error DepositCanNotBeZero();\n\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error FeeCollectorCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n /**\n * @notice Throws when insufficient funds to withdraw\n */\n error InsufficientFunds();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when insufficient funds for paymasterid\n */\n error InsufficientFundsForPaymasterId();\n\n /**\n * @notice Throws when calling deposit()\n */\n error UseDepositForInstead();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw zero amount\n */\n error CanNotWithdrawZeroAmount();\n\n /**\n * @notice Throws when no request has been submitted\n */\n error NoRequestSubmitted();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when postOp gas limit is too low\n */\n error PostOpGasLimitTooLow();\n\n /**\n * @notice Thrown when deposit is too low to reach minDeposit\n */\n error LowDeposit();\n\n /**\n * @notice Thrown when trying to withdraw more than the balance\n */\n error InsufficientFundsInGasTank();\n\n /**\n * @notice Thrown when trying to execute withdrawal request before delay has passed\n */\n error RequestNotClearedYet(uint256 clearanceTime);\n\n /**\n * @notice Thrown when trying to directly withdraw instead of submitting a request\n */\n error SubmitRequestInstead();\n\n /**\n * @notice Thrown when the array lengths are not equal\n */\n error InvalidArrayLengths();\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { PackedUserOperation } from \"account-abstraction/core/UserOperationLib.sol\";\n\ninterface IBiconomySponsorshipPaymaster {\n struct WithdrawalRequest {\n uint256 amount;\n address to;\n uint256 requestSubmittedTimestamp;\n }\n\n event UnaccountedGasChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event FixedPriceMarkupChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event VerifyingSignerChanged(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event GasDeposited(address indexed _paymasterId, uint256 indexed _value);\n event GasWithdrawn(address indexed _paymasterId, address indexed _to, uint256 indexed _value);\n event GasBalanceDeducted(address indexed _paymasterId, uint256 indexed _charge, uint256 indexed _premium);\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event WithdrawalRequestSubmitted(address withdrawAddress, uint256 amount);\n event WithdrawalRequestCancelledFor(address paymasterId);\n event TrustedPaymasterIdSet(address indexed paymasterId, bool isTrusted);\n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n event MinDepositChanged(uint256 indexed oldValue, uint256 indexed newValue);\n\n function depositFor(address paymasterId) external payable;\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setFeeCollector(address newFeeCollector) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function withdrawERC20(IERC20 token, address target, uint256 amount) external;\n\n function withdrawEth(address payable recipient, uint256 amount) external payable;\n\n function getBalance(address paymasterId) external view returns (uint256 balance);\n\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n external\n view\n returns (bytes32);\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n external\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n );\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} +{"language":"Solidity","sources":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport \"../base/BasePaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { BiconomySponsorshipPaymasterErrors } from \"../common/BiconomySponsorshipPaymasterErrors.sol\";\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { IBiconomySponsorshipPaymaster } from \"../interfaces/IBiconomySponsorshipPaymaster.sol\";\n\nimport {console} from \"forge-std/console.sol\";\n\n/**\n * @title BiconomySponsorshipPaymaster\n * @author livingrockrises\n * @author ShivaanshK\n * @notice Based on Infinitism's 'VerifyingPaymaster' contract\n * @dev This contract is used to sponsor the transaction fees of the user operations\n * Uses a verifying signer to provide the signature if predetermined conditions are met\n * regarding the user operation calldata. Also this paymaster is Singleton in nature which\n * means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster.\n * Maintains it's own accounting of the gas balance for each Dapp/Wallet client\n * and Manages it's own deposit on the EntryPoint.\n */\n\ncontract BiconomySponsorshipPaymaster is\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomySponsorshipPaymasterErrors,\n IBiconomySponsorshipPaymaster\n{\n using UserOperationLib for PackedUserOperation;\n using SignatureCheckerLib for address;\n using ECDSA_solady for bytes32;\n\n address public verifyingSigner;\n address public feeCollector;\n uint256 public unaccountedGas;\n uint256 public paymasterIdWithdrawalDelay;\n uint256 public minDeposit;\n\n // Denominator to prevent precision errors when applying price markup\n uint256 private constant _PRICE_DENOMINATOR = 1e6;\n // Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET\n uint256 private constant _PAYMASTER_ID_OFFSET = _PAYMASTER_DATA_OFFSET;\n // Limit for unaccounted gas cost\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 100_000;\n\n mapping(address => uint256) public paymasterIdBalances;\n mapping(address => bool) internal _trustedPaymasterIds;\n mapping(address paymasterId => WithdrawalRequest request) internal _requests;\n\n constructor(\n address owner,\n IEntryPoint entryPointArg,\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg,\n uint256 paymasterIdWithdrawalDelayArg,\n uint256 minDepositArg\n )\n BasePaymaster(owner, entryPointArg)\n {\n console.log(\"0\");\n _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg);\n console.log(\"1\");\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n }\n console.log(\"2\");\n feeCollector = feeCollectorArg;\n console.log(\"3\");\n unaccountedGas = unaccountedGasArg;\n console.log(\"4\");\n paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg;\n console.log(\"5\");\n minDeposit = minDepositArg;\n }\n\n receive() external payable {\n emit Received(msg.sender, msg.value);\n }\n\n /**\n * @dev Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for\n * transaction fees\n * @param paymasterId dapp identifier for which deposit is being made\n */\n function depositFor(address paymasterId) external payable nonReentrant {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (msg.value == 0) revert DepositCanNotBeZero();\n if (paymasterIdBalances[paymasterId] + msg.value < minDeposit) revert LowDeposit();\n paymasterIdBalances[paymasterId] += msg.value;\n entryPoint.depositTo{ value: msg.value }(address(this));\n emit GasDeposited(paymasterId, msg.value);\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If _newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event VerifyingSignerChanged.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit VerifyingSignerChanged(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Refund balances for multiple paymasterIds\n * PM charges more than it should to protect itself. \n * This function is used to refund the extra amount \n * when the real consumption is known.\n * @param paymasterIds The paymasterIds to refund\n * @param amounts The amounts to refund\n */\n function refundBalances(address[] calldata paymasterIds, uint256[] calldata amounts) external payable onlyOwner {\n if (paymasterIds.length != amounts.length) revert InvalidArrayLengths();\n for (uint256 i; i < paymasterIds.length; i++) {\n paymasterIdBalances[paymasterIds[i]] += amounts[i];\n }\n }\n\n /**\n * @dev Set a new trusted paymasterId.\n * Can only be called by the owner of the contract.\n * @param paymasterId The paymasterId to be set as trusted.\n * @param isTrusted Whether the paymasterId is trusted or not.\n */\n function setTrustedPaymasterId(address paymasterId, bool isTrusted) external payable onlyOwner {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (_trustedPaymasterIds[paymasterId] != isTrusted) {\n _trustedPaymasterIds[paymasterId] = isTrusted;\n emit TrustedPaymasterIdSet(paymasterId, isTrusted);\n }\n }\n\n /**\n * @dev Set a new minimum deposit value.\n * Can only be called by the owner of the contract.\n * @param newMinDeposit The new minimum deposit value to be set.\n */\n function setMinDeposit(uint256 newMinDeposit) external payable onlyOwner {\n emit MinDepositChanged(minDeposit, newMinDeposit);\n minDeposit = newMinDeposit;\n }\n\n /**\n * @dev Set a new fee collector address.\n * Can only be called by the owner of the contract.\n * @param newFeeCollector The new address to be set as the fee collector.\n * @notice If _newFeeCollector is set to zero address, it will revert with an error.\n * After setting the new fee collector address, it will emit an event FeeCollectorChanged.\n */\n function setFeeCollector(address newFeeCollector) external payable override onlyOwner {\n if (_isContract(newFeeCollector)) revert FeeCollectorCanNotBeContract();\n if (newFeeCollector == address(0)) revert FeeCollectorCanNotBeZero();\n address oldFeeCollector = feeCollector;\n feeCollector = newFeeCollector;\n emit FeeCollectorChanged(oldFeeCollector, newFeeCollector, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedGas value.\n * @param value The new value to be set as the unaccountedGas.\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 value) external payable onlyOwner {\n if (value > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldValue = unaccountedGas;\n unaccountedGas = value;\n emit UnaccountedGasChanged(oldValue, value);\n }\n\n /**\n * @dev Override the default implementation.\n */\n function deposit() external payable virtual override {\n revert UseDepositForInstead();\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Submit a withdrawal request for the paymasterId (Dapp Depositor address)\n * @param withdrawAddress address to send the funds to\n * @param amount amount to withdraw\n */\n function submitWithdrawalRequest(address withdrawAddress, uint256 amount) external {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n if (amount == 0) revert CanNotWithdrawZeroAmount();\n uint256 currentBalance = paymasterIdBalances[msg.sender];\n if (amount > currentBalance) revert InsufficientFundsInGasTank();\n _requests[msg.sender] =\n WithdrawalRequest({ amount: amount, to: withdrawAddress, requestSubmittedTimestamp: block.timestamp });\n emit WithdrawalRequestSubmitted(withdrawAddress, amount);\n }\n\n /**\n * @dev Execute a withdrawal request for the paymasterId (Dapp Depositor address)\n * Request must be cleared by the withdrawal delay period\n * @param paymasterId paymasterId (Dapp Depositor address)\n */\n function executeWithdrawalRequest(address paymasterId) external nonReentrant {\n WithdrawalRequest memory req = _requests[paymasterId];\n if (req.requestSubmittedTimestamp == 0) revert NoRequestSubmitted();\n uint256 clearanceTimestamp = req.requestSubmittedTimestamp + _getDelay(paymasterId);\n if (block.timestamp < clearanceTimestamp) revert RequestNotClearedYet(clearanceTimestamp);\n uint256 currentBalance = paymasterIdBalances[paymasterId];\n req.amount = req.amount > currentBalance ? currentBalance : req.amount;\n if(req.amount == 0) revert CanNotWithdrawZeroAmount();\n paymasterIdBalances[paymasterId] = currentBalance - req.amount;\n delete _requests[paymasterId];\n entryPoint.withdrawTo(payable(req.to), req.amount);\n emit GasWithdrawn(paymasterId, req.to, req.amount);\n }\n\n /**\n * @dev Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\n */\n function cancelWithdrawalRequest() external {\n delete _requests[msg.sender];\n emit WithdrawalRequestCancelledFor(msg.sender);\n }\n\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual override {\n (withdrawAddress, amount);\n revert SubmitRequestInstead();\n }\n\n /**\n * @dev get the current deposit for paymasterId (Dapp Depositor address)\n * @param paymasterId dapp identifier\n */\n function getBalance(address paymasterId) external view returns (uint256 balance) {\n balance = paymasterIdBalances[paymasterId];\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n paymasterId,\n validUntil,\n validAfter,\n priceMarkup\n )\n );\n }\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n public\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n )\n {\n unchecked {\n paymasterId = address(bytes20(paymasterAndData[_PAYMASTER_ID_OFFSET:_PAYMASTER_ID_OFFSET + 20]));\n validUntil = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 20:_PAYMASTER_ID_OFFSET + 26]));\n validAfter = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 26:_PAYMASTER_ID_OFFSET + 32]));\n priceMarkup = uint32(bytes4(paymasterAndData[_PAYMASTER_ID_OFFSET + 32:_PAYMASTER_ID_OFFSET + 36]));\n paymasterValidationGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_POSTOP_GAS_OFFSET]));\n paymasterPostOpGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]));\n signature = paymasterAndData[_PAYMASTER_ID_OFFSET + 36:];\n }\n }\n\n /// @notice Performs post-operation tasks, such as deducting the sponsored gas cost from the paymasterId's balance\n /// @dev This function is called after a user operation has been executed or reverted.\n /// @param context The context containing the token amount and user sender address.\n /// @param actualGasCost The actual gas cost of the transaction.\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n {\n (address paymasterId, uint32 priceMarkup, uint256 prechargedAmount) =\n abi.decode(context, (address, uint32, uint256));\n\n // Include unaccountedGas since EP doesn't include this in actualGasCost\n // unaccountedGas = postOpGas + EP overhead gas \n actualGasCost = actualGasCost + (unaccountedGas * actualUserOpFeePerGas);\n // Apply the price markup\n uint256 adjustedGasCost = (actualGasCost * priceMarkup) / _PRICE_DENOMINATOR;\n\n uint256 premium = adjustedGasCost - actualGasCost;\n\n // Add priceMarkup to fee collector balance\n paymasterIdBalances[feeCollector] += premium;\n\n if (prechargedAmount > adjustedGasCost) {\n // If overcharged refund the excess\n paymasterIdBalances[paymasterId] += (prechargedAmount - adjustedGasCost);\n } else {\n // deduct what needs to be deducted from paymasterId\n paymasterIdBalances[paymasterId] -= (adjustedGasCost - prechargedAmount); \n }\n // here adjustedGasCost does not account for gasPenalty. prechargedAmount accounts for penalty with maxGasPenalty\n emit GasBalanceDeducted(paymasterId, adjustedGasCost, premium);\n }\n\n /**\n * @dev verify our external signer signed this request.\n * Adds maxPenalty to the effectiveCost to protect PM.\n * The \"paymasterAndData\" is expected to be the paymaster and a signature over the entire request params.\n * paymasterAndData[:20] : address(this)\n * paymasterAndData[52:72] : paymasterId (dappDepositor)\n * paymasterAndData[72:78] : validUntil\n * paymasterAndData[78:84] : validAfter\n * paymasterAndData[84:88] : priceMarkup\n * paymasterAndData[88:] : signature\n * @param userOp The user operation to validate.\n * @param userOpHash The hash of the user operation.\n * @param requiredPreFund The required pre-fund amount.\n * @return context The context for the paymaster.\n * @return validationData The validation data as per ERC-4337.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 requiredPreFund\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (userOpHash);\n (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n ) = parsePaymasterAndData(userOp.paymasterAndData);\n (paymasterValidationGasLimit, paymasterPostOpGasLimit);\n\n //ECDSA library supports both 64 and 65-byte long signatures.\n // we only \"require\" it here so that the revert reason on invalid signature will be of \"VerifyingPaymaster\", and\n // not \"ECDSA\"\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n if (unaccountedGas > userOp.unpackPostOpGasLimit()) {\n revert PostOpGasLimitTooLow();\n }\n\n bool validSig = (\n (getHash(userOp, paymasterId, validUntil, validAfter, priceMarkup).toEthSignedMessageHash()).tryRecover(\n signature\n )\n ) == verifyingSigner ? true : false;\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n // Send 1e6 for No markup\n if (priceMarkup > 2e6 || priceMarkup < 1e6) {\n revert InvalidPriceMarkup();\n }\n\n // callGasLimit + paymasterPostOpGas\n uint256 maxPenalty = (\n (\n uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 * userOp.unpackMaxFeePerGas()\n ) / 100;\n\n // Deduct the max gas cost.\n uint256 effectiveCost =\n (((requiredPreFund + unaccountedGas * userOp.unpackMaxFeePerGas()) * priceMarkup) / _PRICE_DENOMINATOR);\n\n if (effectiveCost + maxPenalty > paymasterIdBalances[paymasterId]) {\n revert InsufficientFundsForPaymasterId();\n }\n\n paymasterIdBalances[paymasterId] -= (effectiveCost + maxPenalty);\n\n context = abi.encode(paymasterId, priceMarkup, effectiveCost);\n\n // no need for other on-chain validation: entire UserOp should have been checked\n // by the external service prior to signing it.\n return (context, _packValidationData(false, validUntil, validAfter));\n }\n\n function _checkConstructorArgs(\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg\n )\n internal\n view\n {\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n } else if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n } else if (feeCollectorArg == address(0)) {\n revert FeeCollectorCanNotBeZero();\n } else if (_isContract(feeCollectorArg)) {\n revert FeeCollectorCanNotBeContract();\n } else if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n }\n\n function _getDelay(address paymasterId) internal view returns (uint256) {\n if (_trustedPaymasterIds[paymasterId]) return 0;\n return paymasterIdWithdrawalDelay;\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n\nimport {console} from \"forge-std/console.sol\";\n\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n console.log(\"0-0\");\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomySponsorshipPaymasterErrors {\n /**\n * @notice Throws when the paymaster address provided is address(0)\n */\n error PaymasterIdCanNotBeZero();\n\n /**\n * @notice Throws when the 0 has been provided as deposit\n */\n error DepositCanNotBeZero();\n\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error FeeCollectorCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n /**\n * @notice Throws when insufficient funds to withdraw\n */\n error InsufficientFunds();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when insufficient funds for paymasterid\n */\n error InsufficientFundsForPaymasterId();\n\n /**\n * @notice Throws when calling deposit()\n */\n error UseDepositForInstead();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw zero amount\n */\n error CanNotWithdrawZeroAmount();\n\n /**\n * @notice Throws when no request has been submitted\n */\n error NoRequestSubmitted();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when postOp gas limit is too low\n */\n error PostOpGasLimitTooLow();\n\n /**\n * @notice Thrown when deposit is too low to reach minDeposit\n */\n error LowDeposit();\n\n /**\n * @notice Thrown when trying to withdraw more than the balance\n */\n error InsufficientFundsInGasTank();\n\n /**\n * @notice Thrown when trying to execute withdrawal request before delay has passed\n */\n error RequestNotClearedYet(uint256 clearanceTime);\n\n /**\n * @notice Thrown when trying to directly withdraw instead of submitting a request\n */\n error SubmitRequestInstead();\n\n /**\n * @notice Thrown when the array lengths are not equal\n */\n error InvalidArrayLengths();\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { PackedUserOperation } from \"account-abstraction/core/UserOperationLib.sol\";\n\ninterface IBiconomySponsorshipPaymaster {\n struct WithdrawalRequest {\n uint256 amount;\n address to;\n uint256 requestSubmittedTimestamp;\n }\n\n event UnaccountedGasChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event FixedPriceMarkupChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event VerifyingSignerChanged(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event GasDeposited(address indexed _paymasterId, uint256 indexed _value);\n event GasWithdrawn(address indexed _paymasterId, address indexed _to, uint256 indexed _value);\n event GasBalanceDeducted(address indexed _paymasterId, uint256 indexed _charge, uint256 indexed _premium);\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event WithdrawalRequestSubmitted(address withdrawAddress, uint256 amount);\n event WithdrawalRequestCancelledFor(address paymasterId);\n event TrustedPaymasterIdSet(address indexed paymasterId, bool isTrusted);\n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n event MinDepositChanged(uint256 indexed oldValue, uint256 indexed newValue);\n\n function depositFor(address paymasterId) external payable;\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setFeeCollector(address newFeeCollector) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function withdrawERC20(IERC20 token, address target, uint256 amount) external;\n\n function withdrawEth(address payable recipient, uint256 amount) external payable;\n\n function getBalance(address paymasterId) external view returns (uint256 balance);\n\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n external\n view\n returns (bytes32);\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n external\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n );\n}\n"},"lib/forge-std/src/console.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.4.22 <0.9.0;\n\nlibrary console {\n address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);\n\n function _castLogPayloadViewToPure(\n function(bytes memory) internal view fnIn\n ) internal pure returns (function(bytes memory) internal pure fnOut) {\n assembly {\n fnOut := fnIn\n }\n }\n\n function _sendLogPayload(bytes memory payload) internal pure {\n _castLogPayloadViewToPure(_sendLogPayloadView)(payload);\n }\n\n function _sendLogPayloadView(bytes memory payload) private view {\n uint256 payloadLength = payload.length;\n address consoleAddress = CONSOLE_ADDRESS;\n /// @solidity memory-safe-assembly\n assembly {\n let payloadStart := add(payload, 32)\n let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)\n }\n }\n\n function log() internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log()\"));\n }\n\n function logInt(int p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(int)\", p0));\n }\n\n function logUint(uint p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint)\", p0));\n }\n\n function logString(string memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n }\n\n function logBool(bool p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n }\n\n function logAddress(address p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n }\n\n function logBytes(bytes memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes)\", p0));\n }\n\n function logBytes1(bytes1 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes1)\", p0));\n }\n\n function logBytes2(bytes2 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes2)\", p0));\n }\n\n function logBytes3(bytes3 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes3)\", p0));\n }\n\n function logBytes4(bytes4 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes4)\", p0));\n }\n\n function logBytes5(bytes5 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes5)\", p0));\n }\n\n function logBytes6(bytes6 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes6)\", p0));\n }\n\n function logBytes7(bytes7 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes7)\", p0));\n }\n\n function logBytes8(bytes8 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes8)\", p0));\n }\n\n function logBytes9(bytes9 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes9)\", p0));\n }\n\n function logBytes10(bytes10 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes10)\", p0));\n }\n\n function logBytes11(bytes11 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes11)\", p0));\n }\n\n function logBytes12(bytes12 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes12)\", p0));\n }\n\n function logBytes13(bytes13 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes13)\", p0));\n }\n\n function logBytes14(bytes14 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes14)\", p0));\n }\n\n function logBytes15(bytes15 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes15)\", p0));\n }\n\n function logBytes16(bytes16 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes16)\", p0));\n }\n\n function logBytes17(bytes17 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes17)\", p0));\n }\n\n function logBytes18(bytes18 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes18)\", p0));\n }\n\n function logBytes19(bytes19 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes19)\", p0));\n }\n\n function logBytes20(bytes20 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes20)\", p0));\n }\n\n function logBytes21(bytes21 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes21)\", p0));\n }\n\n function logBytes22(bytes22 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes22)\", p0));\n }\n\n function logBytes23(bytes23 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes23)\", p0));\n }\n\n function logBytes24(bytes24 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes24)\", p0));\n }\n\n function logBytes25(bytes25 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes25)\", p0));\n }\n\n function logBytes26(bytes26 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes26)\", p0));\n }\n\n function logBytes27(bytes27 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes27)\", p0));\n }\n\n function logBytes28(bytes28 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes28)\", p0));\n }\n\n function logBytes29(bytes29 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes29)\", p0));\n }\n\n function logBytes30(bytes30 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes30)\", p0));\n }\n\n function logBytes31(bytes31 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes31)\", p0));\n }\n\n function logBytes32(bytes32 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes32)\", p0));\n }\n\n function log(uint p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint)\", p0));\n }\n\n function log(int p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(int)\", p0));\n }\n\n function log(string memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n }\n\n function log(bool p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n }\n\n function log(address p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n }\n\n function log(uint p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint)\", p0, p1));\n }\n\n function log(uint p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string)\", p0, p1));\n }\n\n function log(uint p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool)\", p0, p1));\n }\n\n function log(uint p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address)\", p0, p1));\n }\n\n function log(string memory p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint)\", p0, p1));\n }\n\n function log(string memory p0, int p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,int)\", p0, p1));\n }\n\n function log(string memory p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string)\", p0, p1));\n }\n\n function log(string memory p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool)\", p0, p1));\n }\n\n function log(string memory p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address)\", p0, p1));\n }\n\n function log(bool p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint)\", p0, p1));\n }\n\n function log(bool p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string)\", p0, p1));\n }\n\n function log(bool p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool)\", p0, p1));\n }\n\n function log(bool p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address)\", p0, p1));\n }\n\n function log(address p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint)\", p0, p1));\n }\n\n function log(address p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string)\", p0, p1));\n }\n\n function log(address p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool)\", p0, p1));\n }\n\n function log(address p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address)\", p0, p1));\n }\n\n function log(uint p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,address)\", p0, p1, p2, p3));\n }\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} diff --git a/scripts/bash-deploy/artifacts/Deployer/Deployer.json b/scripts/bash-deploy/artifacts/Deployer/Deployer.json index d7da7b3..eab7c99 100644 --- a/scripts/bash-deploy/artifacts/Deployer/Deployer.json +++ b/scripts/bash-deploy/artifacts/Deployer/Deployer.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"addressOf","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"event","name":"ContractDeployed","inputs":[{"name":"contractAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"ErrorCreatingContract","inputs":[]},{"type":"error","name":"ErrorCreatingProxy","inputs":[]},{"type":"error","name":"InvalidBytecodeSignature","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"TargetAlreadyExists","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}],"bytecode":{"object":"0x34605f5761085b388190036080601f8201601f19168101906001600160401b03821190821017606357602092829160405260803912605f576080516001600160a01b0381168103605f576050906077565b60405161079590816100c68239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b8060601b1560b8576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3565b637448fbae5f526004601cfdfe60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610439565b610409565b6103c5565b61035d565b61032e565b610304565b6102bb565b610277565b61022e565b346101fc5760603660031901126101fc5760043560243567ffffffffffffffff81116101fc576100e8903690600401610200565b9060443567ffffffffffffffff81116101fc5761010c610124913690600401610200565b906101183686866104b7565b602081519101206104ed565b156101ed576101349136916104b7565b61013c61071e565b91610146816105bd565b92833b6101de576020815191015ff56001600160a01b038116156101cf57815f92918360208194519301915af161017b610759565b501580156101c6575b6101b7576001600160a01b03167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a2005b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101fc5782359167ffffffffffffffff83116101fc57602083818601950101116101fc57565b5f3660031901126101fc5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101fc5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101fc576102ce610563565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101fc575f3660031901126101fc576020638b78c6d819546001600160a01b0360405191168152f35b346101fc5760203660031901126101fc57602061034c6004356105bd565b6001600160a01b0360405191168152f35b346101fc5760403660031901126101fc5760043560243567ffffffffffffffff81116101fc57610394610134913690600401610200565b61039c610563565b36916104b7565b60209060031901126101fc576004356001600160a01b03811681036101fc5790565b6103ce366103a3565b6103d6610563565b63389a75e1600c52805f526020600c2090815442116103fc575f6103fa925561057f565b005b636f5e88185f526004601cfd5b610412366103a3565b61041a610563565b8060601b1561042c576103fa9061057f565b637448fbae5f526004601cfd5b346101fc57610447366103a3565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761049657604052565b610460565b67ffffffffffffffff811161049657601f01601f191660200190565b9291926104c38261049b565b916104d16040519384610474565b8294818452818301116101fc578281602093845f960137010152565b6001600160a01b0392610501818484610683565b638b78c6d8195485169416841461055a576001600160a01b039261054b926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420610683565b1614610555575f90565b600190565b50505050600190565b638b78c6d81954330361057257565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106746001600160a01b0361068092604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261061e607582610474565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610665603782610474565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106de576041146106ac57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106dc57505061069f565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106bb565b6040519061072d604083610474565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d15610783573d9061076a8261049b565b916107786040519384610474565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1242:15:-:0;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;163:1242:15;;;;;;334:52;;;:::i;:::-;163:1242;;;;;;;;;;-1:-1:-1;163:1242:15;;;;;;-1:-1:-1;163:1242:15;;;;;-1:-1:-1;163:1242:15;150:269:16;198:181;;;;;;-1:-1:-1;;;;;5710:347:157;-1:-1:-1;;5710:347:157;;;-1:-1:-1;5710:347:157;-1:-1:-1;;5710:347:157;150:269:16:o;198:181::-;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610439565b610409565b6103c5565b61035d565b61032e565b610304565b6102bb565b610277565b61022e565b346101fc5760603660031901126101fc5760043560243567ffffffffffffffff81116101fc576100e8903690600401610200565b9060443567ffffffffffffffff81116101fc5761010c610124913690600401610200565b906101183686866104b7565b602081519101206104ed565b156101ed576101349136916104b7565b61013c61071e565b91610146816105bd565b92833b6101de576020815191015ff56001600160a01b038116156101cf57815f92918360208194519301915af161017b610759565b501580156101c6575b6101b7576001600160a01b03167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a2005b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101fc5782359167ffffffffffffffff83116101fc57602083818601950101116101fc57565b5f3660031901126101fc5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101fc5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101fc576102ce610563565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101fc575f3660031901126101fc576020638b78c6d819546001600160a01b0360405191168152f35b346101fc5760203660031901126101fc57602061034c6004356105bd565b6001600160a01b0360405191168152f35b346101fc5760403660031901126101fc5760043560243567ffffffffffffffff81116101fc57610394610134913690600401610200565b61039c610563565b36916104b7565b60209060031901126101fc576004356001600160a01b03811681036101fc5790565b6103ce366103a3565b6103d6610563565b63389a75e1600c52805f526020600c2090815442116103fc575f6103fa925561057f565b005b636f5e88185f526004601cfd5b610412366103a3565b61041a610563565b8060601b1561042c576103fa9061057f565b637448fbae5f526004601cfd5b346101fc57610447366103a3565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761049657604052565b610460565b67ffffffffffffffff811161049657601f01601f191660200190565b9291926104c38261049b565b916104d16040519384610474565b8294818452818301116101fc578281602093845f960137010152565b6001600160a01b0392610501818484610683565b638b78c6d8195485169416841461055a576001600160a01b039261054b926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420610683565b1614610555575f90565b600190565b50505050600190565b638b78c6d81954330361057257565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106746001600160a01b0361068092604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261061e607582610474565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610665603782610474565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106de576041146106ac57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106dc57505061069f565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106bb565b6040519061072d604083610474565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d15610783573d9061076a8261049b565b916107786040519384610474565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1242:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;163:1242:15;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;552:33;163:1242;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;513:24;552:33;:::i;:::-;551:34;547:73;;163:1242;;;;;:::i;:::-;;;:::i;:::-;3399:16:14;;;;:::i;:::-;2041:59;;;3425:53;;163:1242:15;3544:181:14;;;;163:1242:15;3544:181:14;-1:-1:-1;;;;;163:1242:15;;3738:19:14;3734:52;;3859:40;163:1242:15;3859:40:14;;;163:1242:15;3859:40:14;;;;;;;;;;:::i;:::-;;3913:8;163:1242:15;;3913:31:14;;163:1242:15;3909:67:14;;-1:-1:-1;;;;;163:1242:15;709:34;163:1242;709:34;;163:1242;3909:67:14;3953:23;;;163:1242:15;3953:23:14;163:1242:15;;3953:23:14;3913:31;2041:59;;;3925:19;3913:31;;3734:52;3766:20;;;163:1242:15;3766:20:14;163:1242:15;;3766:20:14;3425:53;3457:21;;;163:1242:15;3457:21:14;163:1242:15;;3457:21:14;547:73:15;594:26;;;163:1242;594:26;163:1242;;594:26;163:1242;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;163:1242:15;;;;9239:383:157;;;;163:1242:15;9239:383:157;7972:9;9132:15;163:1242:15;9239:383:157;;;;;;163:1242:15;9239:383:157;;163:1242:15;;;;-1:-1:-1;;163:1242:15;;;;9831:339:157;;;;163:1242:15;9831:339:157;163:1242:15;9831:339:157;;;;;;163:1242:15;9831:339:157;;163:1242:15;;;;-1:-1:-1;;163:1242:15;;;;12478:70:157;;:::i;:::-;163:1242:15;6813:405:157;;;;;;;163:1242:15;-1:-1:-1;;6813:405:157;163:1242:15;;;;;;;-1:-1:-1;;163:1242:15;;;;;6813:405:157;;11523:61;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;1055:24;163:1242;;1055:24;:::i;:::-;-1:-1:-1;;;;;163:1242:15;;;;;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12478:70:157;;:::i;:::-;163:1242:15;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;163:1242:15;;;;;;;:::o;:::-;;;;:::i;:::-;12478:70:157;;:::i;:::-;10506:526;;;;;;;;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;:::-;163:1242:15;10506:526:157;;;;163:1242:15;10506:526:157;;163:1242:15;;;;:::i;:::-;12478:70:157;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;8479:183::-;;;;163:1242:15;8479:183:157;;163:1242:15;;;;;;;:::i;:::-;11885:237:157;;;-1:-1:-1;11885:237:157;;;;;;163:1242:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;-1:-1:-1;;163:1242:15;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;163:1242:15;;;;;;:::o;1092:311::-;-1:-1:-1;;;;;1092:311:15;1201:31;;;;;:::i;:::-;-1:-1:-1;;11523:61:157;163:1242:15;;;;1201:42;;1197:71;;-1:-1:-1;;;;;13414:265:158;1282:56:15;13414:265:158;;;;163:1242:15;13414:265:158;;;;1282:56:15;:::i;:::-;163:1242;1282:67;1278:96;;163:1242;1092:311;:::o;1278:96::-;1370:4;1363:11;:::o;1197:71::-;1257:11;;;;1264:4;1257:11;:::o;7292:355:157:-;-1:-1:-1;;7390:251:157;;;;;7292:355::o;7390:251::-;;;;;;;6145:1089;-1:-1:-1;;;;;6813:405:157;;;;;;-1:-1:-1;6813:405:157;;-1:-1:-1;;6813:405:157;6145:1089::o;4973:345:14:-;5140:157;-1:-1:-1;;;;;5115:196:14;4973:345;163:1242:15;;4215:237:14;;;1707:66;;;;;;4314:4;163:1242:15;;1707:66:14;;;163:1242:15;1707:66:14;;;163:1242:15;1707:66:14;;;;163:1242:15;1707:66:14;4215:237;;;;;;:::i;:::-;163:1242:15;4176:302:14;;163:1242:15;;-1:-1:-1;;;4215:237:14;5212:44;;163:1242:15;;;;;;;;;-1:-1:-1;;163:1242:15;;;;;-1:-1:-1;;;163:1242:15;;;;;5212:44:14;;;163:1242:15;;5212:44:14;:::i;:::-;163:1242:15;5202:55:14;;-1:-1:-1;;;;;163:1242:15;;;5140:157:14;-1:-1:-1;;;;;163:1242:15;;;5115:196:14;4973:345;:::o;4336:1373:158:-;;;;;4521:1182;;;;;;;;;;;;;;;;;;163:1242:15;4521:1182:158;;;;;;;;;;;163:1242:15;4521:1182:158;;;;;;163:1242:15;4521:1182:158;;;;163:1242:15;4521:1182:158;;;;;163:1242:15;4521:1182:158;;;;;;;;;;;;4336:1373::o;4521:1182::-;;;;;;;;;;;;;;;;;;;;;;;;163:1242:15;;;;;;;;:::i;:::-;;;;;;;;;:::o;1485:52:14:-;;;;;;163:1242:15;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1485:52:14;-1:-1:-1;1485:52:14;;;;:::o;:::-;;;:::o","linkReferences":{}},"methodIdentifiers":{"addressOf(bytes32)":"bb34534c","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deploy(bytes32,bytes)":"cdcb760a","deploy(bytes32,bytes,bytes)":"19cdeff1","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBytecodeSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"addressOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/utils/Deployer.sol\":\"Deployer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/utils/Create3.sol\":{\"keccak256\":\"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181\",\"dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr\"]},\"contracts/utils/Deployer.sol\":{\"keccak256\":\"0x926631fd82bcb71dfa4ac03c56165e65bd55d5b63fe02dc4cc49311f6e74d235\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://a2b38b77517e199412f23de53ad22af39c75e130a1bd8f716379891d8b307e5d\",\"dweb:/ipfs/QmRUcZR3MsPXpqXmrmkfrNHf3ZRvpNzxRt7bSoR1SwxTdS\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"ErrorCreatingContract"},{"inputs":[],"type":"error","name":"ErrorCreatingProxy"},{"inputs":[],"type":"error","name":"InvalidBytecodeSignature"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"TargetAlreadyExists"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address","indexed":true}],"type":"event","name":"ContractDeployed","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"stateMutability":"view","type":"function","name":"addressOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy"},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/utils/Deployer.sol":"Deployer"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/utils/Create3.sol":{"keccak256":"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41","urls":["bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181","dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr"],"license":"Unlicense"},"contracts/utils/Deployer.sol":{"keccak256":"0x926631fd82bcb71dfa4ac03c56165e65bd55d5b63fe02dc4cc49311f6e74d235","urls":["bzz-raw://a2b38b77517e199412f23de53ad22af39c75e130a1bd8f716379891d8b307e5d","dweb:/ipfs/QmRUcZR3MsPXpqXmrmkfrNHf3ZRvpNzxRt7bSoR1SwxTdS"],"license":"Unlicense"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"}},"version":1},"id":15} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"addressOf","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"event","name":"ContractDeployed","inputs":[{"name":"contractAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"ErrorCreatingContract","inputs":[]},{"type":"error","name":"ErrorCreatingProxy","inputs":[]},{"type":"error","name":"InvalidBytecodeSignature","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"TargetAlreadyExists","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}],"bytecode":{"object":"0x34605f5761087a388190036080601f8201601f19168101906001600160401b03821190821017606357602092829160405260803912605f576080516001600160a01b0381168103605f576050906077565b6040516107b490816100c68239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b8060601b1560b8576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3565b637448fbae5f526004601cfdfe60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610458565b610428565b6103e4565b61037c565b61034d565b610323565b6102da565b610296565b61024d565b3461021b57606036600319011261021b5760043560243567ffffffffffffffff811161021b576100e890369060040161021f565b9060443567ffffffffffffffff811161021b5761010c61012491369060040161021f565b906101183686866104d6565b6020815191012061050c565b1561020c576101349136916104d6565b61013c61073d565b91610146816105dc565b92833b6101fd576020815191015ff56001600160a01b038116156101ee57815f92918360208194519301915af161017b610778565b501580156101e5575b6101d6576101d29060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f8401121561021b5782359167ffffffffffffffff831161021b576020838186019501011161021b57565b5f36600319011261021b5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f36600319011261021b5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f36600319011261021b576102ed610582565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b3461021b575f36600319011261021b576020638b78c6d819546001600160a01b0360405191168152f35b3461021b57602036600319011261021b57602061036b6004356105dc565b6001600160a01b0360405191168152f35b3461021b57604036600319011261021b5760043560243567ffffffffffffffff811161021b576103b361013491369060040161021f565b6103bb610582565b36916104d6565b602090600319011261021b576004356001600160a01b038116810361021b5790565b6103ed366103c2565b6103f5610582565b63389a75e1600c52805f526020600c20908154421161041b575f610419925561059e565b005b636f5e88185f526004601cfd5b610431366103c2565b610439610582565b8060601b1561044b576104199061059e565b637448fbae5f526004601cfd5b3461021b57610466366103c2565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff8211176104b557604052565b61047f565b67ffffffffffffffff81116104b557601f01601f191660200190565b9291926104e2826104ba565b916104f06040519384610493565b82948184528183011161021b578281602093845f960137010152565b6001600160a01b03926105208184846106a2565b638b78c6d81954851694168414610579576001600160a01b039261056a926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c6004206106a2565b1614610574575f90565b600190565b50505050600190565b638b78c6d81954330361059157565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106936001600160a01b0361069f92604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261063d607582610493565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610684603782610493565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106fd576041146106cb57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106fb5750506106be565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106da565b6040519061074c604083610493565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d156107a2573d90610789826104ba565b916107976040519384610493565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1299:5:-:0;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;163:1299:5;;;;;;334:52;;;:::i;:::-;163:1299;;;;;;;;;;-1:-1:-1;163:1299:5;;;;;;-1:-1:-1;163:1299:5;;;;;-1:-1:-1;163:1299:5;150:269:6;198:181;;;;;;-1:-1:-1;;;;;5710:347:20;-1:-1:-1;;5710:347:20;;;-1:-1:-1;5710:347:20;-1:-1:-1;;5710:347:20;150:269:6:o;198:181::-;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610458565b610428565b6103e4565b61037c565b61034d565b610323565b6102da565b610296565b61024d565b3461021b57606036600319011261021b5760043560243567ffffffffffffffff811161021b576100e890369060040161021f565b9060443567ffffffffffffffff811161021b5761010c61012491369060040161021f565b906101183686866104d6565b6020815191012061050c565b1561020c576101349136916104d6565b61013c61073d565b91610146816105dc565b92833b6101fd576020815191015ff56001600160a01b038116156101ee57815f92918360208194519301915af161017b610778565b501580156101e5575b6101d6576101d29060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f8401121561021b5782359167ffffffffffffffff831161021b576020838186019501011161021b57565b5f36600319011261021b5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f36600319011261021b5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f36600319011261021b576102ed610582565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b3461021b575f36600319011261021b576020638b78c6d819546001600160a01b0360405191168152f35b3461021b57602036600319011261021b57602061036b6004356105dc565b6001600160a01b0360405191168152f35b3461021b57604036600319011261021b5760043560243567ffffffffffffffff811161021b576103b361013491369060040161021f565b6103bb610582565b36916104d6565b602090600319011261021b576004356001600160a01b038116810361021b5790565b6103ed366103c2565b6103f5610582565b63389a75e1600c52805f526020600c20908154421161041b575f610419925561059e565b005b636f5e88185f526004601cfd5b610431366103c2565b610439610582565b8060601b1561044b576104199061059e565b637448fbae5f526004601cfd5b3461021b57610466366103c2565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff8211176104b557604052565b61047f565b67ffffffffffffffff81116104b557601f01601f191660200190565b9291926104e2826104ba565b916104f06040519384610493565b82948184528183011161021b578281602093845f960137010152565b6001600160a01b03926105208184846106a2565b638b78c6d81954851694168414610579576001600160a01b039261056a926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c6004206106a2565b1614610574575f90565b600190565b50505050600190565b638b78c6d81954330361059157565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106936001600160a01b0361069f92604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261063d607582610493565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610684603782610493565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106fd576041146106cb57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106fb5750506106be565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106da565b6040519061074c604083610493565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d156107a2573d90610789826104ba565b916107976040519384610493565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1299:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;163:1299:5;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;587:33;163:1299;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;548:24;587:33;:::i;:::-;586:34;582:73;;163:1299;;;;;:::i;:::-;;;:::i;:::-;3399:16:4;;;;:::i;:::-;2041:59;;;3425:53;;163:1299:5;3544:181:4;;;;163:1299:5;3544:181:4;-1:-1:-1;;;;;163:1299:5;;3738:19:4;3734:52;;3859:40;163:1299:5;3859:40:4;;;163:1299:5;3859:40:4;;;;;;;;;;:::i;:::-;;3913:8;163:1299:5;;3913:31:4;;163:1299:5;3909:67:4;;163:1299:5;;;;;;-1:-1:-1;;;;;163:1299:5;;;736:34;163:1299;736:34;;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;3909:67:4;3953:23;;;163:1299:5;3953:23:4;163:1299:5;;3953:23:4;3913:31;2041:59;;;3925:19;3913:31;;3734:52;3766:20;;;163:1299:5;3766:20:4;163:1299:5;;3766:20:4;3425:53;3457:21;;;163:1299:5;3457:21:4;163:1299:5;;3457:21:4;582:73:5;629:26;;;163:1299;629:26;163:1299;;629:26;163:1299;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;163:1299:5;;;;9239:383:20;;;;163:1299:5;9239:383:20;7972:9;9132:15;163:1299:5;9239:383:20;;;;;;163:1299:5;9239:383:20;;163:1299:5;;;;-1:-1:-1;;163:1299:5;;;;9831:339:20;;;;163:1299:5;9831:339:20;163:1299:5;9831:339:20;;;;;;163:1299:5;9831:339:20;;163:1299:5;;;;-1:-1:-1;;163:1299:5;;;;12478:70:20;;:::i;:::-;163:1299:5;6813:405:20;;;;;;;163:1299:5;-1:-1:-1;;6813:405:20;163:1299:5;;;;;;;-1:-1:-1;;163:1299:5;;;;;6813:405:20;;11523:61;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;1112:24;163:1299;;1112:24;:::i;:::-;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12478:70:20;;:::i;:::-;163:1299:5;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;163:1299:5;;;;;;;:::o;:::-;;;;:::i;:::-;12478:70:20;;:::i;:::-;10506:526;;;;;;;;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;:::-;163:1299:5;10506:526:20;;;;163:1299:5;10506:526:20;;163:1299:5;;;;:::i;:::-;12478:70:20;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;8479:183::-;;;;163:1299:5;8479:183:20;;163:1299:5;;;;;;;:::i;:::-;11885:237:20;;;-1:-1:-1;11885:237:20;;;;;;163:1299:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;-1:-1:-1;;163:1299:5;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;163:1299:5;;;;;;:::o;1149:311::-;-1:-1:-1;;;;;1149:311:5;1258:31;;;;;:::i;:::-;-1:-1:-1;;11523:61:20;163:1299:5;;;;1258:42;;1254:71;;-1:-1:-1;;;;;13414:265:21;1339:56:5;13414:265:21;;;;163:1299:5;13414:265:21;;;;1339:56:5;:::i;:::-;163:1299;1339:67;1335:96;;163:1299;1149:311;:::o;1335:96::-;1427:4;1420:11;:::o;1254:71::-;1314:11;;;;1321:4;1314:11;:::o;7292:355:20:-;-1:-1:-1;;7390:251:20;;;;;7292:355::o;7390:251::-;;;;;;;6145:1089;-1:-1:-1;;;;;6813:405:20;;;;;;-1:-1:-1;6813:405:20;;-1:-1:-1;;6813:405:20;6145:1089::o;4973:345:4:-;5140:157;-1:-1:-1;;;;;5115:196:4;4973:345;163:1299:5;;4215:237:4;;;1707:66;;;;;;4314:4;163:1299:5;;1707:66:4;;;163:1299:5;1707:66:4;;;163:1299:5;1707:66:4;;;;163:1299:5;1707:66:4;4215:237;;;;;;:::i;:::-;163:1299:5;4176:302:4;;163:1299:5;;-1:-1:-1;;;4215:237:4;5212:44;;163:1299:5;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;-1:-1:-1;;;163:1299:5;;;;;5212:44:4;;;163:1299:5;;5212:44:4;:::i;:::-;163:1299:5;5202:55:4;;-1:-1:-1;;;;;163:1299:5;;;5140:157:4;-1:-1:-1;;;;;163:1299:5;;;5115:196:4;4973:345;:::o;4336:1373:21:-;;;;;4521:1182;;;;;;;;;;;;;;;;;;163:1299:5;4521:1182:21;;;;;;;;;;;163:1299:5;4521:1182:21;;;;;;163:1299:5;4521:1182:21;;;;163:1299:5;4521:1182:21;;;;;163:1299:5;4521:1182:21;;;;;;;;;;;;4336:1373::o;4521:1182::-;;;;;;;;;;;;;;;;;;;;;;;;163:1299:5;;;;;;;;:::i;:::-;;;;;;;;;:::o;1485:52:4:-;;;;;;163:1299:5;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1485:52:4;-1:-1:-1;1485:52:4;;;;:::o;:::-;;;:::o","linkReferences":{}},"methodIdentifiers":{"addressOf(bytes32)":"bb34534c","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deploy(bytes32,bytes)":"cdcb760a","deploy(bytes32,bytes,bytes)":"19cdeff1","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBytecodeSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"addressOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/utils/Deployer.sol\":\"Deployer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/utils/Create3.sol\":{\"keccak256\":\"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181\",\"dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr\"]},\"contracts/utils/Deployer.sol\":{\"keccak256\":\"0xea1685a3cfa53acaa1bb943cd618a9b1fdb5f1cdf65363751b2d6fbdf4564875\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://30ae88c7855e31815c1e77a9ba9ba12f4aee2426517ad02d5e07d5414a158ae4\",\"dweb:/ipfs/QmRZ1hDZL1eDA8srKfRamCtaDgZcPXeRRfsb1wy9HTXUDU\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"ErrorCreatingContract"},{"inputs":[],"type":"error","name":"ErrorCreatingProxy"},{"inputs":[],"type":"error","name":"InvalidBytecodeSignature"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"TargetAlreadyExists"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address","indexed":true}],"type":"event","name":"ContractDeployed","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"stateMutability":"view","type":"function","name":"addressOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/utils/Deployer.sol":"Deployer"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/utils/Create3.sol":{"keccak256":"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41","urls":["bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181","dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr"],"license":"Unlicense"},"contracts/utils/Deployer.sol":{"keccak256":"0xea1685a3cfa53acaa1bb943cd618a9b1fdb5f1cdf65363751b2d6fbdf4564875","urls":["bzz-raw://30ae88c7855e31815c1e77a9ba9ba12f4aee2426517ad02d5e07d5414a158ae4","dweb:/ipfs/QmRZ1hDZL1eDA8srKfRamCtaDgZcPXeRRfsb1wy9HTXUDU"],"license":"Unlicense"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"}},"version":1},"id":5} \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index 1e5ef52..a3718d5 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -104,7 +104,7 @@ if [ $proceed = "y" ]; then { printf "Proceeding with deployment \n" mkdir -p ./logs/$CHAIN_NAME - forge script DeployGasdaddy false --sig "run(bool)" --rpc-url $CHAIN_NAME --etherscan-api-key $CHAIN_NAME --private-key $PRIVATE_KEY $VERIFY -vv --broadcast --slow $GAS_SUFFIX 1> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log 2> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy-errors.log + forge script DeployGasdaddy false --sig "run(bool)" --rpc-url $CHAIN_NAME --etherscan-api-key $CHAIN_NAME --private-key $PRIVATE_KEY $VERIFY -vv --broadcast --slow $GAS_SUFFIX # 1> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log 2> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy-errors.log } || { printf "Deployment failed\n See logs for more details\n" exit 1 diff --git a/scripts/bash-deploy/deploy-prerequisites.sh b/scripts/bash-deploy/deploy-prerequisites.sh index c704fb2..e87ba95 100644 --- a/scripts/bash-deploy/deploy-prerequisites.sh +++ b/scripts/bash-deploy/deploy-prerequisites.sh @@ -124,7 +124,7 @@ fi ### Create3 Deployer ### -CREATE3_DEPLOYER_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x0000007EC036cf611B5877d698c62297012a097E) +CREATE3_DEPLOYER_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x000000aFCC4940A247A53bEa5f3f4602433fe815) # printf "CREATE3 DEPLOYER Codesize: $CREATE3_DEPLOYER_SIZE\n" if [ $CREATE3_DEPLOYER_SIZE -eq 0 ]; then @@ -135,7 +135,7 @@ if [ $CREATE3_DEPLOYER_SIZE -eq 0 ]; then read -r -p "Do you want to rebuild create3 deployer? (y/n)" REBUILD if [ $REBUILD = "y" ]; then printf "Rebuilding create3 deployer artifacts...\n" - forge build + forge build > /dev/null cp ../../out/Deployer.sol/Deployer.json ./artifacts/Deployer/. else printf "Using existing create3 deployer artifacts\n" diff --git a/scripts/foundry/DeployDeployer.s.sol b/scripts/foundry/DeployDeployer.s.sol index 2cb1b41..4decec4 100644 --- a/scripts/foundry/DeployDeployer.s.sol +++ b/scripts/foundry/DeployDeployer.s.sol @@ -6,9 +6,9 @@ import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; contract DeployDeployer is Script { - bytes32 constant CREATE3_DEPLOYER_DEPLOYMENT_SALT = 0x00000000000000000000000000000000000000005328f95dfa58cf03e311ce44; + bytes32 constant CREATE3_DEPLOYER_DEPLOYMENT_SALT = 0x00000000000000000000000000000000000000007d24613b61566e02484a50c5; address constant DEPLOYER_OWNER = 0x336A8f5251F3b0723d04FBDD25858fca02BB22E3; - bytes32 constant DEPLOYER_BYTECODE_HASH = 0x2b2eaf7fbe1e33745154ad0e5e3e0dc0f415dc619e233ee0a317a9c1e7d53657; + bytes32 constant DEPLOYER_BYTECODE_HASH = 0xb474e2c7cd2df923dc66b1fbf61eb752b66b7aecb94e055878c3c75061de219c; function setUp() public {} @@ -19,7 +19,7 @@ contract DeployDeployer is Script { address expectedDeployer = DeterministicDeployerLib.computeAddress(bytecode, args, CREATE3_DEPLOYER_DEPLOYMENT_SALT); // initcode hash to look for the salt - // console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); bytes32 deployerBytecodeHash; uint256 codeLength; diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index e41e83b..66d063b 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -4,9 +4,18 @@ pragma solidity ^0.8.13; import {Script, console} from "forge-std/Script.sol"; import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; +interface Create3Deployer { + function addressOf(bytes32 salt) external view returns (address); + + function deploy(bytes32 salt, bytes calldata creationCode, bytes calldata signature) external returns (address); +} + contract DeployGasdaddy is Script { // SALTS - bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x0000000000000000000000000000000000000000000000000000000000000000; + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x0000000cc000000000000000000000000000000048da08a98903870005d16743; + + // CREATE3 DEPLOYER ADDRESS + address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; // CONSTRUCTOR ARGS address constant VERIFYING_PAYMASTER_OWNER = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; @@ -17,8 +26,12 @@ contract DeployGasdaddy is Script { uint256 constant MIN_DEPOSIT = 1e15; address constant ENTRY_POINT_V07 = 0x0000000071727De22E5E9d8BAf0edAc6f37da032; + Create3Deployer create3Deployer; + - function setUp() public {} + function setUp() public { + create3Deployer = Create3Deployer(CREATE3_DEPLOYER_ADDRESS); + } function run(bool check) public { if (check) { @@ -39,7 +52,7 @@ contract DeployGasdaddy is Script { PAYMASTER_ID_WITHDRAWAL_DELAY, MIN_DEPOSIT ); - address sponsorshipPM = DeterministicDeployerLib.computeAddress(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + address sponsorshipPM = create3Deployer.addressOf(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); uint256 codeSize; assembly { @@ -48,11 +61,15 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster address: ", sponsorshipPM, " || >> Code Size: ", codeSize); - //inicode hash to look for the salt - console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + //initcode hash to look for the salt + //console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); } function deployGasDaddy() public { + + // + // SPONSORSHIP PAYMASTER + // bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); bytes memory args = abi.encode( VERIFYING_PAYMASTER_OWNER, @@ -63,7 +80,7 @@ contract DeployGasdaddy is Script { PAYMASTER_ID_WITHDRAWAL_DELAY, MIN_DEPOSIT ); - address sponsorshipPM = DeterministicDeployerLib.computeAddress(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + address sponsorshipPM = create3Deployer.addressOf(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); uint256 codeSize; assembly { codeSize := extcodesize(sponsorshipPM) @@ -71,8 +88,14 @@ contract DeployGasdaddy is Script { if (codeSize > 0) { console.log("Sponsorship Paymaster already deployed at", sponsorshipPM); } else { - sponsorshipPM = DeterministicDeployerLib.broadcastDeploy(bytecode, args, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); + bytes memory initcode = abi.encodePacked(bytecode, args); + bytes memory signature = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //pre-computed signature + sponsorshipPM = create3Deployer.deploy(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, initcode, signature); console.log("Sponsorship Paymaster deployed at", sponsorshipPM); } + + // + // + // } } From 405301f65e1b25b842816048aea465f4c40b8533 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Wed, 11 Dec 2024 12:07:52 +0300 Subject: [PATCH 04/16] custom min deposit and vanity create3 address --- contracts/base/BasePaymaster.sol | 3 - .../BiconomySponsorshipPaymaster.sol | 8 --- .../BiconomySponsorshipPaymaster.json | 2 +- .../BiconomySponsorshipPaymaster/verify.json | 2 +- scripts/bash-deploy/deploy-gasdaddy.sh | 24 +++++++- scripts/foundry/DeployGasdaddy.s.sol | 56 +++++++++++++++---- 6 files changed, 68 insertions(+), 27 deletions(-) diff --git a/contracts/base/BasePaymaster.sol b/contracts/base/BasePaymaster.sol index e68a96e..002e56e 100644 --- a/contracts/base/BasePaymaster.sol +++ b/contracts/base/BasePaymaster.sol @@ -9,8 +9,6 @@ import { IPaymaster } from "account-abstraction/interfaces/IPaymaster.sol"; import { IEntryPoint } from "account-abstraction/interfaces/IEntryPoint.sol"; import "account-abstraction/core/UserOperationLib.sol"; -import {console} from "forge-std/console.sol"; - /** * Helper class for creating a paymaster. * provides helper methods for staking. @@ -25,7 +23,6 @@ abstract contract BasePaymaster is IPaymaster, SoladyOwnable { uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET; constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) { - console.log("0-0"); _validateEntryPointInterface(entryPointArg); entryPoint = entryPointArg; } diff --git a/contracts/sponsorship/BiconomySponsorshipPaymaster.sol b/contracts/sponsorship/BiconomySponsorshipPaymaster.sol index bf5d99a..19a11aa 100644 --- a/contracts/sponsorship/BiconomySponsorshipPaymaster.sol +++ b/contracts/sponsorship/BiconomySponsorshipPaymaster.sol @@ -14,8 +14,6 @@ import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeTransferLib } from "solady/utils/SafeTransferLib.sol"; import { IBiconomySponsorshipPaymaster } from "../interfaces/IBiconomySponsorshipPaymaster.sol"; -import {console} from "forge-std/console.sol"; - /** * @title BiconomySponsorshipPaymaster * @author livingrockrises @@ -67,19 +65,13 @@ contract BiconomySponsorshipPaymaster is ) BasePaymaster(owner, entryPointArg) { - console.log("0"); _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg); - console.log("1"); assembly ("memory-safe") { sstore(verifyingSigner.slot, verifyingSignerArg) } - console.log("2"); feeCollector = feeCollectorArg; - console.log("3"); unaccountedGas = unaccountedGasArg; - console.log("4"); paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg; - console.log("5"); minDeposit = minDepositArg; } diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json index 87807b8..b11e16c 100644 --- a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0612101803803809161001c826100cd565b60a039126100b55761006c60a0516100338161011b565b60c05161003f8161011b565b60e05161004b8161011b565b610100516100588161011b565b6101205191610140519361016051956101bf565b604051611c66908161049b8239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b60a0601f91909101601f19168101906001600160401b038211908210176100f357604052565b6100b9565b601f909101601f19168101906001600160401b038211908210176100f357604052565b6001600160a01b038116036100b557565b6040519061013b6040836100f8565b60018252565b61014961012c565b90600360fc1b6020830152565b61015e61012c565b90603160f81b6020830152565b61017361012c565b90601960f91b6020830152565b61018861012c565b90603360f81b6020830152565b61019d61012c565b90600d60fa1b6020830152565b6101b261012c565b90603560f81b6020830152565b95949295939091938060601b156102d0576001600160a01b0316638b78c6d8198190556102ce966102be956102ae9461029e935f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a361023d6040516102286040826100f8565b60038152620302d360ec1b60208201526102dd565b6102468161040b565b608052610259610254610141565b6102dd565b610264848383610341565b61026f610254610156565b5f5561027c61025461016b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6102a9610254610180565b600255565b6102b9610254610195565b600355565b6102c96102546101aa565b600455565b565b637448fbae5f526004601cfd5b5f809160405161032e60648260208082019563104c13eb60e21b87528160248401528051918291826044860152018484015e86838284010152601f801991011681010301601f1981018352826100f8565b51906a636f6e736f6c652e6c6f675afa50565b6001600160a01b03811661035e576381618de160e01b5f5260045ffd5b3b156103735763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661039057633fd0943d60e11b5f5260045ffd5b3b156103a557631f47525f60e21b5f5260045ffd5b620186a0106103b057565b63313db2a560e11b5f5260045ffd5b156103c657565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b6040516301ffc9a760e01b815263122a0e9b60e31b600482015290602090829060249082906001600160a01b03165afa801561048f575f90610452575b6102ce91506103bf565b506020813d602011610487575b8161046c602093836100f8565b810103126100b5575180151581036100b5576102ce90610448565b3d915061045f565b6040513d5f823e3d90fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1577:19210:7:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1577:19210:7;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;:::-;;;:::i;:::-;;-1:-1:-1;;;1577:19210:7;;;;:::o;2636:850::-;;;;;;;;;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:37;-1:-1:-1;;5710:347:37;;;3453:26:7;;3359:58;;3289:34;;3223:30;;-1:-1:-1;5710:347:37;-1:-1:-1;;5710:347:37;1154:18:0;1577:19210:7;;;;;;:::i;:::-;;;;-1:-1:-1;;;1577:19210:7;;;;1154:18:0;:::i;:::-;1211:13;;;:::i;:::-;1235:26;;2952:16:7;1577:19210;;:::i;:::-;2952:16;:::i;:::-;3037:17;;;;;:::i;:::-;3065:16;1577:19210;;:::i;3065:16::-;-1:-1:-1;3091:97:7;3197:16;1577:19210;;:::i;3197:16::-;1577:19210;;;-1:-1:-1;;;;;;1577:19210:7;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;3223:30;3263:16;1577:19210;;:::i;3263:16::-;3289:34;1577:19210;;3289:34;3333:16;1577:19210;;:::i;3333:16::-;1577:19210;;;3359:58;3427:16;1577:19210;;:::i;3427:16::-;3453:26;1577:19210;;3453:26;2636:850::o;198:181:10:-;;;;;;;6114:121:11;-1:-1:-1;6114:121:11;;1577:19210:7;;6185:42:11;1577:19210:7;6185:42:11;;;;;;;;;;;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6185:42:11;;1577:19210:7;;6185:42:11;;;;;;:::i;:::-;1577:19210:7;762:159:11;131:42;762:159;;;6114:121::o;19585:708:7:-;-1:-1:-1;;;;;1577:19210:7;;;;19829:29;;;19804:1;19829:29;;19804:1;19829:29;19770:517;6297:74:0;6387:8;19879:31:7;;19933:33;;;19804:1;19933:33;;19804:1;19933:33;19875:412;-1:-1:-1;;;;;1577:19210:7;;;;20039:26;;;19804:1;20039:26;;19804:1;20039:26;19983:304;6297:74:0;6387:8;20086:28:7;;20137:30;;;19804:1;20137:30;;19804:1;20137:30;20082:205;2419:7;-1:-1:-1;20184:103:7;;19585:708::o;20184:103::-;20253:23;;;19804:1;20253:23;;19804:1;20253:23;1577:19210;;;;:::o;:::-;;;-1:-1:-1;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;3806:256:0;1577:19210:7;;-1:-1:-1;;;3919:80:0;;-1:-1:-1;;;3919:80:0;;;1577:19210:7;;;;;;3919:80:0;;1577:19210:7;;-1:-1:-1;;;;;1577:19210:7;3919:80:0;;;;;;-1:-1:-1;3919:80:0;;;3806:256;3898:157;;;;:::i;3919:80::-;;1577:19210:7;3919:80:0;;1577:19210:7;3919:80:0;;;;;;1577:19210:7;3919:80:0;;;:::i;:::-;;;1577:19210:7;;;;;;;;;;;;3898:157:0;;3919:80;;;;;-1:-1:-1;3919:80:0;;;1577:19210:7;;;-1:-1:-1;1577:19210:7;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1577:19210:7:-:0;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;3555:9;1577:19210;;3534:31;1577:19210;3543:10;3534:31;;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;11885:237:37;;;;;1577:19210:7;11885:237:37;;;;1577:19210:7;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:37;;;:::i;:::-;5635:37:7;;;5631:71;;5717:9;5728:23;;;;;;1577:19210;;;5753:3;5812:10;;;;;:::i;:::-;1577:19210;5792:15;;;;;;:::i;:::-;1577:19210;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;5772:19;1577:19210;;5772:50;1577:19210;;;;;;5772:50;:::i;:::-;1577:19210;;;5717:9;;1577:19210;;;;5631:71;-1:-1:-1;;;5681:21:7;;1577:19210;5681:21;;1577:19210;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;-1:-1:-1;;;;;1577:19210:7;;:::i;:::-;;;;11561:19;1577:19210;;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1577:19210:7;;8479:183:37;;;;1577:19210:7;8479:183:37;;1577:19210:7;;;;;;;;;;;;;;1983:41;1577:19210;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;10506:526;;;;;;1577:19210:7;10506:526:37;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1577:19210:7;10506:526:37;;1577:19210:7;;;;;;;;;;;;;10764:10;1577:19210;;10754:9;1577:19210;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;10790:41;1577:19210;;;10764:10;1577:19210;;10790:41;1577:19210;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8274:22:7;;1577:19210;;8274:22;1577:19210;;;;;;;;;;;;;;-1:-1:-1;;;;;1915:27:7;1577:19210;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3645:35:0;;3674:4;1577:19210:7;3645:35:0;;1577:19210:7;;;3645:35:0;1577:19210:7;3645:10:0;-1:-1:-1;;;;;1577:19210:7;3645:35:0;;;;;;;;;;;1577:19210:7;;;;;;;;;3645:35:0;;;1577:19210:7;3645:35:0;;1577:19210:7;3645:35:0;;;;;;1577:19210:7;3645:35:0;;;:::i;:::-;;;1577:19210:7;;;;;;;;3645:35:0;;;;;;-1:-1:-1;3645:35:0;;;1577:19210:7;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;-1:-1:-1;;;;;2183:10:0;1577:19210:7;2183:41:0;;;;;;-1:-1:-1;;;;;2183:41:0;1577:19210:7;;;;;;;;;;;;;2183:41:0;;1577:19210:7;;2183:41:0;;1577:19210:7;2183:41:0;;;;;;;;1577:19210:7;;2183:41:0;;;;;:::i;:::-;1577:19210:7;;2183:41:0;1577:19210:7;2183:41:0;1577:19210:7;;;;;;;;;;;;;;;;12478:70:37;;:::i;:::-;1846:10:0;-1:-1:-1;;;;;1846:10:0;1577:19210:7;1846:24:0;;;;;1577:19210:7;;;;;;;;;;;;;1846:24:0;;;;;;;;;;1577:19210:7;;1846:24:0;1577:19210:7;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;705:39:0;1577:19210:7;;;;;;;;;;;;;;;;;;1948:29;1577:19210;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;-1:-1:-1;;;;;1577:19210:7;;:::i;:::-;1181:103:23;;:::i;:::-;1577:19210:7;3890:25;;3886:63;;3963:9;:14;3959:48;;1577:19210;;;4021:19;1577:19210;;4021:44;3963:9;1577:19210;;;;4021:44;:::i;:::-;1577:19210;;-1:-1:-1;4017:82:7;;1577:19210;;;4021:19;1577:19210;;;;;4109:45;3963:9;1577:19210;;4109:45;:::i;:::-;1577:19210;;4164:10;-1:-1:-1;;;;;4164:10:7;1577:19210;4164:55;;;;;1577:19210;4164:55;1577:19210;;;;;;;;;;4164:55;;4213:4;1577:19210;4164:55;;1577:19210;3963:9;4164:55;;;;;;;;;1577:19210;3963:9;;;4234:36;;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;4164:55;;;;;:::i;:::-;1577:19210;;4164:55;;;;4017:82;-1:-1:-1;;;4087:12:7;;1577:19210;4087:12;;3959:48;-1:-1:-1;;;3986:21:7;;1577:19210;3986:21;;3886:63;-1:-1:-1;;;3924:25:7;;1577:19210;6234:25;3924;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;6297:74:0;;7309:71:7;;-1:-1:-1;;;;;1577:19210:7;7394:29;;7390:68;;7494:12;1577:19210;;;-1:-1:-1;;1577:19210:7;;;7494:12;1577:19210;-1:-1:-1;;;;;7615:10:7;1577:19210;;7561:65;;;;1577:19210;;7390:68;-1:-1:-1;;;7432:26:7;;1577:19210;7432:26;;7309:71;-1:-1:-1;;;7350:30:7;;1577:19210;7350:30;;1577:19210;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;12478:70:37;;:::i;:::-;1577:19210:7;;;6741:44;;;;1577:19210;;;;;;;;;;;;;;;;;;6813:405:37;;11523:61;-1:-1:-1;;;;;1577:19210:7;;;;;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:37;;;:::i;:::-;1577:19210:7;6200:25;;;6196:63;;1577:19210;;;6273:20;1577:19210;;;;;;;;;;;6273:46;6269:186;;1577:19210;;;6269:186;1577:19210;6399:45;1577:19210;;;;6273:20;1577:19210;;;;;;;;;;;;;;;;;;;;;6399:45;6269:186;;1577:19210;;;6196:63;-1:-1:-1;;;6234:25:7;;1577:19210;6234:25;;1577:19210;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2268:298:0;;;;;;:::i;:::-;14918:47:7;;1577:19210;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;15335:31;2182:3;15257:27;15130:56;15147:38;1577:19210;;15147:14;1577:19210;15147:38;:::i;:::-;1577:19210;;15130:56;:::i;:::-;15257:27;;;:::i;:::-;1577:19210;15335:31;;;:::i;:::-;1577:19210;-1:-1:-1;;;;;1577:19210:7;;;;;15429:19;1577:19210;;;;;15429:44;1577:19210;;;15429:44;:::i;:::-;1577:19210;;15488:34;;;;;;;15623;;;:::i;:::-;1577:19210;;;15429:19;1577:19210;;15586:72;1577:19210;;;;;;15586:72;:::i;:::-;1577:19210;;15484:369;15989:57;;;;1577:19210;;15484:369;15791:34;;;;:::i;:::-;1577:19210;;;15429:19;1577:19210;;15754:72;1577:19210;;;;;;15754:72;:::i;:::-;1577:19210;;15484:369;;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;12478:70:37;;:::i;:::-;2419:7:7;7912:30;;7908:91;;8027:14;1577:19210;;8027:14;1577:19210;8088:38;;;;1577:19210;;7908:91;-1:-1:-1;;;7965:23:7;;1577:19210;7965:23;;1577:19210;;;;;;;;;;12478:70:37;;:::i;:::-;6813:405;;;;;;;;;;;;1577:19210:7;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;12478:70:37;;:::i;:::-;6297:74:0;;4754:77:7;;-1:-1:-1;;;;;1577:19210:7;;4845:32;;4841:99;;-1:-1:-1;;;;;1577:19210:7;;;4994:97;;;5159:10;5105:65;;;;;1577:19210;;4841:99;-1:-1:-1;;;4900:29:7;;1577:19210;4900:29;;4754:77;-1:-1:-1;;;4798:33:7;;1577:19210;4798:33;;1577:19210;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;;9008:29;;9004:71;;9089:11;;9085:50;;9190:10;1577:19210;;9170:19;1577:19210;;;;;;9215:23;;9211:64;;9438:51;1577:19210;;;;;;;;:::i;:::-;;;;;;9321:102;;1577:19210;;;9321:102;;;9405:15;;1577:19210;;9190:10;1577:19210;;9285:9;1577:19210;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;9438:51;1577:19210;;9211:64;-1:-1:-1;;;9247:28:7;;1577:19210;9247:28;;9085:50;-1:-1:-1;;;9109:26:7;;1577:19210;10322:26;9109;9004:71;-1:-1:-1;;;9046:29:7;;1577:19210;20605:29;9046;1577:19210;;;;;;;;;;9831:339:37;;;;;;;;;;;;;;;;1577:19210:7;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;16875:2704;1577:19210;2813:22:0;;;:::i;:::-;1577:19210:7;;;;;16875:2704;:::i;:::-;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;:::i;:::-;;;12478:70:37;;;:::i;:::-;1181:103:23;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;20576:20;;;20572:62;;13252:754:39;;;;;;;;1577:19210:7;13252:754:39;1577:19210:7;13252:754:39;;;;;;1577:19210:7;13252:754:39;;;;;;;1577:19210:7;13252:754:39;;;;20719:59:7;1577:19210;;;20767:10;1577:19210;;20719:59;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;13252:754:39;;;;;;;;;;;;;;;;;1577:19210:7;13252:754:39;;20572:62:7;-1:-1:-1;;;20605:29:7;;1577:19210;20605:29;;1577:19210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;1181:103:23;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;;;;;9847:9;1577:19210;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;9883:34;9879:67;;1577:19210;9985:54;;10017:22;;;:::i;:::-;9985:54;;:::i;:::-;10053:15;;:36;10049:89;;-1:-1:-1;1577:19210:7;;;10173:19;1577:19210;;;;;;;;10228:27;;;;;;:57;;;1577:19210;;;10298:15;10295:53;;1577:19210;;10393:27;;;:::i;:::-;1577:19210;;;10173:19;1577:19210;;;;;;;;;9847:9;1577:19210;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;10469:10;-1:-1:-1;;;;;10469:10:7;1577:19210;-1:-1:-1;;;;;1577:19210:7;;;;;10469:50;;;;;;1577:19210;;;;;;;;;;;;;10469:50;;1577:19210;10469:50;;1577:19210;;;;;10469:50;;;;;;;;10228:57;1577:19210;;-1:-1:-1;;;;;1577:19210:7;;;;;10534:45;;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;10469:50;;;;;:::i;:::-;1577:19210;;10469:50;;;;10295:53;-1:-1:-1;;;10322:26:7;;1577:19210;10322:26;;10228:57;;;10049:89;-1:-1:-1;;;10098:40:7;;1577:19210;;;10098:40;;9879:67;-1:-1:-1;;;9926:20:7;;1577:19210;9926:20;;1577:19210;;;;;;;;;;9239:383:37;;;;;;7972:9;9132:15;1577:19210:7;9239:383:37;;;;;;;;;1577:19210:7;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;-1:-1:-1;;1577:19210:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;11290:22:7;;;1577:19210;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1577:19210:7;;12478:70:37;;;:::i;:::-;1181:103:23;;:::i;:::-;1577:19210:7;10976:35;;;;;;;;1577:19210;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;11025:8;11021:64;;11099:31;;;;3550:68:24;637:66:23;3550:68:24;1577:19210:7;;11021:64;-1:-1:-1;;;11056:18:7;;1577:19210;11056:18;;1577:19210;;;;-1:-1:-1;1577:19210:7;;-1:-1:-1;;1577:19210:7;;;;;;;;;;;;;;12478:70:37;;:::i;:::-;-1:-1:-1;;;;;1572:10:0;1577:19210:7;1572:56:0;;;;;;1577:19210:7;;1572:56:0;1577:19210:7;;;;;;;;;1572:56:0;;1577:19210:7;1572:56:0;;1577:19210:7;1600:9:0;1572:56;;;;;;;;;1577:19210:7;;;1572:56:0;;;;1577:19210:7;1572:56:0;;:::i;:::-;1577:19210:7;1572:56:0;1577:19210:7;;;;;;;;;1572:56:0;1577:19210:7;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1577:19210:7;;;;;-1:-1:-1;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1577:19210:7;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2303:22::-;;;;;-1:-1:-1;;;;;;2303:22:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2303:22:7;;;;;;;;;1577:19210;2303:22;;;:::o;13020:1250::-;;;;2303:22;1577:19210;2303:22;;;490:2:30;2303:22:7;;;;;13587:69;2303:22;1577:19210;2303:22;;;13580:77;2303:22;1577:19210;2303:22;;13580:77;:::i;:::-;2303:22;;13699:69;2303:22;1577:19210;2303:22;;;13692:77;2303:22;1577:19210;2303:22;;13692:77;:::i;:::-;2303:22;;13812:69;2303:22;1577:19210;2303:22;;;1577:19210;2303:22;;;;1577:19210;;13878:2;2303:22;-1:-1:-1;2303:22:7;;13541:2;2303:22;;923:44:0;;;;490:2:30;2303:22:7;-1:-1:-1;2303:22:7;;13878:2;2303:22;;923:44:0;;;;1577:19210:7;2303:22;;-1:-1:-1;;2303:22:7;;13020:1250::o;1577:19210::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1577:19210:7;;;;;;:::o;12014:1000::-;;;;;1577:19210;12515:15;;;;;;:::i;:::-;1577:19210;;;:::i;:::-;12475:12;1577:19210;;;;12505:26;12559:15;1577:19210;12559:15;;;;;;:::i;1577:19210::-;12475:12;1577:19210;;;;12549:26;12650:23;;;;;;;:::i;:::-;490:2:30;2303:22:7;;;12515:15;1577:19210;12423:574;12475:12;12423:574;;823:61:30;;;-1:-1:-1;;;;;1577:19210:7;;;12475:12;;;1577:19210;12515:15;1577:19210;;;12559:15;1577:19210;;;12593:23;1577:19210;;;12593:23;;;1577:19210;12750:25;1577:19210;;;372:2:30;2303:22:7;1577:19210;12793:14;1577:19210;;;12750:25;;;1577:19210;12650:23;1577:19210;;;12793:14;;1577:19210;;;;;12825:13;1577:19210;;;;12864:4;1577:19210;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;12423:574;;;;;;:::i;:::-;1577:19210;12400:607;;12014:1000;:::o;1577:19210::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:37;-1:-1:-1;;7390:251:37;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:23;637:66;3321:69:24;1413:93:23;;1624:4;637:66;3550:68:24;1290:346:23:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:23;;-1:-1:-1;1465:30:23;20299:179:7;-1:-1:-1;;;;;1577:19210:7;;;20385:20;1577:19210;;;;;;;;20381:47;;20445:26;1577:19210;20299:179;:::o;20381:47::-;1577:19210;20420:8;:::o;6006:135:0:-;-1:-1:-1;;;;;6097:10:0;1577:19210:7;6075:10:0;:33;1577:19210:7;;6006:135:0:o;1577:19210:7:-;;;-1:-1:-1;;;1577:19210:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16875:2704::-;;;1577:19210;17094:22;17448:23;;;;17426:46;17448:23;;;;:::i;:::-;17426:46;;:::i;:::-;17785:2;17765:22;;;;;;;;;;;;;;:48;;;16875:2704;17761:110;;17885:14;1577:19210;4143:23:30;;;;;:::i;:::-;490:2;2303:22:7;;;434:2:30;2303:22:7;923:44:0;;;17885:46:7;;17881:106;;1577:19210;18028:65;;;;;;;;;:::i;:::-;13414:265:38;;;1577:19210:7;13414:265:38;;;;1577:19210:7;;;;:::i;:::-;18027:144;1577:19210;8517:1041:38;17785:2:7;8517:1041:38;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;18013:187;:202;;;;8517:1041:38;18013:202:7;18304:9;18300:102;;1577:19210;;18450:17;18464:3;18450:17;;:38;;;;18013:202;18446:96;;18730:23;;;;:::i;:::-;490:2:30;2303:22:7;;;434:2:30;-1:-1:-1;;;;;18722:85:7;2303:22;923:44:0;;;;-1:-1:-1;;;;;923:44:0;18666:23:7;;1577:19210;;;-1:-1:-1;;;;;1577:19210:7;;;;-1:-1:-1;;;;;18825:2:7;1577:19210;;;;-1:-1:-1;;;;;1577:19210:7;;;;;;;18959:62;18958:78;3382:14:30;18977:44:7;2182:3;3382:14:30;18870:3:7;18632:225;-1:-1:-1;;;;;3382:14:30;;;;1577:19210:7;;18632:225;;;:::i;:::-;1577:19210;18977:44;;:::i;18959:62::-;18958:78;:::i;:::-;1577:19210;-1:-1:-1;;;;;19074:26:7;;;;:::i;:::-;1577:19210;;;;;;19103:19;13414:265:38;1577:19210:7;17785:2;1577:19210;;;-1:-1:-1;19070:132:7;;-1:-1:-1;;;19249:26:7;;-1:-1:-1;;;;;;19249:26:7;;;:::i;:::-;1577:19210;;;19103:19;13414:265:38;1577:19210:7;19212:64;17785:2;1577:19210;;;;;19212:64;:::i;:::-;1577:19210;;17785:2;1577:19210;19297:51;13414:265:38;19297:51:7;;1577:19210;17785:2;2182:3;;1577:19210;;2182:3;;1577:19210;;19297:51;;;923:44:0;19297:51:7;;:::i;:::-;2683:8:29;1577:19210:7;;;2643:3:29;1577:19210:7;;2589:104:29;16875:2704:7;:::o;19070:132::-;19158:33;;;1577:19210;19158:33;13414:265:38;1577:19210:7;19158:33;18446:96;18511:20;;;1577:19210;18511:20;13414:265:38;1577:19210:7;18511:20;18450:38;18471:17;18485:3;18471:17;;18450:38;;18300:102;18341:49;;;8517:1041:38;18341:49:7;;;-1:-1:-1;;;18341:49:7;;-1:-1:-1;;;;;;18341:49:7;;2683:8:29;1577:19210:7;;;2643:3:29;1577:19210:7;;2589:104:29;;1577:19210:7;17785:2;1577:19210;;13414:265:38;1577:19210:7;;:::i;:::-;;;;18329:62;;:::o;18013:202::-;1577:19210;18013:202;;8517:1041:38;;;;;1577:19210:7;8517:1041:38;13414:265;8517:1041;17785:2:7;8517:1041:38;;;;;;-1:-1:-1;8517:1041:38;;;1577:19210:7;8517:1041:38;;17785:2:7;8517:1041:38;13414:265;17785:2:7;923:44:0;1577:19210:7;8517:1041:38;;;;1577:19210:7;8517:1041:38;;;;;;17785:2:7;8517:1041:38;;;;;;;;;;;;17785:2:7;8517:1041:38;;;;;;;13414:265;8517:1041;;;;;;17881:106:7;17954:22;;;1577:19210;17954:22;;1577:19210;17954:22;17761:110;17836:24;;;1577:19210;17836:24;;1577:19210;17836:24;17765:48;17791:22;17811:2;17791:22;;;17765:48;;6145:1089:37;-1:-1:-1;;;;;6813:405:37;;;;;;-1:-1:-1;6813:405:37;;-1:-1:-1;;6813:405:37;6145:1089::o","linkReferences":{},"immutableReferences":{"19":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xc95780f630a393e65f39873f4f4b9446507cfcbd2beb5d706efd509d3e919853\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://52728107fa47d986743cc07b5d8e22d4a019720d59623ae6e436dbf5912cb948\",\"dweb:/ipfs/QmVKrcs3Mtz6gQ8s6EaC9BPk3mu4Rz4ZBqgRxWHERv9DAM\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0xa3065455a1bed080af563fa5060edb49c25a40ef61a03689035d21fff3664c23\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://f80c9b2a747ea6c9982163a491b9e59917e6b85fcbe012e7a6e6eba0fd5c8fd7\",\"dweb:/ipfs/Qmb8kNpXXefwquY6Tc3mRvyPjWp6ekv5f4E5VMTDi8A6o4\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0xf61cb43a94d8318049d0a7f567af8c0aa952b5762a43851b130b90b3fcde0c6a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53a52c6c3aeb22f7a18f53fca16af590308a8e3e5507e74df9b8e2561c932194\",\"dweb:/ipfs/QmaaXuY8mC66YoE2xyZdWuLHXqAxLjbnNxiofx8BTP1MRn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xc95780f630a393e65f39873f4f4b9446507cfcbd2beb5d706efd509d3e919853","urls":["bzz-raw://52728107fa47d986743cc07b5d8e22d4a019720d59623ae6e436dbf5912cb948","dweb:/ipfs/QmVKrcs3Mtz6gQ8s6EaC9BPk3mu4Rz4ZBqgRxWHERv9DAM"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0xa3065455a1bed080af563fa5060edb49c25a40ef61a03689035d21fff3664c23","urls":["bzz-raw://f80c9b2a747ea6c9982163a491b9e59917e6b85fcbe012e7a6e6eba0fd5c8fd7","dweb:/ipfs/Qmb8kNpXXefwquY6Tc3mRvyPjWp6ekv5f4E5VMTDi8A6o4"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"lib/forge-std/src/console.sol":{"keccak256":"0xf61cb43a94d8318049d0a7f567af8c0aa952b5762a43851b130b90b3fcde0c6a","urls":["bzz-raw://53a52c6c3aeb22f7a18f53fca16af590308a8e3e5507e74df9b8e2561c932194","dweb:/ipfs/QmaaXuY8mC66YoE2xyZdWuLHXqAxLjbnNxiofx8BTP1MRn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0611f96803803809161001c826100b9565b60a039126100b55761006c60a05161003381610116565b60c05161003f81610116565b60e05161004b81610116565b6101005161005881610116565b610120519161014051936101605195610127565b604051611c6690816103308239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b60a0601f91909101601f19168101906001600160401b038211908210176100df57604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176100df57604052565b6001600160a01b038116036100b557565b95949291959390938060601b15610240576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b6004820152916020836024816001600160a01b0389165afa90811561023557610204976101ff966101c36101f5946101fa975f91610206575b506102e3565b6080526101d184838361024d565b5f55600180546001600160a01b0319166001600160a01b0392909216919091179055565b600255565b600355565b600455565b565b610228915060203d60201161022e575b61022081836100f3565b8101906102cb565b5f6101bd565b503d610216565b6040513d5f823e3d90fd5b637448fbae5f526004601cfd5b6001600160a01b03811661026a576381618de160e01b5f5260045ffd5b3b1561027f5763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661029c57633fd0943d60e11b5f5260045ffd5b3b156102b157631f47525f60e21b5f5260045ffd5b620186a0106102bc57565b63313db2a560e11b5f5260045ffd5b908160209103126100b5575180151581036100b55790565b156102ea57565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:7:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:7;;;;;-1:-1:-1;1529:19054:7;;;;;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1529:19054:7;;;;;:::o;2588:694::-;;;;;;;;;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:130;-1:-1:-1;;5710:347:130;;;-1:-1:-1;5710:347:130;-1:-1:-1;;5710:347:130;1529:19054:7;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;1529:19054:7;;;;3843:80:0;1529:19054:7;-1:-1:-1;;;;;1529:19054:7;;3843:80:0;;;;;;;3249:26:7;3843:80:0;3181:58:7;3843:80:0;3822:157;3097:30:7;3843:80:0;3137:34:7;3843:80:0;-1:-1:-1;3843:80:0;;;2588:694:7;3822:157:0;;:::i;:::-;1159:26;;2963:17:7;;;;;:::i;:::-;-1:-1:-1;2991:97:7;1529:19054;;;-1:-1:-1;;;;;;1529:19054:7;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;3097:30;3137:34;1529:19054;;3137:34;3181:58;1529:19054;;3181:58;3843:80:0;1529:19054:7;;3249:26;2588:694::o;3843:80:0:-;;;;1529:19054:7;3843:80:0;1529:19054:7;3843:80:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1529:19054:7;;;-1:-1:-1;1529:19054:7;;;;;198:181:10;;;;;;;19381:708:7;-1:-1:-1;;;;;1529:19054:7;;;;19625:29;;;19600:1;19625:29;;19600:1;19625:29;19566:517;6221:74:0;6311:8;19675:31:7;;19729:33;;;19600:1;19729:33;;19600:1;19729:33;19671:412;-1:-1:-1;;;;;1529:19054:7;;;;19835:26;;;19600:1;19835:26;;19600:1;19835:26;19779:304;6221:74:0;6311:8;19882:28:7;;19933:30;;;19600:1;19933:30;;19600:1;19933:30;19878:205;2371:7;-1:-1:-1;19980:103:7;;19381:708::o;19980:103::-;20049:23;;;19600:1;20049:23;;19600:1;20049:23;1529:19054;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1529:19054:7;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:7:-:0;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;;3351:9;1529:19054;;3330:31;1529:19054;3339:10;3330:31;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;11885:237:130;;;;;1529:19054:7;11885:237:130;;;;1529:19054:7;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:130;;;:::i;:::-;5431:37:7;;;5427:71;;5513:9;5524:23;;;;;;1529:19054;;;5549:3;5608:10;;;;;:::i;:::-;1529:19054;5588:15;;;;;;:::i;:::-;1529:19054;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;5568:19;1529:19054;;5568:50;1529:19054;;;;;;5568:50;:::i;:::-;1529:19054;;;5513:9;;1529:19054;;;;5427:71;-1:-1:-1;;;5477:21:7;;1529:19054;5477:21;;1529:19054;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;-1:-1:-1;;;;;1529:19054:7;;:::i;:::-;;;;11357:19;1529:19054;;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1529:19054:7;;8479:183:130;;;;1529:19054:7;8479:183:130;;1529:19054:7;;;;;;;;;;;;;;1935:41;1529:19054;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;10506:526;;;;;;1529:19054:7;10506:526:130;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1529:19054:7;10506:526:130;;1529:19054:7;;;;;;;;;;;;;10560:10;1529:19054;;10550:9;1529:19054;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;10586:41;1529:19054;;;10560:10;1529:19054;;10586:41;1529:19054;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8070:22:7;;1529:19054;;8070:22;1529:19054;;;;;;;;;;;;;;-1:-1:-1;;;;;1867:27:7;1529:19054;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;1529:19054:7;3569:35:0;;1529:19054:7;;;3569:35:0;1529:19054:7;3569:10:0;-1:-1:-1;;;;;1529:19054:7;3569:35:0;;;;;;;;;;;1529:19054:7;;;;;;;;;3569:35:0;;;1529:19054:7;3569:35:0;;1529:19054:7;3569:35:0;;;;;;1529:19054:7;3569:35:0;;;:::i;:::-;;;1529:19054:7;;;;;;;;3569:35:0;;;;;;-1:-1:-1;3569:35:0;;;1529:19054:7;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;1529:19054:7;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;1529:19054:7;;;;;;;;;;;;;2107:41:0;;1529:19054:7;;2107:41:0;;1529:19054:7;2107:41:0;;;;;;;;1529:19054:7;;2107:41:0;;;;;:::i;:::-;1529:19054:7;;2107:41:0;1529:19054:7;2107:41:0;1529:19054:7;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;1529:19054:7;1770:24:0;;;;;1529:19054:7;;;;;;;;;;;;;1770:24:0;;;;;;;;;;1529:19054:7;;1770:24:0;1529:19054:7;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;1529:19054:7;;;;;;;;;;;;;;;;;;1900:29;1529:19054;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;:::i;:::-;1181:103:49;;:::i;:::-;1529:19054:7;3686:25;;3682:63;;3759:9;:14;3755:48;;1529:19054;;;3817:19;1529:19054;;3817:44;3759:9;1529:19054;;;;3817:44;:::i;:::-;1529:19054;;-1:-1:-1;3813:82:7;;1529:19054;;;3817:19;1529:19054;;;;;3905:45;3759:9;1529:19054;;3905:45;:::i;:::-;1529:19054;;3960:10;-1:-1:-1;;;;;3960:10:7;1529:19054;3960:55;;;;;1529:19054;3960:55;1529:19054;;;;;;;;;;3960:55;;4009:4;1529:19054;3960:55;;1529:19054;3759:9;3960:55;;;;;;;;;1529:19054;3759:9;;;4030:36;;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;3960:55;;;;;:::i;:::-;1529:19054;;3960:55;;;;3813:82;-1:-1:-1;;;3883:12:7;;1529:19054;3883:12;;3755:48;-1:-1:-1;;;3782:21:7;;1529:19054;3782:21;;3682:63;-1:-1:-1;;;3720:25:7;;1529:19054;6030:25;3720;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;7105:71:7;;-1:-1:-1;;;;;1529:19054:7;7190:29;;7186:68;;7290:12;1529:19054;;;-1:-1:-1;;1529:19054:7;;;7290:12;1529:19054;-1:-1:-1;;;;;7411:10:7;1529:19054;;7357:65;;;;1529:19054;;7186:68;-1:-1:-1;;;7228:26:7;;1529:19054;7228:26;;7105:71;-1:-1:-1;;;7146:30:7;;1529:19054;7146:30;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;12478:70:130;;:::i;:::-;1529:19054:7;;;6537:44;;;;1529:19054;;;;;;;;;;;;;;;;;;6813:405:130;;11523:61;-1:-1:-1;;;;;1529:19054:7;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:130;;;:::i;:::-;1529:19054:7;5996:25;;;5992:63;;1529:19054;;;6069:20;1529:19054;;;;;;;;;;;6069:46;6065:186;;1529:19054;;;6065:186;1529:19054;6195:45;1529:19054;;;;6069:20;1529:19054;;;;;;;;;;;;;;;;;;;;;6195:45;6065:186;;1529:19054;;;5992:63;-1:-1:-1;;;6030:25:7;;1529:19054;6030:25;;1529:19054;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2192:298:0;;;;;;:::i;:::-;14714:47:7;;1529:19054;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;15131:31;2134:3;15053:27;14926:56;14943:38;1529:19054;;14943:14;1529:19054;14943:38;:::i;:::-;1529:19054;;14926:56;:::i;:::-;15053:27;;;:::i;:::-;1529:19054;15131:31;;;:::i;:::-;1529:19054;-1:-1:-1;;;;;1529:19054:7;;;;;15225:19;1529:19054;;;;;15225:44;1529:19054;;;15225:44;:::i;:::-;1529:19054;;15284:34;;;;;;;15419;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15382:72;1529:19054;;;;;;15382:72;:::i;:::-;1529:19054;;15280:369;15785:57;;;;1529:19054;;15280:369;15587:34;;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15550:72;1529:19054;;;;;;15550:72;:::i;:::-;1529:19054;;15280:369;;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;12478:70:130;;:::i;:::-;2371:7:7;7708:30;;7704:91;;7823:14;1529:19054;;7823:14;1529:19054;7884:38;;;;1529:19054;;7704:91;-1:-1:-1;;;7761:23:7;;1529:19054;7761:23;;1529:19054;;;;;;;;;;12478:70:130;;:::i;:::-;6813:405;;;;;;;;;;;;1529:19054:7;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;4550:77:7;;-1:-1:-1;;;;;1529:19054:7;;4641:32;;4637:99;;-1:-1:-1;;;;;1529:19054:7;;;4790:97;;;4955:10;4901:65;;;;;1529:19054;;4637:99;-1:-1:-1;;;4696:29:7;;1529:19054;4696:29;;4550:77;-1:-1:-1;;;4594:33:7;;1529:19054;4594:33;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;;8804:29;;8800:71;;8885:11;;8881:50;;8986:10;1529:19054;;8966:19;1529:19054;;;;;;9011:23;;9007:64;;9234:51;1529:19054;;;;;;;;:::i;:::-;;;;;;9117:102;;1529:19054;;;9117:102;;;9201:15;;1529:19054;;8986:10;1529:19054;;9081:9;1529:19054;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;9234:51;1529:19054;;9007:64;-1:-1:-1;;;9043:28:7;;1529:19054;9043:28;;8881:50;-1:-1:-1;;;8905:26:7;;1529:19054;10118:26;8905;8800:71;-1:-1:-1;;;8842:29:7;;1529:19054;20401:29;8842;1529:19054;;;;;;;;;;9831:339:130;;;;;;;;;;;;;;;;1529:19054:7;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;16671:2704;1529:19054;2737:22:0;;;:::i;:::-;1529:19054:7;;;;;16671:2704;:::i;:::-;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;:::i;:::-;;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;20372:20;;;20368:62;;13252:754:134;;;;;;;;1529:19054:7;13252:754:134;1529:19054:7;13252:754:134;;;;;;1529:19054:7;13252:754:134;;;;;;;1529:19054:7;13252:754:134;;;;20515:59:7;1529:19054;;;20563:10;1529:19054;;20515:59;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;13252:754:134;;;;;;;;;;;;;;;;;1529:19054:7;13252:754:134;;20368:62:7;-1:-1:-1;;;20401:29:7;;1529:19054;20401:29;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;1181:103:49;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;;;;;9643:9;1529:19054;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;9679:34;9675:67;;1529:19054;9781:54;;9813:22;;;:::i;:::-;9781:54;;:::i;:::-;9849:15;;:36;9845:89;;-1:-1:-1;1529:19054:7;;;9969:19;1529:19054;;;;;;;;10024:27;;;;;;:57;;;1529:19054;;;10094:15;10091:53;;1529:19054;;10189:27;;;:::i;:::-;1529:19054;;;9969:19;1529:19054;;;;;;;;;9643:9;1529:19054;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;10265:10;-1:-1:-1;;;;;10265:10:7;1529:19054;-1:-1:-1;;;;;1529:19054:7;;;;;10265:50;;;;;;1529:19054;;;;;;;;;;;;;10265:50;;1529:19054;10265:50;;1529:19054;;;;;10265:50;;;;;;;;10024:57;1529:19054;;-1:-1:-1;;;;;1529:19054:7;;;;;10330:45;;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;10265:50;;;;;:::i;:::-;1529:19054;;10265:50;;;;10091:53;-1:-1:-1;;;10118:26:7;;1529:19054;10118:26;;10024:57;;;9845:89;-1:-1:-1;;;9894:40:7;;1529:19054;;;9894:40;;9675:67;-1:-1:-1;;;9722:20:7;;1529:19054;9722:20;;1529:19054;;;;;;;;;;9239:383:130;;;;;;7972:9;9132:15;1529:19054:7;9239:383:130;;;;;;;;;1529:19054:7;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;11086:22:7;;;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;1529:19054:7;10772:35;;;;;;;;1529:19054;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;10821:8;10817:64;;10895:31;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;10817:64;-1:-1:-1;;;10852:18:7;;1529:19054;10852:18;;1529:19054;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;1529:19054:7;1496:56:0;;;;;;1529:19054:7;;1496:56:0;1529:19054:7;;;;;;;;;1496:56:0;;1529:19054:7;1496:56:0;;1529:19054:7;1524:9:0;1496:56;;;;;;;;;1529:19054:7;;;1496:56:0;;;;1529:19054:7;1496:56:0;;:::i;:::-;1529:19054:7;1496:56:0;1529:19054:7;;;;;;;;;1496:56:0;1529:19054:7;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:7;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1529:19054:7;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2255:22::-;;;;;-1:-1:-1;;;;;;2255:22:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2255:22:7;;;;;;;;;1529:19054;2255:22;;;:::o;12816:1250::-;;;;2255:22;1529:19054;2255:22;;;490:2:68;2255:22:7;;;;;13383:69;2255:22;1529:19054;2255:22;;;13376:77;2255:22;1529:19054;2255:22;;13376:77;:::i;:::-;2255:22;;13495:69;2255:22;1529:19054;2255:22;;;13488:77;2255:22;1529:19054;2255:22;;13488:77;:::i;:::-;2255:22;;13608:69;2255:22;1529:19054;2255:22;;;1529:19054;2255:22;;;;1529:19054;;13674:2;2255:22;-1:-1:-1;2255:22:7;;13337:2;2255:22;;875:44:0;;;;490:2:68;2255:22:7;-1:-1:-1;2255:22:7;;13674:2;2255:22;;875:44:0;;;;1529:19054:7;2255:22;;-1:-1:-1;;2255:22:7;;12816:1250::o;1529:19054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;:::o;11810:1000::-;;;;;1529:19054;12311:15;;;;;;:::i;:::-;1529:19054;;;:::i;:::-;12271:12;1529:19054;;;;12301:26;12355:15;1529:19054;12355:15;;;;;;:::i;1529:19054::-;12271:12;1529:19054;;;;12345:26;12446:23;;;;;;;:::i;:::-;490:2:68;2255:22:7;;;12311:15;1529:19054;12219:574;12271:12;12219:574;;823:61:68;;;-1:-1:-1;;;;;1529:19054:7;;;12271:12;;;1529:19054;12311:15;1529:19054;;;12355:15;1529:19054;;;12389:23;1529:19054;;;12389:23;;;1529:19054;12546:25;1529:19054;;;372:2:68;2255:22:7;1529:19054;12589:14;1529:19054;;;12546:25;;;1529:19054;12446:23;1529:19054;;;12589:14;;1529:19054;;;;;12621:13;1529:19054;;;;12660:4;1529:19054;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;12219:574;;;;;;:::i;:::-;1529:19054;12196:607;;11810:1000;:::o;1529:19054::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:130;-1:-1:-1;;7390:251:130;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:49;637:66;3321:69:51;1413:93:49;;1624:4;637:66;3550:68:51;1290:346:49:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:49;;-1:-1:-1;1465:30:49;20095:179:7;-1:-1:-1;;;;;1529:19054:7;;;20181:20;1529:19054;;;;;;;;20177:47;;20241:26;1529:19054;20095:179;:::o;20177:47::-;1529:19054;20216:8;:::o;5930:135:0:-;-1:-1:-1;;;;;6021:10:0;1529:19054:7;5999:10:0;:33;1529:19054:7;;5930:135:0:o;1529:19054:7:-;;;-1:-1:-1;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16671:2704::-;;;1529:19054;16890:22;17244:23;;;;17222:46;17244:23;;;;:::i;:::-;17222:46;;:::i;:::-;17581:2;17561:22;;;;;;;;;;;;;;:48;;;16671:2704;17557:110;;17681:14;1529:19054;4143:23:68;;;;;:::i;:::-;490:2;2255:22:7;;;434:2:68;2255:22:7;875:44:0;;;17681:46:7;;17677:106;;1529:19054;17824:65;;;;;;;;;:::i;:::-;13414:265:131;;;1529:19054:7;13414:265:131;;;;1529:19054:7;;;;:::i;:::-;17823:144;1529:19054;8517:1041:131;17581:2:7;8517:1041:131;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;17809:187;:202;;;;8517:1041:131;17809:202:7;18100:9;18096:102;;1529:19054;;18246:17;18260:3;18246:17;;:38;;;;17809:202;18242:96;;18526:23;;;;:::i;:::-;490:2:68;2255:22:7;;;434:2:68;-1:-1:-1;;;;;18518:85:7;2255:22;875:44:0;;;;-1:-1:-1;;;;;875:44:0;18462:23:7;;1529:19054;;;-1:-1:-1;;;;;1529:19054:7;;;;-1:-1:-1;;;;;18621:2:7;1529:19054;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;18755:62;18754:78;3382:14:68;18773:44:7;2134:3;3382:14:68;18666:3:7;18428:225;-1:-1:-1;;;;;3382:14:68;;;;1529:19054:7;;18428:225;;;:::i;:::-;1529:19054;18773:44;;:::i;18755:62::-;18754:78;:::i;:::-;1529:19054;-1:-1:-1;;;;;18870:26:7;;;;:::i;:::-;1529:19054;;;;;;18899:19;13414:265:131;1529:19054:7;17581:2;1529:19054;;;-1:-1:-1;18866:132:7;;-1:-1:-1;;;19045:26:7;;-1:-1:-1;;;;;;19045:26:7;;;:::i;:::-;1529:19054;;;18899:19;13414:265:131;1529:19054:7;19008:64;17581:2;1529:19054;;;;;19008:64;:::i;:::-;1529:19054;;17581:2;1529:19054;19093:51;13414:265:131;19093:51:7;;1529:19054;17581:2;2134:3;;1529:19054;;2134:3;;1529:19054;;19093:51;;;875:44:0;19093:51:7;;:::i;:::-;2683:8:64;1529:19054:7;;;2643:3:64;1529:19054:7;;2589:104:64;16671:2704:7;:::o;18866:132::-;18954:33;;;1529:19054;18954:33;13414:265:131;1529:19054:7;18954:33;18242:96;18307:20;;;1529:19054;18307:20;13414:265:131;1529:19054:7;18307:20;18246:38;18267:17;18281:3;18267:17;;18246:38;;18096:102;18137:49;;;8517:1041:131;18137:49:7;;;-1:-1:-1;;;18137:49:7;;-1:-1:-1;;;;;;18137:49:7;;2683:8:64;1529:19054:7;;;2643:3:64;1529:19054:7;;2589:104:64;;1529:19054:7;17581:2;1529:19054;;13414:265:131;1529:19054:7;;:::i;:::-;;;;18125:62;;:::o;17809:202::-;1529:19054;17809:202;;8517:1041:131;;;;;1529:19054:7;8517:1041:131;13414:265;8517:1041;17581:2:7;8517:1041:131;;;;;;-1:-1:-1;8517:1041:131;;;1529:19054:7;8517:1041:131;;17581:2:7;8517:1041:131;13414:265;17581:2:7;875:44:0;1529:19054:7;8517:1041:131;;;;1529:19054:7;8517:1041:131;;;;;;17581:2:7;8517:1041:131;;;;;;;;;;;;17581:2:7;8517:1041:131;;;;;;;13414:265;8517:1041;;;;;;17677:106:7;17750:22;;;1529:19054;17750:22;;1529:19054;17750:22;17557:110;17632:24;;;1529:19054;17632:24;;1529:19054;17632:24;17561:48;17587:22;17607:2;17587:22;;;17561:48;;6145:1089:130;-1:-1:-1;;;;;6813:405:130;;;;;;-1:-1:-1;6813:405:130;;-1:-1:-1;;6813:405:130;6145:1089::o","linkReferences":{},"immutableReferences":{"17":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480\",\"dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290","urls":["bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480","dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json index 94f3b0d..fa7fa65 100644 --- a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/verify.json @@ -1 +1 @@ -{"language":"Solidity","sources":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport \"../base/BasePaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { BiconomySponsorshipPaymasterErrors } from \"../common/BiconomySponsorshipPaymasterErrors.sol\";\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { IBiconomySponsorshipPaymaster } from \"../interfaces/IBiconomySponsorshipPaymaster.sol\";\n\nimport {console} from \"forge-std/console.sol\";\n\n/**\n * @title BiconomySponsorshipPaymaster\n * @author livingrockrises\n * @author ShivaanshK\n * @notice Based on Infinitism's 'VerifyingPaymaster' contract\n * @dev This contract is used to sponsor the transaction fees of the user operations\n * Uses a verifying signer to provide the signature if predetermined conditions are met\n * regarding the user operation calldata. Also this paymaster is Singleton in nature which\n * means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster.\n * Maintains it's own accounting of the gas balance for each Dapp/Wallet client\n * and Manages it's own deposit on the EntryPoint.\n */\n\ncontract BiconomySponsorshipPaymaster is\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomySponsorshipPaymasterErrors,\n IBiconomySponsorshipPaymaster\n{\n using UserOperationLib for PackedUserOperation;\n using SignatureCheckerLib for address;\n using ECDSA_solady for bytes32;\n\n address public verifyingSigner;\n address public feeCollector;\n uint256 public unaccountedGas;\n uint256 public paymasterIdWithdrawalDelay;\n uint256 public minDeposit;\n\n // Denominator to prevent precision errors when applying price markup\n uint256 private constant _PRICE_DENOMINATOR = 1e6;\n // Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET\n uint256 private constant _PAYMASTER_ID_OFFSET = _PAYMASTER_DATA_OFFSET;\n // Limit for unaccounted gas cost\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 100_000;\n\n mapping(address => uint256) public paymasterIdBalances;\n mapping(address => bool) internal _trustedPaymasterIds;\n mapping(address paymasterId => WithdrawalRequest request) internal _requests;\n\n constructor(\n address owner,\n IEntryPoint entryPointArg,\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg,\n uint256 paymasterIdWithdrawalDelayArg,\n uint256 minDepositArg\n )\n BasePaymaster(owner, entryPointArg)\n {\n console.log(\"0\");\n _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg);\n console.log(\"1\");\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n }\n console.log(\"2\");\n feeCollector = feeCollectorArg;\n console.log(\"3\");\n unaccountedGas = unaccountedGasArg;\n console.log(\"4\");\n paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg;\n console.log(\"5\");\n minDeposit = minDepositArg;\n }\n\n receive() external payable {\n emit Received(msg.sender, msg.value);\n }\n\n /**\n * @dev Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for\n * transaction fees\n * @param paymasterId dapp identifier for which deposit is being made\n */\n function depositFor(address paymasterId) external payable nonReentrant {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (msg.value == 0) revert DepositCanNotBeZero();\n if (paymasterIdBalances[paymasterId] + msg.value < minDeposit) revert LowDeposit();\n paymasterIdBalances[paymasterId] += msg.value;\n entryPoint.depositTo{ value: msg.value }(address(this));\n emit GasDeposited(paymasterId, msg.value);\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If _newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event VerifyingSignerChanged.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit VerifyingSignerChanged(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Refund balances for multiple paymasterIds\n * PM charges more than it should to protect itself. \n * This function is used to refund the extra amount \n * when the real consumption is known.\n * @param paymasterIds The paymasterIds to refund\n * @param amounts The amounts to refund\n */\n function refundBalances(address[] calldata paymasterIds, uint256[] calldata amounts) external payable onlyOwner {\n if (paymasterIds.length != amounts.length) revert InvalidArrayLengths();\n for (uint256 i; i < paymasterIds.length; i++) {\n paymasterIdBalances[paymasterIds[i]] += amounts[i];\n }\n }\n\n /**\n * @dev Set a new trusted paymasterId.\n * Can only be called by the owner of the contract.\n * @param paymasterId The paymasterId to be set as trusted.\n * @param isTrusted Whether the paymasterId is trusted or not.\n */\n function setTrustedPaymasterId(address paymasterId, bool isTrusted) external payable onlyOwner {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (_trustedPaymasterIds[paymasterId] != isTrusted) {\n _trustedPaymasterIds[paymasterId] = isTrusted;\n emit TrustedPaymasterIdSet(paymasterId, isTrusted);\n }\n }\n\n /**\n * @dev Set a new minimum deposit value.\n * Can only be called by the owner of the contract.\n * @param newMinDeposit The new minimum deposit value to be set.\n */\n function setMinDeposit(uint256 newMinDeposit) external payable onlyOwner {\n emit MinDepositChanged(minDeposit, newMinDeposit);\n minDeposit = newMinDeposit;\n }\n\n /**\n * @dev Set a new fee collector address.\n * Can only be called by the owner of the contract.\n * @param newFeeCollector The new address to be set as the fee collector.\n * @notice If _newFeeCollector is set to zero address, it will revert with an error.\n * After setting the new fee collector address, it will emit an event FeeCollectorChanged.\n */\n function setFeeCollector(address newFeeCollector) external payable override onlyOwner {\n if (_isContract(newFeeCollector)) revert FeeCollectorCanNotBeContract();\n if (newFeeCollector == address(0)) revert FeeCollectorCanNotBeZero();\n address oldFeeCollector = feeCollector;\n feeCollector = newFeeCollector;\n emit FeeCollectorChanged(oldFeeCollector, newFeeCollector, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedGas value.\n * @param value The new value to be set as the unaccountedGas.\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 value) external payable onlyOwner {\n if (value > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldValue = unaccountedGas;\n unaccountedGas = value;\n emit UnaccountedGasChanged(oldValue, value);\n }\n\n /**\n * @dev Override the default implementation.\n */\n function deposit() external payable virtual override {\n revert UseDepositForInstead();\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Submit a withdrawal request for the paymasterId (Dapp Depositor address)\n * @param withdrawAddress address to send the funds to\n * @param amount amount to withdraw\n */\n function submitWithdrawalRequest(address withdrawAddress, uint256 amount) external {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n if (amount == 0) revert CanNotWithdrawZeroAmount();\n uint256 currentBalance = paymasterIdBalances[msg.sender];\n if (amount > currentBalance) revert InsufficientFundsInGasTank();\n _requests[msg.sender] =\n WithdrawalRequest({ amount: amount, to: withdrawAddress, requestSubmittedTimestamp: block.timestamp });\n emit WithdrawalRequestSubmitted(withdrawAddress, amount);\n }\n\n /**\n * @dev Execute a withdrawal request for the paymasterId (Dapp Depositor address)\n * Request must be cleared by the withdrawal delay period\n * @param paymasterId paymasterId (Dapp Depositor address)\n */\n function executeWithdrawalRequest(address paymasterId) external nonReentrant {\n WithdrawalRequest memory req = _requests[paymasterId];\n if (req.requestSubmittedTimestamp == 0) revert NoRequestSubmitted();\n uint256 clearanceTimestamp = req.requestSubmittedTimestamp + _getDelay(paymasterId);\n if (block.timestamp < clearanceTimestamp) revert RequestNotClearedYet(clearanceTimestamp);\n uint256 currentBalance = paymasterIdBalances[paymasterId];\n req.amount = req.amount > currentBalance ? currentBalance : req.amount;\n if(req.amount == 0) revert CanNotWithdrawZeroAmount();\n paymasterIdBalances[paymasterId] = currentBalance - req.amount;\n delete _requests[paymasterId];\n entryPoint.withdrawTo(payable(req.to), req.amount);\n emit GasWithdrawn(paymasterId, req.to, req.amount);\n }\n\n /**\n * @dev Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\n */\n function cancelWithdrawalRequest() external {\n delete _requests[msg.sender];\n emit WithdrawalRequestCancelledFor(msg.sender);\n }\n\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual override {\n (withdrawAddress, amount);\n revert SubmitRequestInstead();\n }\n\n /**\n * @dev get the current deposit for paymasterId (Dapp Depositor address)\n * @param paymasterId dapp identifier\n */\n function getBalance(address paymasterId) external view returns (uint256 balance) {\n balance = paymasterIdBalances[paymasterId];\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n paymasterId,\n validUntil,\n validAfter,\n priceMarkup\n )\n );\n }\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n public\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n )\n {\n unchecked {\n paymasterId = address(bytes20(paymasterAndData[_PAYMASTER_ID_OFFSET:_PAYMASTER_ID_OFFSET + 20]));\n validUntil = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 20:_PAYMASTER_ID_OFFSET + 26]));\n validAfter = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 26:_PAYMASTER_ID_OFFSET + 32]));\n priceMarkup = uint32(bytes4(paymasterAndData[_PAYMASTER_ID_OFFSET + 32:_PAYMASTER_ID_OFFSET + 36]));\n paymasterValidationGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_POSTOP_GAS_OFFSET]));\n paymasterPostOpGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]));\n signature = paymasterAndData[_PAYMASTER_ID_OFFSET + 36:];\n }\n }\n\n /// @notice Performs post-operation tasks, such as deducting the sponsored gas cost from the paymasterId's balance\n /// @dev This function is called after a user operation has been executed or reverted.\n /// @param context The context containing the token amount and user sender address.\n /// @param actualGasCost The actual gas cost of the transaction.\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n {\n (address paymasterId, uint32 priceMarkup, uint256 prechargedAmount) =\n abi.decode(context, (address, uint32, uint256));\n\n // Include unaccountedGas since EP doesn't include this in actualGasCost\n // unaccountedGas = postOpGas + EP overhead gas \n actualGasCost = actualGasCost + (unaccountedGas * actualUserOpFeePerGas);\n // Apply the price markup\n uint256 adjustedGasCost = (actualGasCost * priceMarkup) / _PRICE_DENOMINATOR;\n\n uint256 premium = adjustedGasCost - actualGasCost;\n\n // Add priceMarkup to fee collector balance\n paymasterIdBalances[feeCollector] += premium;\n\n if (prechargedAmount > adjustedGasCost) {\n // If overcharged refund the excess\n paymasterIdBalances[paymasterId] += (prechargedAmount - adjustedGasCost);\n } else {\n // deduct what needs to be deducted from paymasterId\n paymasterIdBalances[paymasterId] -= (adjustedGasCost - prechargedAmount); \n }\n // here adjustedGasCost does not account for gasPenalty. prechargedAmount accounts for penalty with maxGasPenalty\n emit GasBalanceDeducted(paymasterId, adjustedGasCost, premium);\n }\n\n /**\n * @dev verify our external signer signed this request.\n * Adds maxPenalty to the effectiveCost to protect PM.\n * The \"paymasterAndData\" is expected to be the paymaster and a signature over the entire request params.\n * paymasterAndData[:20] : address(this)\n * paymasterAndData[52:72] : paymasterId (dappDepositor)\n * paymasterAndData[72:78] : validUntil\n * paymasterAndData[78:84] : validAfter\n * paymasterAndData[84:88] : priceMarkup\n * paymasterAndData[88:] : signature\n * @param userOp The user operation to validate.\n * @param userOpHash The hash of the user operation.\n * @param requiredPreFund The required pre-fund amount.\n * @return context The context for the paymaster.\n * @return validationData The validation data as per ERC-4337.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 requiredPreFund\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (userOpHash);\n (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n ) = parsePaymasterAndData(userOp.paymasterAndData);\n (paymasterValidationGasLimit, paymasterPostOpGasLimit);\n\n //ECDSA library supports both 64 and 65-byte long signatures.\n // we only \"require\" it here so that the revert reason on invalid signature will be of \"VerifyingPaymaster\", and\n // not \"ECDSA\"\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n if (unaccountedGas > userOp.unpackPostOpGasLimit()) {\n revert PostOpGasLimitTooLow();\n }\n\n bool validSig = (\n (getHash(userOp, paymasterId, validUntil, validAfter, priceMarkup).toEthSignedMessageHash()).tryRecover(\n signature\n )\n ) == verifyingSigner ? true : false;\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n // Send 1e6 for No markup\n if (priceMarkup > 2e6 || priceMarkup < 1e6) {\n revert InvalidPriceMarkup();\n }\n\n // callGasLimit + paymasterPostOpGas\n uint256 maxPenalty = (\n (\n uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 * userOp.unpackMaxFeePerGas()\n ) / 100;\n\n // Deduct the max gas cost.\n uint256 effectiveCost =\n (((requiredPreFund + unaccountedGas * userOp.unpackMaxFeePerGas()) * priceMarkup) / _PRICE_DENOMINATOR);\n\n if (effectiveCost + maxPenalty > paymasterIdBalances[paymasterId]) {\n revert InsufficientFundsForPaymasterId();\n }\n\n paymasterIdBalances[paymasterId] -= (effectiveCost + maxPenalty);\n\n context = abi.encode(paymasterId, priceMarkup, effectiveCost);\n\n // no need for other on-chain validation: entire UserOp should have been checked\n // by the external service prior to signing it.\n return (context, _packValidationData(false, validUntil, validAfter));\n }\n\n function _checkConstructorArgs(\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg\n )\n internal\n view\n {\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n } else if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n } else if (feeCollectorArg == address(0)) {\n revert FeeCollectorCanNotBeZero();\n } else if (_isContract(feeCollectorArg)) {\n revert FeeCollectorCanNotBeContract();\n } else if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n }\n\n function _getDelay(address paymasterId) internal view returns (uint256) {\n if (_trustedPaymasterIds[paymasterId]) return 0;\n return paymasterIdWithdrawalDelay;\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n\nimport {console} from \"forge-std/console.sol\";\n\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n console.log(\"0-0\");\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomySponsorshipPaymasterErrors {\n /**\n * @notice Throws when the paymaster address provided is address(0)\n */\n error PaymasterIdCanNotBeZero();\n\n /**\n * @notice Throws when the 0 has been provided as deposit\n */\n error DepositCanNotBeZero();\n\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error FeeCollectorCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n /**\n * @notice Throws when insufficient funds to withdraw\n */\n error InsufficientFunds();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when insufficient funds for paymasterid\n */\n error InsufficientFundsForPaymasterId();\n\n /**\n * @notice Throws when calling deposit()\n */\n error UseDepositForInstead();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw zero amount\n */\n error CanNotWithdrawZeroAmount();\n\n /**\n * @notice Throws when no request has been submitted\n */\n error NoRequestSubmitted();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when postOp gas limit is too low\n */\n error PostOpGasLimitTooLow();\n\n /**\n * @notice Thrown when deposit is too low to reach minDeposit\n */\n error LowDeposit();\n\n /**\n * @notice Thrown when trying to withdraw more than the balance\n */\n error InsufficientFundsInGasTank();\n\n /**\n * @notice Thrown when trying to execute withdrawal request before delay has passed\n */\n error RequestNotClearedYet(uint256 clearanceTime);\n\n /**\n * @notice Thrown when trying to directly withdraw instead of submitting a request\n */\n error SubmitRequestInstead();\n\n /**\n * @notice Thrown when the array lengths are not equal\n */\n error InvalidArrayLengths();\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { PackedUserOperation } from \"account-abstraction/core/UserOperationLib.sol\";\n\ninterface IBiconomySponsorshipPaymaster {\n struct WithdrawalRequest {\n uint256 amount;\n address to;\n uint256 requestSubmittedTimestamp;\n }\n\n event UnaccountedGasChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event FixedPriceMarkupChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event VerifyingSignerChanged(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event GasDeposited(address indexed _paymasterId, uint256 indexed _value);\n event GasWithdrawn(address indexed _paymasterId, address indexed _to, uint256 indexed _value);\n event GasBalanceDeducted(address indexed _paymasterId, uint256 indexed _charge, uint256 indexed _premium);\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event WithdrawalRequestSubmitted(address withdrawAddress, uint256 amount);\n event WithdrawalRequestCancelledFor(address paymasterId);\n event TrustedPaymasterIdSet(address indexed paymasterId, bool isTrusted);\n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n event MinDepositChanged(uint256 indexed oldValue, uint256 indexed newValue);\n\n function depositFor(address paymasterId) external payable;\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setFeeCollector(address newFeeCollector) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function withdrawERC20(IERC20 token, address target, uint256 amount) external;\n\n function withdrawEth(address payable recipient, uint256 amount) external payable;\n\n function getBalance(address paymasterId) external view returns (uint256 balance);\n\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n external\n view\n returns (bytes32);\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n external\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n );\n}\n"},"lib/forge-std/src/console.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.4.22 <0.9.0;\n\nlibrary console {\n address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);\n\n function _castLogPayloadViewToPure(\n function(bytes memory) internal view fnIn\n ) internal pure returns (function(bytes memory) internal pure fnOut) {\n assembly {\n fnOut := fnIn\n }\n }\n\n function _sendLogPayload(bytes memory payload) internal pure {\n _castLogPayloadViewToPure(_sendLogPayloadView)(payload);\n }\n\n function _sendLogPayloadView(bytes memory payload) private view {\n uint256 payloadLength = payload.length;\n address consoleAddress = CONSOLE_ADDRESS;\n /// @solidity memory-safe-assembly\n assembly {\n let payloadStart := add(payload, 32)\n let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)\n }\n }\n\n function log() internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log()\"));\n }\n\n function logInt(int p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(int)\", p0));\n }\n\n function logUint(uint p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint)\", p0));\n }\n\n function logString(string memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n }\n\n function logBool(bool p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n }\n\n function logAddress(address p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n }\n\n function logBytes(bytes memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes)\", p0));\n }\n\n function logBytes1(bytes1 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes1)\", p0));\n }\n\n function logBytes2(bytes2 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes2)\", p0));\n }\n\n function logBytes3(bytes3 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes3)\", p0));\n }\n\n function logBytes4(bytes4 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes4)\", p0));\n }\n\n function logBytes5(bytes5 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes5)\", p0));\n }\n\n function logBytes6(bytes6 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes6)\", p0));\n }\n\n function logBytes7(bytes7 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes7)\", p0));\n }\n\n function logBytes8(bytes8 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes8)\", p0));\n }\n\n function logBytes9(bytes9 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes9)\", p0));\n }\n\n function logBytes10(bytes10 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes10)\", p0));\n }\n\n function logBytes11(bytes11 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes11)\", p0));\n }\n\n function logBytes12(bytes12 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes12)\", p0));\n }\n\n function logBytes13(bytes13 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes13)\", p0));\n }\n\n function logBytes14(bytes14 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes14)\", p0));\n }\n\n function logBytes15(bytes15 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes15)\", p0));\n }\n\n function logBytes16(bytes16 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes16)\", p0));\n }\n\n function logBytes17(bytes17 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes17)\", p0));\n }\n\n function logBytes18(bytes18 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes18)\", p0));\n }\n\n function logBytes19(bytes19 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes19)\", p0));\n }\n\n function logBytes20(bytes20 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes20)\", p0));\n }\n\n function logBytes21(bytes21 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes21)\", p0));\n }\n\n function logBytes22(bytes22 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes22)\", p0));\n }\n\n function logBytes23(bytes23 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes23)\", p0));\n }\n\n function logBytes24(bytes24 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes24)\", p0));\n }\n\n function logBytes25(bytes25 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes25)\", p0));\n }\n\n function logBytes26(bytes26 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes26)\", p0));\n }\n\n function logBytes27(bytes27 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes27)\", p0));\n }\n\n function logBytes28(bytes28 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes28)\", p0));\n }\n\n function logBytes29(bytes29 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes29)\", p0));\n }\n\n function logBytes30(bytes30 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes30)\", p0));\n }\n\n function logBytes31(bytes31 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes31)\", p0));\n }\n\n function logBytes32(bytes32 p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bytes32)\", p0));\n }\n\n function log(uint p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint)\", p0));\n }\n\n function log(int p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(int)\", p0));\n }\n\n function log(string memory p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n }\n\n function log(bool p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n }\n\n function log(address p0) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n }\n\n function log(uint p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint)\", p0, p1));\n }\n\n function log(uint p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string)\", p0, p1));\n }\n\n function log(uint p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool)\", p0, p1));\n }\n\n function log(uint p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address)\", p0, p1));\n }\n\n function log(string memory p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint)\", p0, p1));\n }\n\n function log(string memory p0, int p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,int)\", p0, p1));\n }\n\n function log(string memory p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string)\", p0, p1));\n }\n\n function log(string memory p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool)\", p0, p1));\n }\n\n function log(string memory p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address)\", p0, p1));\n }\n\n function log(bool p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint)\", p0, p1));\n }\n\n function log(bool p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string)\", p0, p1));\n }\n\n function log(bool p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool)\", p0, p1));\n }\n\n function log(bool p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address)\", p0, p1));\n }\n\n function log(address p0, uint p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint)\", p0, p1));\n }\n\n function log(address p0, string memory p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string)\", p0, p1));\n }\n\n function log(address p0, bool p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool)\", p0, p1));\n }\n\n function log(address p0, address p1) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address)\", p0, p1));\n }\n\n function log(uint p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool)\", p0, p1, p2));\n }\n\n function log(uint p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool)\", p0, p1, p2));\n }\n\n function log(string memory p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool)\", p0, p1, p2));\n }\n\n function log(bool p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool)\", p0, p1, p2));\n }\n\n function log(address p0, uint p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool)\", p0, p1, p2));\n }\n\n function log(address p0, string memory p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool)\", p0, p1, p2));\n }\n\n function log(address p0, bool p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, uint p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, string memory p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, bool p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool)\", p0, p1, p2));\n }\n\n function log(address p0, address p1, address p2) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address)\", p0, p1, p2));\n }\n\n function log(uint p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(uint p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(uint,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(string memory p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(bool p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, uint p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,uint,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, string memory p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, bool p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, uint p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, string memory p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, bool p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,address)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, uint p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,uint)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, string memory p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,string)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, bool p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,bool)\", p0, p1, p2, p3));\n }\n\n function log(address p0, address p1, address p2, address p3) internal pure {\n _sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,address)\", p0, p1, p2, p3));\n }\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} +{"language":"Solidity","sources":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport \"../base/BasePaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { BiconomySponsorshipPaymasterErrors } from \"../common/BiconomySponsorshipPaymasterErrors.sol\";\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { IBiconomySponsorshipPaymaster } from \"../interfaces/IBiconomySponsorshipPaymaster.sol\";\n\n/**\n * @title BiconomySponsorshipPaymaster\n * @author livingrockrises\n * @author ShivaanshK\n * @notice Based on Infinitism's 'VerifyingPaymaster' contract\n * @dev This contract is used to sponsor the transaction fees of the user operations\n * Uses a verifying signer to provide the signature if predetermined conditions are met\n * regarding the user operation calldata. Also this paymaster is Singleton in nature which\n * means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster.\n * Maintains it's own accounting of the gas balance for each Dapp/Wallet client\n * and Manages it's own deposit on the EntryPoint.\n */\n\ncontract BiconomySponsorshipPaymaster is\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomySponsorshipPaymasterErrors,\n IBiconomySponsorshipPaymaster\n{\n using UserOperationLib for PackedUserOperation;\n using SignatureCheckerLib for address;\n using ECDSA_solady for bytes32;\n\n address public verifyingSigner;\n address public feeCollector;\n uint256 public unaccountedGas;\n uint256 public paymasterIdWithdrawalDelay;\n uint256 public minDeposit;\n\n // Denominator to prevent precision errors when applying price markup\n uint256 private constant _PRICE_DENOMINATOR = 1e6;\n // Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET\n uint256 private constant _PAYMASTER_ID_OFFSET = _PAYMASTER_DATA_OFFSET;\n // Limit for unaccounted gas cost\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 100_000;\n\n mapping(address => uint256) public paymasterIdBalances;\n mapping(address => bool) internal _trustedPaymasterIds;\n mapping(address paymasterId => WithdrawalRequest request) internal _requests;\n\n constructor(\n address owner,\n IEntryPoint entryPointArg,\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg,\n uint256 paymasterIdWithdrawalDelayArg,\n uint256 minDepositArg\n )\n BasePaymaster(owner, entryPointArg)\n {\n _checkConstructorArgs(verifyingSignerArg, feeCollectorArg, unaccountedGasArg);\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n }\n feeCollector = feeCollectorArg;\n unaccountedGas = unaccountedGasArg;\n paymasterIdWithdrawalDelay = paymasterIdWithdrawalDelayArg;\n minDeposit = minDepositArg;\n }\n\n receive() external payable {\n emit Received(msg.sender, msg.value);\n }\n\n /**\n * @dev Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for\n * transaction fees\n * @param paymasterId dapp identifier for which deposit is being made\n */\n function depositFor(address paymasterId) external payable nonReentrant {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (msg.value == 0) revert DepositCanNotBeZero();\n if (paymasterIdBalances[paymasterId] + msg.value < minDeposit) revert LowDeposit();\n paymasterIdBalances[paymasterId] += msg.value;\n entryPoint.depositTo{ value: msg.value }(address(this));\n emit GasDeposited(paymasterId, msg.value);\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If _newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event VerifyingSignerChanged.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit VerifyingSignerChanged(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Refund balances for multiple paymasterIds\n * PM charges more than it should to protect itself. \n * This function is used to refund the extra amount \n * when the real consumption is known.\n * @param paymasterIds The paymasterIds to refund\n * @param amounts The amounts to refund\n */\n function refundBalances(address[] calldata paymasterIds, uint256[] calldata amounts) external payable onlyOwner {\n if (paymasterIds.length != amounts.length) revert InvalidArrayLengths();\n for (uint256 i; i < paymasterIds.length; i++) {\n paymasterIdBalances[paymasterIds[i]] += amounts[i];\n }\n }\n\n /**\n * @dev Set a new trusted paymasterId.\n * Can only be called by the owner of the contract.\n * @param paymasterId The paymasterId to be set as trusted.\n * @param isTrusted Whether the paymasterId is trusted or not.\n */\n function setTrustedPaymasterId(address paymasterId, bool isTrusted) external payable onlyOwner {\n if (paymasterId == address(0)) revert PaymasterIdCanNotBeZero();\n if (_trustedPaymasterIds[paymasterId] != isTrusted) {\n _trustedPaymasterIds[paymasterId] = isTrusted;\n emit TrustedPaymasterIdSet(paymasterId, isTrusted);\n }\n }\n\n /**\n * @dev Set a new minimum deposit value.\n * Can only be called by the owner of the contract.\n * @param newMinDeposit The new minimum deposit value to be set.\n */\n function setMinDeposit(uint256 newMinDeposit) external payable onlyOwner {\n emit MinDepositChanged(minDeposit, newMinDeposit);\n minDeposit = newMinDeposit;\n }\n\n /**\n * @dev Set a new fee collector address.\n * Can only be called by the owner of the contract.\n * @param newFeeCollector The new address to be set as the fee collector.\n * @notice If _newFeeCollector is set to zero address, it will revert with an error.\n * After setting the new fee collector address, it will emit an event FeeCollectorChanged.\n */\n function setFeeCollector(address newFeeCollector) external payable override onlyOwner {\n if (_isContract(newFeeCollector)) revert FeeCollectorCanNotBeContract();\n if (newFeeCollector == address(0)) revert FeeCollectorCanNotBeZero();\n address oldFeeCollector = feeCollector;\n feeCollector = newFeeCollector;\n emit FeeCollectorChanged(oldFeeCollector, newFeeCollector, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedGas value.\n * @param value The new value to be set as the unaccountedGas.\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 value) external payable onlyOwner {\n if (value > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldValue = unaccountedGas;\n unaccountedGas = value;\n emit UnaccountedGasChanged(oldValue, value);\n }\n\n /**\n * @dev Override the default implementation.\n */\n function deposit() external payable virtual override {\n revert UseDepositForInstead();\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Submit a withdrawal request for the paymasterId (Dapp Depositor address)\n * @param withdrawAddress address to send the funds to\n * @param amount amount to withdraw\n */\n function submitWithdrawalRequest(address withdrawAddress, uint256 amount) external {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n if (amount == 0) revert CanNotWithdrawZeroAmount();\n uint256 currentBalance = paymasterIdBalances[msg.sender];\n if (amount > currentBalance) revert InsufficientFundsInGasTank();\n _requests[msg.sender] =\n WithdrawalRequest({ amount: amount, to: withdrawAddress, requestSubmittedTimestamp: block.timestamp });\n emit WithdrawalRequestSubmitted(withdrawAddress, amount);\n }\n\n /**\n * @dev Execute a withdrawal request for the paymasterId (Dapp Depositor address)\n * Request must be cleared by the withdrawal delay period\n * @param paymasterId paymasterId (Dapp Depositor address)\n */\n function executeWithdrawalRequest(address paymasterId) external nonReentrant {\n WithdrawalRequest memory req = _requests[paymasterId];\n if (req.requestSubmittedTimestamp == 0) revert NoRequestSubmitted();\n uint256 clearanceTimestamp = req.requestSubmittedTimestamp + _getDelay(paymasterId);\n if (block.timestamp < clearanceTimestamp) revert RequestNotClearedYet(clearanceTimestamp);\n uint256 currentBalance = paymasterIdBalances[paymasterId];\n req.amount = req.amount > currentBalance ? currentBalance : req.amount;\n if(req.amount == 0) revert CanNotWithdrawZeroAmount();\n paymasterIdBalances[paymasterId] = currentBalance - req.amount;\n delete _requests[paymasterId];\n entryPoint.withdrawTo(payable(req.to), req.amount);\n emit GasWithdrawn(paymasterId, req.to, req.amount);\n }\n\n /**\n * @dev Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\n */\n function cancelWithdrawalRequest() external {\n delete _requests[msg.sender];\n emit WithdrawalRequestCancelledFor(msg.sender);\n }\n\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual override {\n (withdrawAddress, amount);\n revert SubmitRequestInstead();\n }\n\n /**\n * @dev get the current deposit for paymasterId (Dapp Depositor address)\n * @param paymasterId dapp identifier\n */\n function getBalance(address paymasterId) external view returns (uint256 balance) {\n balance = paymasterIdBalances[paymasterId];\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n paymasterId,\n validUntil,\n validAfter,\n priceMarkup\n )\n );\n }\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n public\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n )\n {\n unchecked {\n paymasterId = address(bytes20(paymasterAndData[_PAYMASTER_ID_OFFSET:_PAYMASTER_ID_OFFSET + 20]));\n validUntil = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 20:_PAYMASTER_ID_OFFSET + 26]));\n validAfter = uint48(bytes6(paymasterAndData[_PAYMASTER_ID_OFFSET + 26:_PAYMASTER_ID_OFFSET + 32]));\n priceMarkup = uint32(bytes4(paymasterAndData[_PAYMASTER_ID_OFFSET + 32:_PAYMASTER_ID_OFFSET + 36]));\n paymasterValidationGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_POSTOP_GAS_OFFSET]));\n paymasterPostOpGasLimit =\n uint128(bytes16(paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]));\n signature = paymasterAndData[_PAYMASTER_ID_OFFSET + 36:];\n }\n }\n\n /// @notice Performs post-operation tasks, such as deducting the sponsored gas cost from the paymasterId's balance\n /// @dev This function is called after a user operation has been executed or reverted.\n /// @param context The context containing the token amount and user sender address.\n /// @param actualGasCost The actual gas cost of the transaction.\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n {\n (address paymasterId, uint32 priceMarkup, uint256 prechargedAmount) =\n abi.decode(context, (address, uint32, uint256));\n\n // Include unaccountedGas since EP doesn't include this in actualGasCost\n // unaccountedGas = postOpGas + EP overhead gas \n actualGasCost = actualGasCost + (unaccountedGas * actualUserOpFeePerGas);\n // Apply the price markup\n uint256 adjustedGasCost = (actualGasCost * priceMarkup) / _PRICE_DENOMINATOR;\n\n uint256 premium = adjustedGasCost - actualGasCost;\n\n // Add priceMarkup to fee collector balance\n paymasterIdBalances[feeCollector] += premium;\n\n if (prechargedAmount > adjustedGasCost) {\n // If overcharged refund the excess\n paymasterIdBalances[paymasterId] += (prechargedAmount - adjustedGasCost);\n } else {\n // deduct what needs to be deducted from paymasterId\n paymasterIdBalances[paymasterId] -= (adjustedGasCost - prechargedAmount); \n }\n // here adjustedGasCost does not account for gasPenalty. prechargedAmount accounts for penalty with maxGasPenalty\n emit GasBalanceDeducted(paymasterId, adjustedGasCost, premium);\n }\n\n /**\n * @dev verify our external signer signed this request.\n * Adds maxPenalty to the effectiveCost to protect PM.\n * The \"paymasterAndData\" is expected to be the paymaster and a signature over the entire request params.\n * paymasterAndData[:20] : address(this)\n * paymasterAndData[52:72] : paymasterId (dappDepositor)\n * paymasterAndData[72:78] : validUntil\n * paymasterAndData[78:84] : validAfter\n * paymasterAndData[84:88] : priceMarkup\n * paymasterAndData[88:] : signature\n * @param userOp The user operation to validate.\n * @param userOpHash The hash of the user operation.\n * @param requiredPreFund The required pre-fund amount.\n * @return context The context for the paymaster.\n * @return validationData The validation data as per ERC-4337.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 requiredPreFund\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (userOpHash);\n (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n ) = parsePaymasterAndData(userOp.paymasterAndData);\n (paymasterValidationGasLimit, paymasterPostOpGasLimit);\n\n //ECDSA library supports both 64 and 65-byte long signatures.\n // we only \"require\" it here so that the revert reason on invalid signature will be of \"VerifyingPaymaster\", and\n // not \"ECDSA\"\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n if (unaccountedGas > userOp.unpackPostOpGasLimit()) {\n revert PostOpGasLimitTooLow();\n }\n\n bool validSig = (\n (getHash(userOp, paymasterId, validUntil, validAfter, priceMarkup).toEthSignedMessageHash()).tryRecover(\n signature\n )\n ) == verifyingSigner ? true : false;\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n // Send 1e6 for No markup\n if (priceMarkup > 2e6 || priceMarkup < 1e6) {\n revert InvalidPriceMarkup();\n }\n\n // callGasLimit + paymasterPostOpGas\n uint256 maxPenalty = (\n (\n uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 * userOp.unpackMaxFeePerGas()\n ) / 100;\n\n // Deduct the max gas cost.\n uint256 effectiveCost =\n (((requiredPreFund + unaccountedGas * userOp.unpackMaxFeePerGas()) * priceMarkup) / _PRICE_DENOMINATOR);\n\n if (effectiveCost + maxPenalty > paymasterIdBalances[paymasterId]) {\n revert InsufficientFundsForPaymasterId();\n }\n\n paymasterIdBalances[paymasterId] -= (effectiveCost + maxPenalty);\n\n context = abi.encode(paymasterId, priceMarkup, effectiveCost);\n\n // no need for other on-chain validation: entire UserOp should have been checked\n // by the external service prior to signing it.\n return (context, _packValidationData(false, validUntil, validAfter));\n }\n\n function _checkConstructorArgs(\n address verifyingSignerArg,\n address feeCollectorArg,\n uint256 unaccountedGasArg\n )\n internal\n view\n {\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n } else if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n } else if (feeCollectorArg == address(0)) {\n revert FeeCollectorCanNotBeZero();\n } else if (_isContract(feeCollectorArg)) {\n revert FeeCollectorCanNotBeContract();\n } else if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n }\n\n function _getDelay(address paymasterId) internal view returns (uint256) {\n if (_trustedPaymasterIds[paymasterId]) return 0;\n return paymasterIdWithdrawalDelay;\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomySponsorshipPaymasterErrors {\n /**\n * @notice Throws when the paymaster address provided is address(0)\n */\n error PaymasterIdCanNotBeZero();\n\n /**\n * @notice Throws when the 0 has been provided as deposit\n */\n error DepositCanNotBeZero();\n\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error FeeCollectorCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n /**\n * @notice Throws when insufficient funds to withdraw\n */\n error InsufficientFunds();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when insufficient funds for paymasterid\n */\n error InsufficientFundsForPaymasterId();\n\n /**\n * @notice Throws when calling deposit()\n */\n error UseDepositForInstead();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw zero amount\n */\n error CanNotWithdrawZeroAmount();\n\n /**\n * @notice Throws when no request has been submitted\n */\n error NoRequestSubmitted();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when postOp gas limit is too low\n */\n error PostOpGasLimitTooLow();\n\n /**\n * @notice Thrown when deposit is too low to reach minDeposit\n */\n error LowDeposit();\n\n /**\n * @notice Thrown when trying to withdraw more than the balance\n */\n error InsufficientFundsInGasTank();\n\n /**\n * @notice Thrown when trying to execute withdrawal request before delay has passed\n */\n error RequestNotClearedYet(uint256 clearanceTime);\n\n /**\n * @notice Thrown when trying to directly withdraw instead of submitting a request\n */\n error SubmitRequestInstead();\n\n /**\n * @notice Thrown when the array lengths are not equal\n */\n error InvalidArrayLengths();\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { PackedUserOperation } from \"account-abstraction/core/UserOperationLib.sol\";\n\ninterface IBiconomySponsorshipPaymaster {\n struct WithdrawalRequest {\n uint256 amount;\n address to;\n uint256 requestSubmittedTimestamp;\n }\n\n event UnaccountedGasChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event FixedPriceMarkupChanged(uint256 indexed oldValue, uint256 indexed newValue);\n event VerifyingSignerChanged(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event GasDeposited(address indexed _paymasterId, uint256 indexed _value);\n event GasWithdrawn(address indexed _paymasterId, address indexed _to, uint256 indexed _value);\n event GasBalanceDeducted(address indexed _paymasterId, uint256 indexed _charge, uint256 indexed _premium);\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event WithdrawalRequestSubmitted(address withdrawAddress, uint256 amount);\n event WithdrawalRequestCancelledFor(address paymasterId);\n event TrustedPaymasterIdSet(address indexed paymasterId, bool isTrusted);\n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n event MinDepositChanged(uint256 indexed oldValue, uint256 indexed newValue);\n\n function depositFor(address paymasterId) external payable;\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setFeeCollector(address newFeeCollector) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function withdrawERC20(IERC20 token, address target, uint256 amount) external;\n\n function withdrawEth(address payable recipient, uint256 amount) external payable;\n\n function getBalance(address paymasterId) external view returns (uint256 balance);\n\n function getHash(\n PackedUserOperation calldata userOp,\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup\n )\n external\n view\n returns (bytes32);\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n external\n pure\n returns (\n address paymasterId,\n uint48 validUntil,\n uint48 validAfter,\n uint32 priceMarkup,\n uint128 paymasterValidationGasLimit,\n uint128 paymasterPostOpGasLimit,\n bytes calldata signature\n );\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index a3718d5..d3dcc9c 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -82,9 +82,29 @@ else printf "Using precompiled artifacts\n" fi +### Get custom min deposit +read -r -p "Do you want to specify a custom min deposit? (y/n): " proceed +if [ $proceed = "y" ]; then + printf "Choose a custom min deposit: \n 1. 0.001 native token \n 2. 0.01 native token \n 3. 0.1 native token \n 4. 1 native token \n 5. 10 native tokens \n" + read -r -a MIN_DEPOSIT_CHOICE + if [ $MIN_DEPOSIT_CHOICE = "1" ]; then + MIN_DEPOSIT=1000000000000000 + elif [ $MIN_DEPOSIT_CHOICE = "2" ]; then + MIN_DEPOSIT=10000000000000000 + elif [ $MIN_DEPOSIT_CHOICE = "3" ]; then + MIN_DEPOSIT=100000000000000000 + elif [ $MIN_DEPOSIT_CHOICE = "4" ]; then + MIN_DEPOSIT=1000000000000000000 + elif [ $MIN_DEPOSIT_CHOICE = "5" ]; then + MIN_DEPOSIT=10000000000000000000 + fi +else + MIN_DEPOSIT=1000000000000000 +fi + ### DEPLOY GASDADDY SCs ### printf "Addresses for Paymaster SCs:\n" -forge script DeployGasdaddy true --sig "run(bool)" --rpc-url $CHAIN_NAME -vv | grep -e "address" -e "already deployed" +forge script DeployGasdaddy true $MIN_DEPOSIT --sig "run(bool,uint256)" --rpc-url $CHAIN_NAME -vv | grep -e "address" -e "already deployed" printf "Do you want to proceed with the addresses above? (y/n): " read -r proceed if [ $proceed = "y" ]; then @@ -104,7 +124,7 @@ if [ $proceed = "y" ]; then { printf "Proceeding with deployment \n" mkdir -p ./logs/$CHAIN_NAME - forge script DeployGasdaddy false --sig "run(bool)" --rpc-url $CHAIN_NAME --etherscan-api-key $CHAIN_NAME --private-key $PRIVATE_KEY $VERIFY -vv --broadcast --slow $GAS_SUFFIX # 1> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log 2> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy-errors.log + forge script DeployGasdaddy false $MIN_DEPOSIT --sig "run(bool,uint256)" --rpc-url $CHAIN_NAME --etherscan-api-key $CHAIN_NAME --private-key $PRIVATE_KEY $VERIFY -vv --broadcast --slow $GAS_SUFFIX 1> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy.log 2> ./logs/$CHAIN_NAME/$CHAIN_NAME-deploy-gasdaddy-errors.log } || { printf "Deployment failed\n See logs for more details\n" exit 1 diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 66d063b..c5de081 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -12,7 +12,7 @@ interface Create3Deployer { contract DeployGasdaddy is Script { // SALTS - bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x0000000cc000000000000000000000000000000048da08a98903870005d16743; + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0xe37d270a4b697fd49a738e7a7027fe45ab32da92f60226a4fb719794c954eab3; // PM Address => 0x0000a35bb5246c53457a8a28b05b1f0b79348ce1 // CREATE3 DEPLOYER ADDRESS address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; @@ -23,25 +23,34 @@ contract DeployGasdaddy is Script { address constant FEE_COLLECTOR = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; uint256 constant UNACCOUNTED_GAS = 50_000; uint256 constant PAYMASTER_ID_WITHDRAWAL_DELAY = 3600; // 1 hour - uint256 constant MIN_DEPOSIT = 1e15; address constant ENTRY_POINT_V07 = 0x0000000071727De22E5E9d8BAf0edAc6f37da032; + mapping (uint256 => bytes) public signaturesForMinDeposits; + Create3Deployer create3Deployer; function setUp() public { create3Deployer = Create3Deployer(CREATE3_DEPLOYER_ADDRESS); + signaturesForMinDeposits[1e15] = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //0.001 native token + signaturesForMinDeposits[1e16] = hex'3d4fc4d9a447fb205cc50dce4b74230f0e0baea776bbce2cced39e1b82f612bc5de05607fdeaf3734f8577a8b829b0dd05bb0fe760e4fe9dda28b729d45c95d21c'; //0.01 native token + signaturesForMinDeposits[1e17] = hex'f121c54fabc0f95a2baa1cc296135d125f636532d489a9850a0ea3fe7f52694a2954b6f5cd42aca1e2203e7e39108a878477bfe2f90ed6a38ec578199e5586111c'; //0.1 native token + signaturesForMinDeposits[1e18] = hex'0e2f4921b34b8a2a6ceab67bd7db9655c0e272a725cbb5da84acaad1d023237817a1cb754fd65dd45bebc43312dafb9b53c8e58619da7da5acc9ea96294534141b'; //1 native token + signaturesForMinDeposits[1e19] = hex'6e559e01580bc8cd18fabef2d0aa018f35dc5cb1aa0c26e8cb8b9c45478382cf0fcc208ad2564d693418957e417a90b9081716fa1c01cba65e8442edaed584541c'; //10 native tokens + } - function run(bool check) public { + function run(bool check, uint256 minDeposit) public { if (check) { - checkGasDaddyAddresses(); + checkGasDaddyAddresses(minDeposit); } else { - deployGasDaddy(); + vm.startBroadcast(); + deployGasDaddy(minDeposit); + vm.stopBroadcast(); } } - function checkGasDaddyAddresses() public { + function checkGasDaddyAddresses(uint256 minDeposit) public { bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); bytes memory args = abi.encode( VERIFYING_PAYMASTER_OWNER, @@ -50,7 +59,7 @@ contract DeployGasdaddy is Script { FEE_COLLECTOR, UNACCOUNTED_GAS, PAYMASTER_ID_WITHDRAWAL_DELAY, - MIN_DEPOSIT + minDeposit ); address sponsorshipPM = create3Deployer.addressOf(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); @@ -61,11 +70,34 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster address: ", sponsorshipPM, " || >> Code Size: ", codeSize); - //initcode hash to look for the salt - //console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + // Use this block to get initcode hashes to sign + /* + uint256[] memory minDeposits = new uint256[](5); + minDeposits[0] = 1e15; + minDeposits[1] = 1e16; + minDeposits[2] = 1e17; + minDeposits[3] = 1e18; + minDeposits[4] = 1e19; + + for (uint256 i = 0; i < minDeposits.length; i++) { + minDeposit = minDeposits[i]; + args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + ENTRY_POINT_V07, + VERIFYING_SIGNER, + FEE_COLLECTOR, + UNACCOUNTED_GAS, + PAYMASTER_ID_WITHDRAWAL_DELAY, + minDeposit + ); + console.log("min deposit: ", (minDeposit)); + console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); + } + */ + } - function deployGasDaddy() public { + function deployGasDaddy(uint256 minDeposit) public { // // SPONSORSHIP PAYMASTER @@ -78,7 +110,7 @@ contract DeployGasdaddy is Script { FEE_COLLECTOR, UNACCOUNTED_GAS, PAYMASTER_ID_WITHDRAWAL_DELAY, - MIN_DEPOSIT + minDeposit ); address sponsorshipPM = create3Deployer.addressOf(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); uint256 codeSize; @@ -89,7 +121,7 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster already deployed at", sponsorshipPM); } else { bytes memory initcode = abi.encodePacked(bytecode, args); - bytes memory signature = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //pre-computed signature + bytes memory signature = signaturesForMinDeposits[minDeposit]; sponsorshipPM = create3Deployer.deploy(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, initcode, signature); console.log("Sponsorship Paymaster deployed at", sponsorshipPM); } From 8b31f9c94867940c93dd971bedbe65369aab523f Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Wed, 11 Dec 2024 12:34:23 +0300 Subject: [PATCH 05/16] cc --- scripts/foundry/DeployGasdaddy.s.sol | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index c5de081..95f20d0 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -51,6 +51,10 @@ contract DeployGasdaddy is Script { } function checkGasDaddyAddresses(uint256 minDeposit) public { + + /// + /// SPONSORSHIP PAYMASTER + /// bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); bytes memory args = abi.encode( VERIFYING_PAYMASTER_OWNER, @@ -95,6 +99,10 @@ contract DeployGasdaddy is Script { } */ + /// + /// TOKEN PAYMASTER + /// + } function deployGasDaddy(uint256 minDeposit) public { @@ -126,8 +134,9 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster deployed at", sponsorshipPM); } - // - // - // + /// + /// TOKEN PAYMASTER + /// + } } From 72fdc615b3055fc169902aa57fbcbf98b4224663 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Wed, 11 Dec 2024 14:02:57 +0300 Subject: [PATCH 06/16] depl token PM --- .../BiconomyTokenPaymaster.json | 1 + scripts/bash-deploy/deploy-gasdaddy.sh | 3 +- scripts/foundry/DeployGasdaddy.s.sol | 144 +++++++++++++++--- .../concrete/TestTokenPaymaster.Base.t.sol | 2 + 4 files changed, 130 insertions(+), 20 deletions(-) create mode 100644 scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json diff --git a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json new file mode 100644 index 0000000..6576d33 --- /dev/null +++ b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json @@ -0,0 +1 @@ +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"entryPoint","type":"address","internalType":"contract IEntryPoint"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetDecimalsArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetToUsdOracleArg","type":"address","internalType":"contract IOracle"},{"name":"nativeAssetPriceExpiryDurationArg","type":"uint256","internalType":"uint256"},{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"},{"name":"wrappedNativeArg","type":"address","internalType":"address"},{"name":"independentTokensArg","type":"address[]","internalType":"address[]"},{"name":"tokenInfosArg","type":"tuple[]","internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]},{"name":"swappableTokens","type":"address[]","internalType":"address[]"},{"name":"swappableTokenPoolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"addToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenInfo","type":"tuple","internalType":"struct IBiconomyTokenPaymaster.TokenInfo","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenPrice","type":"uint256","internalType":"uint256"},{"name":"appliedPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceExpiryDuration","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceMarkup","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"independentTokenDirectory","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isTokenSupported","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"nativeAssetToUsdOracle","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOracle"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setNativeAssetToUsdOracle","inputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceExpiryDurationForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newPriceExpiryDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceMarkupForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newIndependentPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"newUnaccountedGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"swapTokenAndDeposit","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenAmount","type":"uint256","internalType":"uint256"},{"name":"minEthAmountRecevied","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"tokenToPools","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"uniswapRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IV3SwapRouter"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateSwappableTokens","inputs":[{"name":"tokenAddresses","type":"address[]","internalType":"address[]"},{"name":"poolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawERC20Full","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20Full","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"wrappedNative","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"AddedToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"oracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"PaidGasInTokens","inputs":[{"name":"userOpSender","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenCharge","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"priceMarkup","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"tokenPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"userOpHash","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"RemovedFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SwappableTokensAdded","inputs":[{"name":"tokenAddresses","type":"address[]","indexed":true,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"SwappingReverted","inputs":[{"name":"tokenIn","type":"address","indexed":false,"internalType":"address"},{"name":"amountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"reason","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"TokensSwappedAndRefilledEntryPoint","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"tokenAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amountOut","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFeeCollector","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFixedPriceMarkup","inputs":[{"name":"oldValue","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"newValue","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"UpdatedNativeAssetOracle","inputs":[{"name":"oldOracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"newOracle","type":"address","indexed":true,"internalType":"contract IOracle"}],"anonymous":false},{"type":"event","name":"UpdatedPriceExpiryDuration","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedUnaccountedGas","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedVerifyingSigner","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"FailedToChargeTokens","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidPaymasterMode","inputs":[]},{"type":"error","name":"InvalidPriceExpiryDuration","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidTokenAddress","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"OraclePriceExpired","inputs":[]},{"type":"error","name":"OraclePriceNotPositive","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TokenNotSupported","inputs":[]},{"type":"error","name":"TokensAndAmountsLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndInfoLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndPoolsLengthMismatch","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UniswapReverted","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"UnwrappingReverted","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x6101206040523461019f57613140803803809161001b826101b7565b610120396101a08161012001911261019f57610035610232565b610040610140610242565b61004b610160610242565b610180516101a05161005e6101c0610242565b6101e05161006d610200610242565b91610079610220610242565b610240519094906001600160401b03811161019f578a61009c9161012001610264565b610260519096906001600160401b03811161019f578b6100bf91610120016102cb565b610280519098906001600160401b03811161019f578c6100e29161012001610264565b6102a051909a906001600160401b03811161019f5761010e9d6101089161012001610370565b9b610426565b60405161284890816108f882396080518181816106b10152818161082d015281816108df01528181610c2c01528181610cd40152818161189c01528181611a1c01528181611b5501526121b9015260a051818181610a330152818161119401526117c3015260c0518181816102d5015281816117240152611f60015260e05181610e8e015261010051816120690152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b610120601f91909101601f19168101906001600160401b038211908210176101de57604052565b6101a3565b606081019081106001600160401b038211176101de57604052565b601f909101601f19168101906001600160401b038211908210176101de57604052565b6001600160a01b0381160361019f57565b610120519061024082610221565b565b519061024082610221565b6001600160401b0381116101de5760051b60200190565b9080601f8301121561019f57815161027b8161024d565b9261028960405194856101fe565b81845260208085019260051b82010192831161019f57602001905b8282106102b15750505090565b6020809183516102c081610221565b8152019101906102a4565b81601f8201121561019f578051906102e28261024d565b926102f060405194856101fe565b8284526020606081860194028301019181831161019f57602001925b82841061031a575050505090565b60608483031261019f5760405190610331826101e3565b845161033c81610221565b825260208501519063ffffffff8216820361019f57826020928360609501526040870151604082015281520193019261030c565b9080601f8301121561019f578151906103888261024d565b9261039660405194856101fe565b82845260208085019360051b82010191821161019f57602001915b8183106103be5750505090565b825162ffffff8116810361019f578152602092830192016103b1565b9081602091031261019f575160ff8116810361019f5790565b6040513d5f823e3d90fd5b80518210156104125760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b92989c9b919395969761043c959a9b91986105f7565b60e05261010052803b6105d0576001600160a01b038116156105c15762030d4082116105b25785518451036105a35760405163313ce56760e01b81526020816004816001600160a01b0388165afa90811561059e5760089160ff915f9161056f575b501603610560576001556002556003555f5b835181101561055a57806104cf6104c9600193856103fe565b5161082e565b6105546104dc82856103fe565b516105136104fa6104ed858a6103fe565b516001600160a01b031690565b6001600160a01b03165f90815260046020526040902090565b81518154602084015163ffffffff60a01b60a09190911b166001600160a01b039092166001600160c01b031990911617178155604090910151600190910155565b016104b0565b50509050565b631c5f5f5d60e11b5f5260045ffd5b610591915060203d602011610597575b61058981836101fe565b8101906103da565b5f61049e565b503d61057f565b6103f3565b631b90532360e21b5f5260045ffd5b63313db2a560e11b5f5260045ffd5b6381618de160e01b5f5260045ffd5b63edc30c2760e01b5f5260045ffd5b9081602091031261019f5751801515810361019f5790565b91939461060691939695610738565b82518551036107295760a05260c0525f5b815181101561055a5780602061068e61064661063a61063a6104ed5f97896103fe565b6001600160a01b031690565b60a05161065b906001600160a01b031661063a565b60405163095ea7b360e01b81526001600160a01b0390911660048201525f19602482015294859283919082906044820190565b03925af191821561059e576001926106fd575b506106f76106bb6106b283886103fe565b5162ffffff1690565b6106e46106cb6104ed85886103fe565b6001600160a01b03165f90815260208190526040902090565b9062ffffff1662ffffff19825416179055565b01610617565b61071d9060203d8111610722575b61071581836101fe565b8101906105df565b6106a1565b503d61070b565b63552a04c960e01b5f5260045ffd5b8060601b15610821576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b60048201526020816024816001600160a01b0386165afa90811561059e575f91610802575b50156107bd57608052565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b61081b915060203d6020116107225761071581836101fe565b5f6107b2565b637448fbae5f526004601cfd5b8051600490602090610848906001600160a01b031661063a565b60405163313ce56760e01b815292839182905afa90811561059e5760089160ff915f916108d8575b5016036105605763ffffffff61088d602083015163ffffffff1690565b16621e848081119081156108cb575b506108bc576040015142106108ad57565b6347b4803b60e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b620f42409150105f61089c565b6108f1915060203d6020116105975761058981836101fe565b5f61087056fe6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b255780631b9a91a414611a97578063205c2878146119d757806323d9ac9b146119b05780632569296214611965578063406637941461169f57806341976e091461167b5780634230aa9e146115f357806344004cc1146115ba57806350f6ab101461155e57806352b7512c146114f157806354d1f13d146114ab5780635deef2aa146113f6578063617d057a1461132f57806361dcc50f146112ee5780636adf47421461128d5780636c19e78314611203578063715018a6146111b8578063735de9f71461117457806373acf5421461111557806375151b63146110d957806378b1da2314610fd85780637c627b2114610da3578063889e146814610d685780638da5cb5b14610d3d578063a6e1278014610d16578063ab94cad714610cf8578063b0d691fe14610cb4578063bacb4b7c14610c78578063bb9fe6bf14610c08578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103d3578063e5a29e18146102f9578063eb6d3a11146102b5578063f04e283e14610267578063f2fde38b146102285763fee81cf4146101f3575061000e565b346102255760203660031901126102255761020c611bbf565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b5060203660031901126102255761023d611bbf565b610245611edb565b8060601b1561025a576102579061259d565b80f35b637448fbae82526004601cfd5b5060203660031901126102255761027c611bbf565b610284611edb565b63389a75e1600c528082526020600c20805442116102a8579082610257925561259d565b636f5e881883526004601cfd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5060203660031901126102255761030e611bbf565b610316611edb565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103c85760089160ff918691610399575b50160361038a576001600160a01b0360035416906003557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103bb915060203d6020116103c1575b6103b38183611c84565b810190611ec2565b5f61034c565b503d6103a9565b6040513d86823e3d90fd5b506080366003190112610225576103e8611bbf565b60603660231901126105ed576040519061040182611c54565b610409611be9565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610435611edb565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600460205261050d63ffffffff6001600160a01b036040892095511696877fffffffffffffffffffffffff00000000000000000000000000000000000000008754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103c8577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103c1576103b38183611c84565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610488565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103c1576103b38183611c84565b5f61046b565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102255760c03660031901126102255760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102255760206106828760843587878760048c01611dbe565b604051908152f35b8480fd5b8280fd5b5080600319360112610225576106a6611ef7565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061281c5f395f51905f525d80f35b8161071f91611c84565b61022557805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102255761074d611bbf565b60243563ffffffff8116918282036105e957610767611edb565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600460208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102255780600319360112610225576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c84565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461022557602036600319011261022557806108cd611bbf565b6108d5611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c84565b6102255780f35b5050fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57366023820112156105ed57806004013561098881611ca6565b916109966040519384611c84565b818352602083016024819360051b83010191368311610c0457602401905b828210610bec5750505060243567ffffffffffffffff81116105e957366023820112156105e95780600401356109e981611ca6565b916109f76040519384611c84565b8183526024602084019260051b82010190368211610be857602401915b818310610bc857505050610a26611edb565b8251815103610bb95790917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190845b8151811015610b5357806001600160a01b03610a7d60019385611d41565b511662ffffff610a8d8387611d41565b51169060405160208a81830163095ea7b360e01b81528a60248501525f19604485015260448452610abf606485611c84565b83519082865af18a513d82610b38575b505015610af4575b50885287602052604088209062ffffff1982541617905501610a5f565b610b3290610b2c60405163095ea7b360e01b60208201528a60248201528c604482015260448152610b26606482611c84565b846127c7565b826127c7565b5f610ad7565b909150610b4c5750813b15155b5f80610acf565b8514610b45565b8585836040519182839251909190855b818110610b97575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b63565b63552a04c960e01b8452600484fd5b823562ffffff81168103610be457815260209283019201610a14565b8780fd5b8680fd5b60208091610bf984611bd5565b8152019101906109b4565b8580fd5b5034610225578060031936011261022557610c21611edb565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102255760203660031901126102255762ffffff60406020926001600160a01b03610ca3611bbf565b168152808452205416604051908152f35b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102255780600319360112610225576020600254604051908152f35b503461022557806003193601126102255760206001600160a01b0360035416604051908152f35b50346102255780600319360112610225576020638b78c6d819546001600160a01b0360405191168152f35b503461022557602036600319011261022557600160406020926001600160a01b03610d91611bbf565b16815260048452200154604051908152f35b503461022557608036600319011261022557600360043510156102255760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e0b6121af565b8390031261068e57610e1f60248301611bd5565b90610e2c60448401611bd5565b91608484013560a485013563ffffffff8116809103610be85760c4860135926001600160a01b038082169616968315610fb8575b83610e8184610e81610e86610e8c95610e81606480359201356002546125db565b611fa7565b8a6125db565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fa45790610ecf91611fce565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610f99575b89606052816040525f14610f7357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f1e565b634e487b7160e01b8a52601160045260248afd5b9250610fc387611fec565b9283610e6057633dd1b30560e01b8952600489fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57611005903690600401611c23565b61100d611be9565b90611016611edb565b61101e611ef7565b835b81811061103b5784805f51602061281c5f395f51905f525d80f35b8060206001600160a01b0361105b611056602495878a611d09565b611d2d565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110a4575b5061109e6001928561109961105685888b611d09565b612103565b01611020565b91506020823d82116110d1575b816110be60209383611c84565b8101031261089a5790519061109e611083565b3d91506110b1565b5034610225576020366003190112610225576001600160a01b03604060209282611101611bbf565b168152600484522054161515604051908152f35b5060203660031901126102255760043561112d611edb565b62030d40811161116557600254816002557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5080600319360112610225576111cc611edb565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261022557611218611bbf565b611220611edb565b803b61127e576001600160a01b038116801561126f576001600160a01b03600154169160015533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610225576001600160a01b036112aa611bbf565b6112b2611edb565b1680825260046020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102255760203660031901126102255763ffffffff60406020926001600160a01b0361131a611bbf565b16815260048452205460a01c16604051908152f35b5060603660031901126102255760043567ffffffffffffffff81116105ed5761135c903690600401611c23565b611364611be9565b60443567ffffffffffffffff811161068a57611384903690600401611c23565b909261138e611edb565b611396611ef7565b8181036113e757855b8181106113ba5786805f51602061281c5f395f51905f525d80f35b806113e16113ce611056600194868b611d09565b866113da84888b611d09565b3591612103565b0161139f565b630483384360e11b8652600486fd5b5060403660031901126102255761140b611bbf565b611413611be9565b9061141c611edb565b611424611ef7565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103c8578492611475575b6114629350612103565b805f51602061281c5f395f51905f525d80f35b91506020833d6020116114a3575b8161149060209383611c84565b8101031261089a57611462925191611458565b3d9150611483565b50806003193601126102255763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610225576060366003190112610225576004359067ffffffffffffffff821161022557610120600319833603011261022557611554611540836115346121af565b60243590600401612226565b604051928392604084526040840190611bff565b9060208301520390f35b50346102255760203660031901126102255760406060916001600160a01b03611585611bbf565b1681526004602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610225576114626115d2611bbf565b6115da611be9565b6115e2611edb565b6115ea611ef7565b60443591612103565b50604036600319011261022557611608611bbf565b60243590611614611edb565b81421061166c576001600160a01b03168083526004602052600160408420015490835260046020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b503461022557602036600319011261022557602061068261169a611bbf565b611fec565b506060366003190112610225576116b4611bbf565b6001600160a01b03602435916116c8611ef7565b16908183528260205262ffffff60408420541615611956578183528260205262ffffff6040842054166040519060e0820182811067ffffffffffffffff82111761194257906001600160a01b03916040528483526020830190827f0000000000000000000000000000000000000000000000000000000000000000168252604084019081526060840130815283608086019187835262ffffff60a088019460443586528360c08a01978d8952816040519b6304e45aaf60e01b8d52511660048c0152511660248a015251166044880152511660648601525160848501525160a4840152511660c482015260208160e481876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af184918161190e575b5061190857507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f28161183f61181f611cda565b604051918291868352856020840152606060408401526060830190611bff565b0390a182915b82611888575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061281c5f395f51905f525d80f35b61189183611f2c565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a576118f3575b505061184b565b816118fd91611c84565b6105e957835f6118ec565b91611845565b9091506020813d60201161193a575b8161192a60209383611c84565b8101031261089a5751905f6117ed565b3d915061191d565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102255763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461022557806003193601126102255760206001600160a01b0360015416604051908152f35b5034610225576040366003190112610225576001600160a01b036119f9611bbf565b611a01611edb565b611a09611ef7565b168015611a885781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061281c5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261022557611aac611bbf565b6001600160a01b0360243591611ac0611edb565b611ac8611ef7565b168280808085855af1611ad9611cda565b5015611b16577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061281c5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b4b611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bb457611ba8575080f35b61001891505f90611c84565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c7057604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c7057604052565b67ffffffffffffffff8111611c705760051b60200190565b67ffffffffffffffff8111611c7057601f01601f191660200190565b3d15611d04573d90611ceb82611cbe565b91611cf96040519384611c84565b82523d5f602084013e565b606090565b9190811015611d195760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d195760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611d9482611cbe565b91611da26040519384611c84565b82948184528183011161089a578281602093845f960137010152565b939194929094611ddb611dd46040870187611d55565b3691611d88565b6020815191012095611df3611dd46060880188611d55565b6020815191012095611e0860e0820182611d55565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ebc61020082611c84565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611eea57565b6382b429005f526004601cfd5b5f51602061281c5f395f51905f525c611f1d5760015f51602061281c5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fa4575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f5b604482611c84565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f89611cda565b5015611f925750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fba57565b634e487b7160e01b5f52601160045260245ffd5b8115611fd8570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600460205260405f206040519061200e82611c54565b600181549163ffffffff6001600160a01b0384169384865260a01c16602085015201549060408301918252156120f4576001600160a01b036120549251169051906125ff565b6004602061208e6001600160a01b03600354167f0000000000000000000000000000000000000000000000000000000000000000906125ff565b936040519283809263313ce56760e01b82525afa8015611bb45760ff915f916120d5575b5016604d8111611fba576120d2926120cd91600a0a90611fa7565b611fce565b90565b6120ee915060203d6020116103c1576103b38183611c84565b5f6120b2565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121a0576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612182575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b15171015612193575f612151565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121e157565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61223b8387611d55565b9390918460341015611d1957603483013560f81c956002871015612589578560351161089a5760358401916034198701936001891161257a5761227e908b611d55565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fba576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fba57606490046fffffffffffffffffffffffffffffffff1697806124c3575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761236a90607586013560e01c9560793692607819019101611d88565b8051604081141590816124b7575b506124a8576123c9908861239c87878b8f6001600160a01b03600154169589611dbe565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126c0565b15612452579165ffffffffffff60a01b9593916001600160a01b0361240f7fffffffffffff00000000000000000000000000000000000000000000000000009795611d2d565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261244460e082611c84565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124a1602082611c84565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f612378565b90989794506001919993959650146124dd575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161256b5761250b90611d2d565b93825f5260046020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261255e60e082611c84565b905f905f808080806124d6565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fba57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bb4575f925f9261266a575b505f83131561265b57420390428211611fba571061264c5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126b8575b8161268760a09383611c84565b8101031261089a57612698826125e8565b5060208201516126af6080606085015194016125e8565b5091905f612631565b3d915061267a565b92915f936001600160a01b038116156127bf576040519282518060401461278357604114612743575b85156126f6575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f8080806126f0565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126e9565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c0160205216606052612758565b505f93505050565b905f602091828151910182855af115611bb4575f513d61281257506001600160a01b0381163b155b6127f65750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b600114156127ef56fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:24914:8:-:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;:::o;:::-;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2174:24914:8;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;2870:7;;;;;;;;;;;;;;;;;;:::o;:::-;2174:24914;;2870:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;2174:24914;;;2870:7;;;;;;;;3639:2172;;;;;;;;;;;;;;;;;:::i;:::-;4543:47;;4600:71;;6221:74:0;;4682:102:8;;-1:-1:-1;;;;;2174:24914:8;;4797:32;4793:99;;2870:7;4905:42;;4901:103;;2870:7;;;;5018:51;5014:118;;2174:24914;;-1:-1:-1;;;5145:36:8;;;2174:24914;5145:36;2174:24914;-1:-1:-1;;;;;2174:24914:8;;5145:36;;;;;;;5185:1;5145:36;2870:7;5145:36;4827:1;5145:36;;;3639:2172;2870:7;;5145:41;5141:179;;5361:231;;;;;;4827:1;5655:3;2870:7;;5622:31;;;;;5693:16;;;5361:231;5693:16;;;:::i;:::-;;;:::i;:::-;2870:7;5777:16;;;;:::i;:::-;;5724:50;5750:23;;;;;:::i;:::-;2870:7;-1:-1:-1;;;;;2174:24914:8;;2870:7;5750:23;-1:-1:-1;;;;;2174:24914:8;2870:7;;;;5145:36;2870:7;;;;;;;5724:50;2870:7;;;;;;;;-1:-1:-1;;;2174:24914:8;2870:7;;;;;-1:-1:-1;;;;;2174:24914:8;;;-1:-1:-1;;;;;;2870:7:8;;;;;;;;;;;;-1:-1:-1;2870:7:8;;;;;;;5607:13;;5622:31;;;;;3639:2172::o;5141:179::-;5286:23;;;4827:1;5286:23;5145:36;4827:1;5286:23;5145:36;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;5014:118::-;5092:29;;;4827:1;5092:29;;4827:1;5092:29;4901:103;4970:23;;;4827:1;4970:23;;4827:1;4970:23;4793:99;4852:29;;;4827:1;4852:29;;4827:1;4852:29;4682:102;4740:33;;;;;;;;2174:24914;;;;;;;;;;;;;;;;;;:::o;1274:723:9:-;;;;377:1683:49;1274:723:9;;;;377:1683:49;:::i;:::-;2870:7:8;;;;1456:41:9;1452:109;;1628:32;;1670;;-1:-1:-1;1752:3:9;2870:7:8;;1733:17:9;;;;;1778:9;1771:68;;:25;:17;1778:9;;-1:-1:-1;1778:9:9;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;;1771:25:9;1628:32;2174:24914:8;1797:22:9;;-1:-1:-1;;;;;2174:24914:8;;;1797:22:9;2174:24914:8;;-1:-1:-1;;;1771:68:9;;-1:-1:-1;;;;;2174:24914:8;;;1771:68:9;;;2174:24914:8;-1:-1:-1;;2174:24914:8;;;;;;;;;2870:7;2174:24914;;;;;;;1771:68:9;;;;;;;;;;2870:7:8;1771:68:9;;;1752:3;1904:20;1878:46;1904:20;;;;;:::i;:::-;2174:24914:8;;;;;1904:20:9;1878:23;1891:9;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;1730:1:9;2870:7:8;;;;;;;;;;;;1878:23:9;2174:24914:8;;;;;;;;;;;;1878:46:9;2870:7:8;1718:13:9;;1771:68;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;1452:109;1520:30;;;-1:-1:-1;1520:30:9;;-1:-1:-1;1520:30:9;1021:171:0;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:130;-1:-1:-1;;5710:347:130;;;-1:-1:-1;5710:347:130;-1:-1:-1;;5710:347:130;2174:24914:8;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;2174:24914:8;;;3843:80:0;2174:24914:8;-1:-1:-1;;;;;2174:24914:8;;3843:80:0;;;;;;;-1:-1:-1;3843:80:0;;;1021:171;2174:24914:8;;;;1159:26:0;;1021:171::o;2174:24914:8:-;;;-1:-1:-1;;;2174:24914:8;;;3843:80:0;2174:24914:8;;;;3843:80:0;2174:24914:8;;;;;;;;;;;3843:80:0;;;;2174:24914:8;3843:80:0;2174:24914:8;3843:80:0;;;;;;;:::i;:::-;;;;198:181:10;;;;;;;24578:455:8;2870:7;;24662:27;;;;:25;;-1:-1:-1;;;;;2174:24914:8;2870:7;2174:24914;24662:25;2174:24914;;-1:-1:-1;;;24662:27:8;;2174:24914;;;;;24662:27;;;;;;;24693:1;24662:27;2870:7;24662:27;:16;:27;;;24578:455;2870:7;;24662:32;24658:93;;2174:24914;2870:7;24662:27;24764:21;;2870:7;2174:24914;;;;2870:7;2174:24914;3075:3;24764:41;;:87;;;;;24578:455;24760:145;;;2174:24914;24936:29;2870:7;24918:15;:47;24914:113;;24578:455::o;24914:113::-;24988:28;;;24662:16;24988:28;24662:27;:16;24988:28;24760:145;24874:20;;;24662:16;24874:20;24662:27;:16;24874:20;24764:87;2962:3;24809:42;;;24764:87;;;24662:27;;;;;;;;;;;;;;:::i;:::-;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b255780631b9a91a414611a97578063205c2878146119d757806323d9ac9b146119b05780632569296214611965578063406637941461169f57806341976e091461167b5780634230aa9e146115f357806344004cc1146115ba57806350f6ab101461155e57806352b7512c146114f157806354d1f13d146114ab5780635deef2aa146113f6578063617d057a1461132f57806361dcc50f146112ee5780636adf47421461128d5780636c19e78314611203578063715018a6146111b8578063735de9f71461117457806373acf5421461111557806375151b63146110d957806378b1da2314610fd85780637c627b2114610da3578063889e146814610d685780638da5cb5b14610d3d578063a6e1278014610d16578063ab94cad714610cf8578063b0d691fe14610cb4578063bacb4b7c14610c78578063bb9fe6bf14610c08578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103d3578063e5a29e18146102f9578063eb6d3a11146102b5578063f04e283e14610267578063f2fde38b146102285763fee81cf4146101f3575061000e565b346102255760203660031901126102255761020c611bbf565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b5060203660031901126102255761023d611bbf565b610245611edb565b8060601b1561025a576102579061259d565b80f35b637448fbae82526004601cfd5b5060203660031901126102255761027c611bbf565b610284611edb565b63389a75e1600c528082526020600c20805442116102a8579082610257925561259d565b636f5e881883526004601cfd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5060203660031901126102255761030e611bbf565b610316611edb565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103c85760089160ff918691610399575b50160361038a576001600160a01b0360035416906003557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103bb915060203d6020116103c1575b6103b38183611c84565b810190611ec2565b5f61034c565b503d6103a9565b6040513d86823e3d90fd5b506080366003190112610225576103e8611bbf565b60603660231901126105ed576040519061040182611c54565b610409611be9565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610435611edb565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600460205261050d63ffffffff6001600160a01b036040892095511696877fffffffffffffffffffffffff00000000000000000000000000000000000000008754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103c8577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103c1576103b38183611c84565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610488565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103c1576103b38183611c84565b5f61046b565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102255760c03660031901126102255760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102255760206106828760843587878760048c01611dbe565b604051908152f35b8480fd5b8280fd5b5080600319360112610225576106a6611ef7565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061281c5f395f51905f525d80f35b8161071f91611c84565b61022557805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102255761074d611bbf565b60243563ffffffff8116918282036105e957610767611edb565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600460208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102255780600319360112610225576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c84565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461022557602036600319011261022557806108cd611bbf565b6108d5611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c84565b6102255780f35b5050fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57366023820112156105ed57806004013561098881611ca6565b916109966040519384611c84565b818352602083016024819360051b83010191368311610c0457602401905b828210610bec5750505060243567ffffffffffffffff81116105e957366023820112156105e95780600401356109e981611ca6565b916109f76040519384611c84565b8183526024602084019260051b82010190368211610be857602401915b818310610bc857505050610a26611edb565b8251815103610bb95790917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190845b8151811015610b5357806001600160a01b03610a7d60019385611d41565b511662ffffff610a8d8387611d41565b51169060405160208a81830163095ea7b360e01b81528a60248501525f19604485015260448452610abf606485611c84565b83519082865af18a513d82610b38575b505015610af4575b50885287602052604088209062ffffff1982541617905501610a5f565b610b3290610b2c60405163095ea7b360e01b60208201528a60248201528c604482015260448152610b26606482611c84565b846127c7565b826127c7565b5f610ad7565b909150610b4c5750813b15155b5f80610acf565b8514610b45565b8585836040519182839251909190855b818110610b97575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b63565b63552a04c960e01b8452600484fd5b823562ffffff81168103610be457815260209283019201610a14565b8780fd5b8680fd5b60208091610bf984611bd5565b8152019101906109b4565b8580fd5b5034610225578060031936011261022557610c21611edb565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102255760203660031901126102255762ffffff60406020926001600160a01b03610ca3611bbf565b168152808452205416604051908152f35b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102255780600319360112610225576020600254604051908152f35b503461022557806003193601126102255760206001600160a01b0360035416604051908152f35b50346102255780600319360112610225576020638b78c6d819546001600160a01b0360405191168152f35b503461022557602036600319011261022557600160406020926001600160a01b03610d91611bbf565b16815260048452200154604051908152f35b503461022557608036600319011261022557600360043510156102255760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e0b6121af565b8390031261068e57610e1f60248301611bd5565b90610e2c60448401611bd5565b91608484013560a485013563ffffffff8116809103610be85760c4860135926001600160a01b038082169616968315610fb8575b83610e8184610e81610e86610e8c95610e81606480359201356002546125db565b611fa7565b8a6125db565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fa45790610ecf91611fce565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610f99575b89606052816040525f14610f7357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f1e565b634e487b7160e01b8a52601160045260248afd5b9250610fc387611fec565b9283610e6057633dd1b30560e01b8952600489fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57611005903690600401611c23565b61100d611be9565b90611016611edb565b61101e611ef7565b835b81811061103b5784805f51602061281c5f395f51905f525d80f35b8060206001600160a01b0361105b611056602495878a611d09565b611d2d565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110a4575b5061109e6001928561109961105685888b611d09565b612103565b01611020565b91506020823d82116110d1575b816110be60209383611c84565b8101031261089a5790519061109e611083565b3d91506110b1565b5034610225576020366003190112610225576001600160a01b03604060209282611101611bbf565b168152600484522054161515604051908152f35b5060203660031901126102255760043561112d611edb565b62030d40811161116557600254816002557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5080600319360112610225576111cc611edb565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261022557611218611bbf565b611220611edb565b803b61127e576001600160a01b038116801561126f576001600160a01b03600154169160015533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610225576001600160a01b036112aa611bbf565b6112b2611edb565b1680825260046020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102255760203660031901126102255763ffffffff60406020926001600160a01b0361131a611bbf565b16815260048452205460a01c16604051908152f35b5060603660031901126102255760043567ffffffffffffffff81116105ed5761135c903690600401611c23565b611364611be9565b60443567ffffffffffffffff811161068a57611384903690600401611c23565b909261138e611edb565b611396611ef7565b8181036113e757855b8181106113ba5786805f51602061281c5f395f51905f525d80f35b806113e16113ce611056600194868b611d09565b866113da84888b611d09565b3591612103565b0161139f565b630483384360e11b8652600486fd5b5060403660031901126102255761140b611bbf565b611413611be9565b9061141c611edb565b611424611ef7565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103c8578492611475575b6114629350612103565b805f51602061281c5f395f51905f525d80f35b91506020833d6020116114a3575b8161149060209383611c84565b8101031261089a57611462925191611458565b3d9150611483565b50806003193601126102255763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610225576060366003190112610225576004359067ffffffffffffffff821161022557610120600319833603011261022557611554611540836115346121af565b60243590600401612226565b604051928392604084526040840190611bff565b9060208301520390f35b50346102255760203660031901126102255760406060916001600160a01b03611585611bbf565b1681526004602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610225576114626115d2611bbf565b6115da611be9565b6115e2611edb565b6115ea611ef7565b60443591612103565b50604036600319011261022557611608611bbf565b60243590611614611edb565b81421061166c576001600160a01b03168083526004602052600160408420015490835260046020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b503461022557602036600319011261022557602061068261169a611bbf565b611fec565b506060366003190112610225576116b4611bbf565b6001600160a01b03602435916116c8611ef7565b16908183528260205262ffffff60408420541615611956578183528260205262ffffff6040842054166040519060e0820182811067ffffffffffffffff82111761194257906001600160a01b03916040528483526020830190827f0000000000000000000000000000000000000000000000000000000000000000168252604084019081526060840130815283608086019187835262ffffff60a088019460443586528360c08a01978d8952816040519b6304e45aaf60e01b8d52511660048c0152511660248a015251166044880152511660648601525160848501525160a4840152511660c482015260208160e481876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af184918161190e575b5061190857507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f28161183f61181f611cda565b604051918291868352856020840152606060408401526060830190611bff565b0390a182915b82611888575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061281c5f395f51905f525d80f35b61189183611f2c565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a576118f3575b505061184b565b816118fd91611c84565b6105e957835f6118ec565b91611845565b9091506020813d60201161193a575b8161192a60209383611c84565b8101031261089a5751905f6117ed565b3d915061191d565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102255763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461022557806003193601126102255760206001600160a01b0360015416604051908152f35b5034610225576040366003190112610225576001600160a01b036119f9611bbf565b611a01611edb565b611a09611ef7565b168015611a885781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061281c5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261022557611aac611bbf565b6001600160a01b0360243591611ac0611edb565b611ac8611ef7565b168280808085855af1611ad9611cda565b5015611b16577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061281c5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b4b611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bb457611ba8575080f35b61001891505f90611c84565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c7057604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c7057604052565b67ffffffffffffffff8111611c705760051b60200190565b67ffffffffffffffff8111611c7057601f01601f191660200190565b3d15611d04573d90611ceb82611cbe565b91611cf96040519384611c84565b82523d5f602084013e565b606090565b9190811015611d195760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d195760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611d9482611cbe565b91611da26040519384611c84565b82948184528183011161089a578281602093845f960137010152565b939194929094611ddb611dd46040870187611d55565b3691611d88565b6020815191012095611df3611dd46060880188611d55565b6020815191012095611e0860e0820182611d55565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ebc61020082611c84565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611eea57565b6382b429005f526004601cfd5b5f51602061281c5f395f51905f525c611f1d5760015f51602061281c5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fa4575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f5b604482611c84565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f89611cda565b5015611f925750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fba57565b634e487b7160e01b5f52601160045260245ffd5b8115611fd8570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600460205260405f206040519061200e82611c54565b600181549163ffffffff6001600160a01b0384169384865260a01c16602085015201549060408301918252156120f4576001600160a01b036120549251169051906125ff565b6004602061208e6001600160a01b03600354167f0000000000000000000000000000000000000000000000000000000000000000906125ff565b936040519283809263313ce56760e01b82525afa8015611bb45760ff915f916120d5575b5016604d8111611fba576120d2926120cd91600a0a90611fa7565b611fce565b90565b6120ee915060203d6020116103c1576103b38183611c84565b5f6120b2565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121a0576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612182575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b15171015612193575f612151565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121e157565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61223b8387611d55565b9390918460341015611d1957603483013560f81c956002871015612589578560351161089a5760358401916034198701936001891161257a5761227e908b611d55565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fba576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fba57606490046fffffffffffffffffffffffffffffffff1697806124c3575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761236a90607586013560e01c9560793692607819019101611d88565b8051604081141590816124b7575b506124a8576123c9908861239c87878b8f6001600160a01b03600154169589611dbe565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126c0565b15612452579165ffffffffffff60a01b9593916001600160a01b0361240f7fffffffffffff00000000000000000000000000000000000000000000000000009795611d2d565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261244460e082611c84565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124a1602082611c84565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f612378565b90989794506001919993959650146124dd575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161256b5761250b90611d2d565b93825f5260046020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261255e60e082611c84565b905f905f808080806124d6565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fba57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bb4575f925f9261266a575b505f83131561265b57420390428211611fba571061264c5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126b8575b8161268760a09383611c84565b8101031261089a57612698826125e8565b5060208201516126af6080606085015194016125e8565b5091905f612631565b3d915061267a565b92915f936001600160a01b038116156127bf576040519282518060401461278357604114612743575b85156126f6575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f8080806126f0565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126e9565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c0160205216606052612758565b505f93505050565b905f602091828151910182855af115611bb4575f513d61281257506001600160a01b0381163b155b6127f65750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b600114156127ef56fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:24914:8:-:0;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;11885:237:130;;;;;2174:24914:8;11885:237:130;;;;2174:24914:8;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;2174:24914:8;;8479:183:130;;;;2174:24914:8;8479:183:130;;2174:24914:8;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;10506:526;;;;;;2174:24914:8;10506:526:130;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;2174:24914:8;10506:526:130;;2174:24914:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;947:38:9;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;11937:17:8;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;11937:17;;;;;;;11958:1;11937:17;2174:24914;11937:17;;;;;2174:24914;;;11937:22;11933:140;;-1:-1:-1;;;;;12119:22:8;2174:24914;;12151:92;12119:22;12151:92;12258:59;;;;2174:24914;;11933:140;-1:-1:-1;;;12039:23:8;;2174:24914;24717:23;12039;11937:17;;;;2174:24914;11937:17;2174:24914;11937:17;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2174:24914;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;24662:27;;;;;;;;;24693:1;24662:27;2174:24914;24662:27;;;;;2174:24914;;;24662:32;24658:93;;2174:24914;;;;3075:3;24764:41;;:87;;;;;2174:24914;24760:145;;;2174:24914;;24918:15;:47;24914:113;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;2962:3;-1:-1:-1;;;;;;;2962:3:8;;;;;;;;;;;;2174:24914;;;;;;;-1:-1:-1;;;12909:39:8;;2174:24914;;;;12909:39;;;;;;;;12855:94;12909:39;2174:24914;12909:39;;;;;2174:24914;;;;;;;;;12855:94;2174:24914;;12909:39;;;;;;;;;;;;;;:::i;:::-;;;;24914:113;-1:-1:-1;;;24988:28:8;;2174:24914;11346:28;24988;24760:145;-1:-1:-1;;;24874:20:8;;2174:24914;10629:20;24874;24764:87;2962:3;24809:42;;;24764:87;;;24658:93;-1:-1:-1;;;24717:23:8;;2174:24914;24717:23;;24662:27;;;;2174:24914;24662:27;2174:24914;24662:27;;;;;;;:::i;:::-;;;;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1181:103:49;;:::i;:::-;15500:10:8;-1:-1:-1;;;;;15500:10:8;2174:24914;15500:55;;;;;2174:24914;15500:55;2174:24914;;;;;;;;;;15500:55;;15549:4;2174:24914;15500:55;;2174:24914;15529:9;15500:55;;;;;;;;;2174:24914;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;15500:55;;;;;:::i;:::-;2174:24914;;15500:55;;;;;2174:24914;;;;;;;;;15500:55;2174:24914;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;;;;;;;;;;12478:70:130;;:::i;:::-;3075:3:8;10465:45;;:95;;;;2174:24914;10461:199;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;2962:3;;-1:-1:-1;;;;2962:3:8;2174:24914;2962:3;;;-1:-1:-1;;;2962:3:8;;;;2174:24914;;;;10859:77;;;;2174:24914;;10461:199;-1:-1:-1;;;10629:20:8;;2174:24914;10629:20;;10465:95;10514:46;2962:3;10514:46;;10465:95;;2174:24914;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;2174:24914:8;3569:35:0;;2174:24914:8;;;;3569:35:0;2174:24914:8;3569:10:0;-1:-1:-1;;;;;2174:24914:8;3569:35:0;;;;;;;;;;2174:24914:8;;;;;;;;;3569:35:0;;2174:24914:8;3569:35:0;;2174:24914:8;3569:35:0;;;;;;2174:24914:8;3569:35:0;;;:::i;:::-;;;2174:24914:8;;;;;;;3569:35:0;;2174:24914:8;-1:-1:-1;2174:24914:8;;3569:35:0;;;-1:-1:-1;3569:35:0;;;2174:24914:8;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;2174:24914:8;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;2174:24914:8;;;;;;;;;;;;;2107:41:0;;2174:24914:8;;2107:41:0;;2174:24914:8;2107:41:0;;;;;;;;2174:24914:8;;2107:41:0;;;;;:::i;:::-;2174:24914:8;;2107:41:0;2174:24914:8;2107:41:0;2174:24914:8;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;;;;:::i;:::-;2174:24914:8;;;;13882:44;13878:112;;14005:13;;2126::9;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;14005:13:8;14047:3;2174:24914;;14020:25;;;;;14080:17;-1:-1:-1;;;;;14080:17:8;2174:24914;14080:17;;;:::i;:::-;2174:24914;;;14099:15;;;;:::i;:::-;2174:24914;;;;;;4567:47:43;;;;2174:24914:8;;;4567:47:43;;;2174:24914:8;4567:47:43;;2174:24914:8;2142:17:9;;4567:47:43;2174:24914:8;;;4567:47:43;;;;;;;:::i;:::-;9138:199;;;;;;;;;;9353:80;;;14047:3:8;4629:45:43;;;4625:201;;14047:3:8;2174:24914;;;;;;;;;;;;;;;;;;;14005:13;;4625:201:43;4802:12;2174:24914:8;4717:43:43;2174:24914:8;;;;;;4717:43:43;;;;2174:24914:8;4717:43:43;;2174:24914:8;;4567:47:43;2174:24914:8;;;4567:47:43;4717:43;;;4567:47;4717:43;;:::i;:::-;;;:::i;:::-;4802:12;;:::i;:::-;4625:201;;;9353:80;9365:67;;-1:-1:-1;9365:15:43;;9383:26;;;:30;;9365:67;9353:80;;;;9365:67;9416:16;;9365:67;;14020:25:8;;;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;14140:36;;;;2174:24914;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;13878:112;-1:-1:-1;;;13949:30:8;;2174:24914;13949:30;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;2174:24914:8;1770:24:0;;;;;2174:24914:8;;;;;;;;;;;;;1770:24:0;;;;;;;;;;2174:24914:8;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;2174:24914:8;;;;;;;;;;;;;;;;;;2600:29;2174:24914;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2635:37:8;2174:24914;;;;;;;;;;;;;;;;;;;;;;6813:405:130;;11523:61;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;18985:59;2174:24914;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;18985:59;2174:24914;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2192:298:0;;;:::i;:::-;2174:24914:8;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;22898:290;;23380:15;23377:250;;2174:24914;;24016:109;2174:24914;24031:71;24047:55;24016:122;2174:24914;24049:27;2174:24914;;;;;;24049:14;2174:24914;24049:27;:::i;:::-;24047:55;:::i;:::-;24031:71;;:::i;24016:122::-;24150:22;:43;2174:24914;;;;;;;;;;;;;;;24016:178;;;;:::i;:::-;24209:91;2174:24914;10384:740:134;;;2174:24914:8;10384:740:134;24281:4:8;2174:24914;10384:740:134;;;;2174:24914:8;10384:740:134;;;;;;;2174:24914:8;10384:740:134;2174:24914:8;10384:740:134;;;;;;2174:24914:8;10384:740:134;;;;;;;2174:24914:8;10384:740:134;2174:24914:8;10384:740:134;;2174:24914:8;10384:740:134;24205:353:8;24209:91;;;2174:24914;;;;;24321:115;2174:24914;;;;;;;;;;;;;;;;;;;;;;;24321:115;2174:24914;;24205:353;24474:73;2174:24914;24474:73;;;;;;;;2174:24914;24474:73;;2174:24914;;;;;;;;;;;;;24474:73;10384:740:134;;;;;;;;;2174:24914:8;-1:-1:-1;;;2174:24914:8;;;;;;;;23377:250;23424:23;;;;;:::i;:::-;23541:15;;23377:250;23538:79;-1:-1:-1;;;23583:19:8;;2174:24914;;23583:19;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;8365:9:8;8376:16;;;;;;3550:68:51;;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;8365:9;8430:8;2174:24914;-1:-1:-1;;;;;8430:8:8;;2174:24914;8430:8;;;;:::i;:::-;;:::i;:::-;2174:24914;;;;;;;;;;8430:33;;8457:4;2174:24914;8430:33;;2174:24914;8430:33;;;;;;;;;;;8365:9;8496:8;8514:6;2174:24914;8496:8;;;;;;;;:::i;:::-;8514:6;:::i;:::-;2174:24914;8365:9;;8430:33;;;2174:24914;8430:33;;;;;;;;;2174:24914;8430:33;;;:::i;:::-;;;2174:24914;;;;;;;8514:6;8430:33;;;;;-1:-1:-1;8430:33:8;;2174:24914;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::i;:::-;;;;;;;;;;18199:69;;2174:24914;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;12478:70:130;;:::i;:::-;2870:7:8;9791:42;;9787:103;;9927:14;2174:24914;9951:95;9927:14;9951:95;10060:59;;;;2174:24914;;9787:103;-1:-1:-1;;;9856:23:8;;2174:24914;9856:23;;2174:24914;;;;;;;;;;;;;;;;-1:-1:-1;;;;;817:44:9;2174:24914:8;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;6813:405;;;;;;;;;;;;2174:24914:8;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;9049:77:8;;-1:-1:-1;;;;;2174:24914:8;;9140:32;;9136:99;;-1:-1:-1;;;;;9264:15:8;2174:24914;;9289:97;9264:15;9289:97;9454:10;9400:65;;;;;2174:24914;;9136:99;-1:-1:-1;;;9195:29:8;;2174:24914;9195:29;;9049:77;-1:-1:-1;;;9093:33:8;;2174:24914;9093:33;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;12478:70:130;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;;;;13336:39;;;;2174:24914;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;12478:70:130;;;;:::i;:::-;1181:103:49;;:::i;:::-;7659:29:8;;;7655:99;;7792:9;7803:16;;;;;;3550:68:51;;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;7792:9;7855:8;7873:9;7855:8;;2174:24914;7855:8;;;;:::i;:::-;7873:9;;;;;;:::i;:::-;2174:24914;7873:9;;:::i;:::-;2174:24914;7792:9;;7655:99;-1:-1:-1;;;7711:32:8;;2174:24914;7711:32;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;:::i;:::-;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;7098:30:8;;7122:4;2174:24914;7098:30;;2174:24914;;;;;;-1:-1:-1;;;;;2174:24914:8;;7098:30;;;;;;;;;;;2174:24914;7168:6;;;;:::i;:::-;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;7098:30;;;2174:24914;7098:30;;2174:24914;7098:30;;;;;;2174:24914;7098:30;;;:::i;:::-;;;2174:24914;;;;7168:6;2174:24914;;7098:30;;;;;;-1:-1:-1;7098:30:8;;2174:24914;;;;;;;;;;9831:339:130;;;;;;;;;;;;;;;;2174:24914:8;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;19366:2958;2737:22:0;;;:::i;:::-;2174:24914:8;;;;;19366:2958;:::i;:::-;2174:24914;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;2705:62;2174:24914;;2705:62;;2174:24914;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;6288:6;2174:24914;;:::i;:::-;;;:::i;:::-;12478:70:130;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;;6288:6;;:::i;2174:24914::-;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;12478:70:130;;;:::i;:::-;11297:15:8;;:40;11294:80;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;11417:59;2174:24914;;;;;;;;;;;;11486:59;2174:24914;11585:74;;;;2174:24914;;11294:80;-1:-1:-1;;;11346:28:8;;2174:24914;11346:28;;2174:24914;;;;;;;-1:-1:-1;;2174:24914:8;;;;;17884:23;2174:24914;;:::i;:::-;17884:23;:::i;2174:24914::-;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;1181:103:49;;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;2435:26:9;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;2546:344:9;;2637:13;;;2174:24914:8;;;;2546:344:9;;2174:24914:8;;;;2546:344:9;;2723:4;2174:24914:8;;2546:344:9;;;;2174:24914:8;;;;;2546:344:9;;;2174:24914:8;;;;;2546:344:9;;;;2174:24914:8;;;;;;;;;;;2905:38:9;;2174:24914:8;;;2905:38:9;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2905:13:9;:38;:13;;-1:-1:-1;;;;;2905:13:9;2174:24914:8;2905:38:9;;;;;;;2174:24914:8;-1:-1:-1;2901:248:9;;3021:128;3068:43;2174:24914:8;3021:128:9;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3068:43:9;;;3125:13;2901:248;;14912:13:8;14909:203;;2901:248:9;15126:84:8;2174:24914;;;15199:10;2174:24914;;15126:84;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;14909:203;14987:9;;;:::i;:::-;15046:10;-1:-1:-1;;;;;15046:10:8;2174:24914;15046:55;;;;;2174:24914;;;;;;;;;;;;;15046:55;;2723:4:9;2174:24914:8;15046:55;;2174:24914;15046:55;;;;;;;;14909:203;;;;;15046:55;;;;;:::i;:::-;2174:24914;;15046:55;;;;2901:248:9;;;;2905:38;;;;2174:24914:8;2905:38:9;;2174:24914:8;2905:38:9;;;;;;2174:24914:8;2905:38:9;;;:::i;:::-;;;2174:24914:8;;;;;2905:38:9;;;;;;;-1:-1:-1;2905:38:9;;2174:24914:8;-1:-1:-1;;;2174:24914:8;;;;;;;;;-1:-1:-1;;;2174:24914:8;;;;;;;;;;;;;;;9239:383:130;;;;;;7972:9;9132:15;2174:24914:8;9239:383:130;;;;;;;;;2174:24914:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2506:30:8;2174:24914;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;12478:70:130;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;15992:29;;15988:71;;16069:10;;-1:-1:-1;;;;;16069:10:8;2174:24914;16069:46;;;;;;2174:24914;;16069:46;2174:24914;;;;;;;;;;;;16069:46;;2174:24914;16069:46;;2174:24914;;;;;;;16069:46;;;;;;;;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;15988:71;-1:-1:-1;;;16030:29:8;;2174:24914;16030:29;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;6606:35;;;;;;;;;;:::i;:::-;;6655:8;6651:64;;6729:31;;;;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;6651:64;-1:-1:-1;;;6686:18:8;;2174:24914;6686:18;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;2174:24914:8;1496:56:0;;;;;;2174:24914:8;;1496:56:0;2174:24914:8;;;;;;;;;1496:56:0;;2174:24914:8;1496:56:0;;2174:24914:8;1524:9:0;1496:56;;;;;;;;;2174:24914:8;;;1496:56:0;;;;2174:24914:8;1496:56:0;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;-1:-1:-1;;2174:24914:8;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;2174:24914:8;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2174:24914:8;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;:::o;16536:1072::-;;;;;;;2174:24914;17073:15;;;;;;:::i;:::-;2174:24914;;;:::i;:::-;17033:12;2174:24914;;;;17063:26;17117:15;2174:24914;17117:15;;;;;;:::i;2174:24914::-;17033:12;2174:24914;;;;17107:26;17208:23;;;;;;;:::i;:::-;490:2:68;976:38:0;;;372:2:68;976:38:0;;17073:15:8;2174:24914;16981:610;17033:12;16981:610;;823:61:68;;;-1:-1:-1;;;;;2174:24914:8;;;17033:12;;;2174:24914;17073:15;976:38:0;;2174:24914:8;17117:15;976:38:0;;2174:24914:8;17151:23;976:38:0;;2174:24914:8;17151:23;;;2174:24914;17308:25;976:38:0;;2174:24914:8;17351:14;976:38:0;;2174:24914:8;17308:25;;;2174:24914;17208:23;976:38:0;;2174:24914:8;17351:14;;2174:24914;976:38:0;;;2174:24914:8;17383:13;976:38:0;;;2174:24914:8;17422:4;976:38:0;;;2174:24914:8;;;976:38:0;;;;2174:24914:8;;976:38:0;;;;-1:-1:-1;;;;;2174:24914:8;976:38:0;;;2174:24914:8;976:38:0;;;2174:24914:8;;;976:38:0;;;2174:24914:8;976:38:0;16981:610:8;;;;;;:::i;:::-;2174:24914;16958:643;;16536:1072;:::o;2174:24914::-;;;;;;;;;;;;;;;;;;:::o;7292:355:130:-;-1:-1:-1;;7390:251:130;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:49;-1:-1:-1;;;;;;;;;;;3321:69:51;1413:93:49;;1624:4;-1:-1:-1;;;;;;;;;;;3550:68:51;1290:346:49:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:49;;-1:-1:-1;1465:30:49;3161:252:9;3220:11;;3217:23;;3230:1;2174:24914:8;;;3296:52:9;;;;;;;;;;;;;2174:24914:8;3296:52:9;;;;;;;:::i;:::-;3268:81;3276:13;;;3268:81;;;;:::i;:::-;;3363:8;3359:47;;3161:252;:::o;3359:47::-;3380:26;;;3230:1;3380:26;3296:52;2174:24914:8;3296:52:9;3230:1;3380:26;3217:23;3233:7;:::o;2174:24914:8:-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;25158:770;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;2174:24914:8;25326:25;2174:24914;;;-1:-1:-1;2174:24914:8;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;25380:39;25376:152;;-1:-1:-1;;;;;25619:60:8;2174:24914;;;;;25619:60;;:::i;:::-;25326:25;2174:24914;25716:72;-1:-1:-1;;;;;25728:22:8;2174:24914;;25752:35;25716:72;;:::i;:::-;2174:24914;;;;;;;;;;25868:39;;;;;;;;2174:24914;25868:39;-1:-1:-1;25868:39:8;;;25158:770;2174:24914;;;;;;;25844:77;2174:24914;25845:62;2174:24914;;;25845:62;;:::i;:::-;25844:77;:::i;:::-;25158:770;:::o;25868:39::-;;;;2174:24914;25868:39;2174:24914;25868:39;;;;;;;:::i;:::-;;;;25376:152;2174:24914;;;-1:-1:-1;25498:19:8;25326:25;-1:-1:-1;25498:19:8;26785:301;;-1:-1:-1;;;;;2174:24914:8;;26877:20;;;26873:62;;-1:-1:-1;;;;;2174:24914:8;13252:754:134;;;;;;;26895:1:8;13252:754:134;;26895:1:8;13252:754:134;;;;;;;;26895:1:8;13252:754:134;;;;;;26785:301:8;13252:754:134;26895:1:8;13252:754:134;;27020:59:8;13252:754:134;2174:24914:8;;27068:10;2174:24914;;27020:59;26785:301::o;13252:754:134:-;;;;;;;;;;;;;;;26895:1:8;13252:754:134;;;;26873:62:8;16030:29;;;26895:1;26906:29;;26895:1;26906:29;5930:135:0;-1:-1:-1;;;;;6021:10:0;2174:24914:8;5999:10:0;:33;2174:24914:8;;5930:135:0:o;2174:24914:8:-;;;-1:-1:-1;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;19366:2958;;;2174:24914;;19671:23;;;;2174:24914;19671:23;;19366:2958;19671:23;:::i;:::-;374:38:6;;;;490:2:68;374:38:6;;;;490:2:68;374:38:6;;717:39;374:38;;2174:24914:8;;;;;;;976:38:0;2174:24914:8;976:38:0;;;2174:24914:8;976:38:0;;;;;;;2174:24914:8;833:1:6;19733:15:8;;19729:75;;19931:23;;;;:::i;:::-;490:2:68;976:38:0;;;434:2:68;976:38:0;875:44;19867:23:8;875:44:0;2174:24914:8;19867:23;;;2174:24914;;875:44:0;2174:24914:8;875:44:0;;;;2174:24914:8;20030:2;2174:24914;;875:44:0;2174:24914:8;;;875:44:0;;;;;20037:3:8;875:44:0;;2174:24914:8;;;20055:30;;;976:38:0;;;;1267:1:6;976:38:0;;;2174:24914:8;;;;1327:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:24914:8;;;;1393:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:24914:8;;;;1457:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;;;1527:2:6;976:38:0;;;2174:24914:8;976:38:0;;;;2174:24914:8;19671:23;2174:24914;976:38:0;;2174:24914:8;976:38:0;;;;;;2174:24914:8;:::i;:::-;;;1457:2:6;20589:22:8;;;:48;;;;20051:2267;20585:118;;;20733:255;2174:24914;;20843:86;2174:24914;;;;-1:-1:-1;;;;;833:1:6;2174:24914:8;;20843:86;;;:::i;:::-;1393:2:6;13414:265:131;;-1:-1:-1;13414:265:131;;976:38:0;13414:265:131;20733:255:8;;:::i;:::-;21085:9;21081:110;;21243:13;-1:-1:-1;;;21243:13:8;;;-1:-1:-1;;;;;21243:13:8;2174:24914;21243:13;;;:::i;:::-;2174:24914;;1457:2:6;2174:24914:8;21215:208;2174:24914;1393:2:6;21215:208:8;;2174:24914;;1457:2:6;875:44:0;;2174:24914:8;;875:44:0;;2174:24914:8;19867:23;875:44:0;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;21215:208:8;;;19671:23;21215:208;;:::i;:::-;21454:50;2174:24914;;;;875:44:0;2174:24914:8;;2589:104:64;20051:2267:8;19366:2958::o;21081:110::-;21126:49;;;;;;-1:-1:-1;;;2174:24914:8;833:1:6;21126:49:8;;2174:24914;;;;2643:3:64;2174:24914:8;;2589:104:64;;2174:24914:8;1457:2:6;2174:24914:8;;1393:2:6;2174:24914:8;;:::i;:::-;-1:-1:-1;2174:24914:8;;21114:62;;:::o;20585:118::-;20664:24;;;-1:-1:-1;20664:24:8;976:38:0;-1:-1:-1;20664:24:8;20589:48;20635:2;20615:22;;;;20589:48;;;20051:2267;2174:24914;;;;;833:1:6;2174:24914:8;;;;;;21563:33;21559:759;;20051:2267;;;;;;19366:2958::o;21559:759::-;976:38:0;;;;;;;;;1809:2:6;976:38:0;;;2174:24914:8;;;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;;21794:29:8;21790:96;;21938:13;;;:::i;:::-;2174:24914;;-1:-1:-1;2174:24914:8;22125:25;2174:24914;;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;2174:24914:8;;;;;;;;;21910:312;2174:24914;;21910:312;;2174:24914;;;875:44:0;;2174:24914:8;875:44:0;;2174:24914:8;-1:-1:-1;19867:23:8;875:44:0;;2174:24914:8;;875:44:0;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;21910:312:8;;;19671:23;21910:312;;:::i;:::-;22236:18;-1:-1:-1;21559:759:8;;;;;;;;21790:96;21850:21;;;-1:-1:-1;21850:21:8;;-1:-1:-1;21850:21:8;19729:75;19771:22;;;-1:-1:-1;19771:22:8;;-1:-1:-1;19771:22:8;2174:24914;;;;;;;;;;;;6145:1089:130;-1:-1:-1;;;;;6813:405:130;;;;;;-1:-1:-1;6813:405:130;;-1:-1:-1;;6813:405:130;6145:1089::o;2174:24914:8:-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;26362:417::-;;26517:24;-1:-1:-1;;;;;26362:417:8;26517:24;2174:24914;;;;;;;;;26517:24;;2174:24914;26517:24;;;;;;;-1:-1:-1;;;26517:24:8;;;26362:417;26555:11;-1:-1:-1;26555:11:8;;;26551:73;;26649:15;2174:24914;26649:15;;2174:24914;;;;26637:49;26633:107;;26362:417;:::o;26633:107::-;26709:20;;;-1:-1:-1;26709:20:8;26517:24;-1:-1:-1;26709:20:8;26551:73;26589:24;;;-1:-1:-1;26589:24:8;26517;-1:-1:-1;26589:24:8;26517;;;;;;;;;;;;;;;;;;;:::i;:::-;;;2174:24914;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;26517:24;;;;;;;;-1:-1:-1;26517:24:8;;1974:1926:135;;;2174:24914:8;;-1:-1:-1;;;;;2174:24914:8;;2136:20:135;2132:40;;2225:1669;;;;;;;;;;;;;;;;;;;;1974:1926;;;;:::o;2225:1669::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2225:1669:135;;;;;;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:40;-1:-1:-1;2174:24914:8;;-1:-1:-1;;;2158:14:135:o;7738:720:43:-;;-1:-1:-1;7875:421:43;7738:720;7875:421;;;;;;;;;;;;-1:-1:-1;7875:421:43;;8310:15;;2174:24914:8;-1:-1:-1;;;;;2174:24914:8;;8328:26:43;:31;8310:68;8306:146;;7738:720;:::o;8306:146::-;-1:-1:-1;;;;;8401:40:43;;;;-1:-1:-1;8401:40:43;2174:24914:8;8401:40:43;2174:24914:8;;-1:-1:-1;8401:40:43;8310:68;8377:1;8362:16;;8310:68;","linkReferences":{},"immutableReferences":{"17":[{"start":1713,"length":32},{"start":2093,"length":32},{"start":2271,"length":32},{"start":3116,"length":32},{"start":3284,"length":32},{"start":6300,"length":32},{"start":6684,"length":32},{"start":6997,"length":32},{"start":8633,"length":32}],"2303":[{"start":3726,"length":32}],"2305":[{"start":8297,"length":32}],"3671":[{"start":2611,"length":32},{"start":4500,"length":32},{"start":6083,"length":32}],"3674":[{"start":725,"length":32},{"start":5924,"length":32},{"start":8032,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","addToTokenDirectory(address,(address,uint32,uint256))":"e0d873f2","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","entryPoint()":"b0d691fe","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":"dab0f762","getPrice(address)":"41976e09","independentPriceExpiryDuration(address)":"889e1468","independentPriceMarkup(address)":"61dcc50f","independentTokenDirectory(address)":"50f6ab10","isTokenSupported(address)":"75151b63","nativeAssetToUsdOracle()":"a6e12780","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","postOp(uint8,bytes,uint256,uint256)":"7c627b21","removeFromTokenDirectory(address)":"6adf4742","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setNativeAssetToUsdOracle(address)":"e5a29e18","setPriceExpiryDurationForToken(address,uint256)":"4230aa9e","setPriceMarkupForToken(address,uint32)":"c87558cb","setSigner(address)":"6c19e783","setUnaccountedGas(uint256)":"73acf542","swapTokenAndDeposit(address,uint256,uint256)":"40663794","tokenToPools(address)":"bacb4b7c","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","uniswapRouter()":"735de9f7","unlockStake()":"bb9fe6bf","updateSwappableTokens(address[],uint24[])":"c23461a9","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawERC20Full(address,address)":"5deef2aa","withdrawEth(address,uint256)":"1b9a91a4","withdrawMultipleERC20(address[],address,uint256[])":"617d057a","withdrawMultipleERC20Full(address[],address)":"78b1da23","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878","wrappedNative()":"eb6d3a11"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetDecimalsArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IOracle\",\"name\":\"nativeAssetToUsdOracleArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetPriceExpiryDurationArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"wrappedNativeArg\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"independentTokensArg\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo[]\",\"name\":\"tokenInfosArg\",\"type\":\"tuple[]\"},{\"internalType\":\"address[]\",\"name\":\"swappableTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"swappableTokenPoolFeeTiers\",\"type\":\"uint24[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"FailedToChargeTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleDecimals\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPaymasterMode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceExpiryDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndAmountsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndInfoLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndPoolsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"UniswapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnwrappingReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"AddedToTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userOpSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasCostBeforePostOpAndPenalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCharge\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"PaidGasInTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RemovedFromTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"SwappableTokensAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SwappingReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensSwappedAndRefilledEntryPoint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedFeeCollector\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"oldValue\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"newValue\",\"type\":\"uint32\"}],\"name\":\"UpdatedFixedPriceMarkup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oldOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"UpdatedNativeAssetOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedPriceExpiryDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedUnaccountedGas\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedVerifyingSigner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"}],\"name\":\"addToTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"appliedPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceMarkup\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"independentTokenDirectory\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeAssetToUsdOracle\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"removeFromTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"setNativeAssetToUsdOracle\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newPriceExpiryDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceExpiryDurationForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newIndependentPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"setPriceMarkupForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newUnaccountedGas\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEthAmountRecevied\",\"type\":\"uint256\"}],\"name\":\"swapTokenAndDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPools\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapRouter\",\"outputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"poolFeeTiers\",\"type\":\"uint24[]\"}],\"name\":\"updateSwappableTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"}],\"name\":\"withdrawMultipleERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawMultipleERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"ShivaanshKlivingrockrises\",\"details\":\"A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund model to handle gas remittances. Currently, the paymaster supports two modes: 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner). 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode doesn't require a signature and is \\\"always available\\\" to use. The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments applied, and how to manage the assets received by the paymaster.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"details\":\"Set or update a TokenInfo entry in the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to add or update in directory\",\"tokenInfo\":\"The TokenInfo struct to add or update\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"constructor\":{\"details\":\"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink\\u2019s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \"},\"getPrice(address)\":{\"details\":\"Get the price of a token in USD\",\"params\":{\"tokenAddress\":\"The address of the token to get the price of\"},\"returns\":{\"_0\":\"price The price of the token in USD\"}},\"independentPriceExpiryDuration(address)\":{\"details\":\"Get the price expiry duration for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price expiry duration of\"},\"returns\":{\"_0\":\"priceExpiryDuration The price expiry duration for the token\"}},\"independentPriceMarkup(address)\":{\"details\":\"Get the price markup for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price markup of\"},\"returns\":{\"_0\":\"priceMarkup The price markup for the token\"}},\"isTokenSupported(address)\":{\"details\":\"Check if a token is supported\",\"params\":{\"tokenAddress\":\"The address of the token to check\"},\"returns\":{\"_0\":\"bool True if the token is supported, false otherwise\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"removeFromTokenDirectory(address)\":{\"details\":\"Remove a token from the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to remove from directory\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setNativeAssetToUsdOracle(address)\":{\"details\":\"Update the native oracle address\",\"params\":{\"oracle\":\"The new native asset oracle\"}},\"setPriceExpiryDurationForToken(address,uint256)\":{\"details\":\"Set a new price expiry duration.\",\"params\":{\"newPriceExpiryDuration\":\"The new value to be set as the price expiry duration\"}},\"setPriceMarkupForToken(address,uint32)\":{\"details\":\"Set a new priceMarkup value.\",\"params\":{\"newIndependentPriceMarkup\":\"The new value to be set as the price markup\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedEPGasOverhead value.\",\"params\":{\"newUnaccountedGas\":\"The new value to be set as the unaccounted gas value\"}},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"details\":\"Swap a token in the paymaster for ETH and deposit the amount received into the entry point\",\"params\":{\"minEthAmountRecevied\":\"The minimum amount of ETH amount recevied post-swap\",\"tokenAddress\":\"The token address of the token to swap\",\"tokenAmount\":\"The amount of the token to swap\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"updateSwappableTokens(address[],uint24[])\":{\"details\":\"Update or add a swappable token to the Uniswapper\",\"params\":{\"poolFeeTiers\":\"The pool fee tiers for the corresponding token address to use\",\"tokenAddresses\":\"The token address to add/update to/for uniswapper\"}},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawERC20Full(address,address)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawEth(address,uint256)\":{\"details\":\"Withdraw ETH from the paymaster\",\"params\":{\"amount\":\"The amount of ETH to withdraw\",\"recipient\":\"The address to send the ETH to\"}},\"withdrawMultipleERC20(address[],address,uint256[])\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amounts to withdraw\",\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawMultipleERC20Full(address[],address)\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"details\":\"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.\",\"params\":{\"amount\":\"The amount of gas tokens to withdraw.\",\"withdrawAddress\":\"The address to which the gas tokens should be transferred.\"}}},\"title\":\"BiconomyTokenPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"FailedToChargeTokens(address,address,uint256,bytes32)\":[{\"notice\":\"Throws when PM was not able to charge user\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InvalidOracleDecimals()\":[{\"notice\":\"Throws when oracle decimals aren't equal to 8\"}],\"InvalidPaymasterMode()\":[{\"notice\":\"Throws when invalid PaymasterMode specified in paymasterAndData\"}],\"InvalidPriceExpiryDuration()\":[{\"notice\":\"Throws when price expiry duration is in the past\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when external signer's signature has invalid length\"}],\"InvalidTokenAddress()\":[{\"notice\":\"Throws when token address to pay with is invalid\"}],\"OraclePriceExpired()\":[{\"notice\":\"Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\"}],\"OraclePriceNotPositive()\":[{\"notice\":\"Throws when oracle returns invalid price\"}],\"TokensAndAmountsLengthMismatch()\":[{\"notice\":\"Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\"}],\"TokensAndInfoLengthMismatch()\":[{\"notice\":\"Throws when each token doesnt have a corresponding oracle\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"notice\":\"only to be called by the owner of the contract.\"},\"deposit()\":{\"notice\":\"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"removeFromTokenDirectory(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setNativeAssetToUsdOracle(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceExpiryDurationForToken(address,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceMarkupForToken(address,uint32)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setSigner(address)\":{\"notice\":\"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"uniswapRouter()\":{\"notice\":\"The Uniswap V3 SwapRouter contract\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"updateSwappableTokens(address[],uint24[])\":{\"notice\":\"only to be called by the owner of the contract.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"wrappedNative()\":{\"notice\":\"The ERC-20 token that wraps the native asset for current chain\"}},\"notice\":\"Biconomy's Token Paymaster for Entry Point v0.7\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/BiconomyTokenPaymaster.sol\":\"BiconomyTokenPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomyTokenPaymasterErrors.sol\":{\"keccak256\":\"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7\",\"dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV\"]},\"contracts/interfaces/IBiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced\",\"dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR\"]},\"contracts/interfaces/oracles/IOracle.sol\":{\"keccak256\":\"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88\",\"dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e\"]},\"contracts/libraries/TokenPaymasterParserLib.sol\":{\"keccak256\":\"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1\",\"dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG\"]},\"contracts/token/BiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x52de889207b391f23e0f466792a833cf879109f4f8786531e7a9818431654b28\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33fda6795ccf79f304633918a0172ccfc947cc4e60a56a8a9beed80348f36c3b\",\"dweb:/ipfs/QmQMC118WgnHTpbznhdD2iytT4RyMMpbZGwU2yQ9rfJruM\"]},\"contracts/token/swaps/Uniswapper.sol\":{\"keccak256\":\"0xf3f815b7d93b672cae86c86d41fbb4af7127feda8981b079f043f108e10b5726\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://0b9347f9f363269067a9f66c073f9c68d36975ae5e6e9281ce8678052370c778\",\"dweb:/ipfs/QmZaL9HubmctEpFHrpTfDumThdQ9xbckHAUyXHFczJzu8v\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\":{\"keccak256\":\"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9\",\"dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo\"]},\"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPoint","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"nativeAssetDecimalsArg","type":"uint256"},{"internalType":"contract IOracle","name":"nativeAssetToUsdOracleArg","type":"address"},{"internalType":"uint256","name":"nativeAssetPriceExpiryDurationArg","type":"uint256"},{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"},{"internalType":"address","name":"wrappedNativeArg","type":"address"},{"internalType":"address[]","name":"independentTokensArg","type":"address[]"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","name":"tokenInfosArg","type":"tuple[]","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"internalType":"address[]","name":"swappableTokens","type":"address[]"},{"internalType":"uint24[]","name":"swappableTokenPoolFeeTiers","type":"uint24[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"}],"type":"error","name":"FailedToChargeTokens"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InvalidOracleDecimals"},{"inputs":[],"type":"error","name":"InvalidPaymasterMode"},{"inputs":[],"type":"error","name":"InvalidPriceExpiryDuration"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"InvalidTokenAddress"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"OraclePriceExpired"},{"inputs":[],"type":"error","name":"OraclePriceNotPositive"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"type":"error","name":"SafeERC20FailedOperation"},{"inputs":[],"type":"error","name":"TokenNotSupported"},{"inputs":[],"type":"error","name":"TokensAndAmountsLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndInfoLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndPoolsLengthMismatch"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"type":"error","name":"UniswapReverted"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"UnwrappingReverted"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"contract IOracle","name":"oracle","type":"address","indexed":true},{"internalType":"uint8","name":"decimals","type":"uint8","indexed":false}],"type":"event","name":"AddedToTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"userOpSender","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false},{"internalType":"uint256","name":"tokenCharge","type":"uint256","indexed":false},{"internalType":"uint32","name":"priceMarkup","type":"uint32","indexed":false},{"internalType":"uint256","name":"tokenPrice","type":"uint256","indexed":false},{"internalType":"bytes32","name":"userOpHash","type":"bytes32","indexed":false}],"type":"event","name":"PaidGasInTokens","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true}],"type":"event","name":"RemovedFromTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]","indexed":true}],"type":"event","name":"SwappableTokensAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address","indexed":false},{"internalType":"uint256","name":"amountIn","type":"uint256","indexed":false},{"internalType":"bytes","name":"reason","type":"bytes","indexed":false}],"type":"event","name":"SwappingReverted","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"uint256","name":"tokenAmount","type":"uint256","indexed":true},{"internalType":"uint256","name":"amountOut","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensSwappedAndRefilledEntryPoint","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedFeeCollector","anonymous":false},{"inputs":[{"internalType":"uint32","name":"oldValue","type":"uint32","indexed":true},{"internalType":"uint32","name":"newValue","type":"uint32","indexed":true}],"type":"event","name":"UpdatedFixedPriceMarkup","anonymous":false},{"inputs":[{"internalType":"contract IOracle","name":"oldOracle","type":"address","indexed":true},{"internalType":"contract IOracle","name":"newOracle","type":"address","indexed":true}],"type":"event","name":"UpdatedNativeAssetOracle","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedPriceExpiryDuration","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedUnaccountedGas","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedVerifyingSigner","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo","name":"tokenInfo","type":"tuple","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]}],"stateMutability":"payable","type":"function","name":"addToTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"uint32","name":"appliedPriceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceExpiryDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceMarkup","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"independentTokenDirectory","outputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"nativeAssetToUsdOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"payable","type":"function","name":"removeFromTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"}],"stateMutability":"payable","type":"function","name":"setNativeAssetToUsdOracle"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"newPriceExpiryDuration","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setPriceExpiryDurationForToken"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint32","name":"newIndependentPriceMarkup","type":"uint32"}],"stateMutability":"payable","type":"function","name":"setPriceMarkupForToken"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"uint256","name":"newUnaccountedGas","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"minEthAmountRecevied","type":"uint256"}],"stateMutability":"payable","type":"function","name":"swapTokenAndDeposit"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"tokenToPools","outputs":[{"internalType":"uint24","name":"","type":"uint24"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"uniswapRouter","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"uint24[]","name":"poolFeeTiers","type":"uint24[]"}],"stateMutability":"payable","type":"function","name":"updateSwappableTokens"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawERC20Full"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20Full"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"view","type":"function","name":"wrappedNative","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"addToTokenDirectory(address,(address,uint32,uint256))":{"details":"Set or update a TokenInfo entry in the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to add or update in directory","tokenInfo":"The TokenInfo struct to add or update"}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"constructor":{"details":"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model "},"getPrice(address)":{"details":"Get the price of a token in USD","params":{"tokenAddress":"The address of the token to get the price of"},"returns":{"_0":"price The price of the token in USD"}},"independentPriceExpiryDuration(address)":{"details":"Get the price expiry duration for a token","params":{"tokenAddress":"The address of the token to get the price expiry duration of"},"returns":{"_0":"priceExpiryDuration The price expiry duration for the token"}},"independentPriceMarkup(address)":{"details":"Get the price markup for a token","params":{"tokenAddress":"The address of the token to get the price markup of"},"returns":{"_0":"priceMarkup The price markup for the token"}},"isTokenSupported(address)":{"details":"Check if a token is supported","params":{"tokenAddress":"The address of the token to check"},"returns":{"_0":"bool True if the token is supported, false otherwise"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"removeFromTokenDirectory(address)":{"details":"Remove a token from the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to remove from directory"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setNativeAssetToUsdOracle(address)":{"details":"Update the native oracle address","params":{"oracle":"The new native asset oracle"}},"setPriceExpiryDurationForToken(address,uint256)":{"details":"Set a new price expiry duration.","params":{"newPriceExpiryDuration":"The new value to be set as the price expiry duration"}},"setPriceMarkupForToken(address,uint32)":{"details":"Set a new priceMarkup value.","params":{"newIndependentPriceMarkup":"The new value to be set as the price markup"}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedEPGasOverhead value.","params":{"newUnaccountedGas":"The new value to be set as the unaccounted gas value"}},"swapTokenAndDeposit(address,uint256,uint256)":{"details":"Swap a token in the paymaster for ETH and deposit the amount received into the entry point","params":{"minEthAmountRecevied":"The minimum amount of ETH amount recevied post-swap","tokenAddress":"The token address of the token to swap","tokenAmount":"The amount of the token to swap"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"updateSwappableTokens(address[],uint24[])":{"details":"Update or add a swappable token to the Uniswapper","params":{"poolFeeTiers":"The pool fee tiers for the corresponding token address to use","tokenAddresses":"The token address to add/update to/for uniswapper"}},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawERC20Full(address,address)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the token deposit to withdraw"}},"withdrawEth(address,uint256)":{"details":"Withdraw ETH from the paymaster","params":{"amount":"The amount of ETH to withdraw","recipient":"The address to send the ETH to"}},"withdrawMultipleERC20(address[],address,uint256[])":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amounts to withdraw","target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawMultipleERC20Full(address[],address)":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"details":"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.","params":{"amount":"The amount of gas tokens to withdraw.","withdrawAddress":"The address to which the gas tokens should be transferred."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"addToTokenDirectory(address,(address,uint32,uint256))":{"notice":"only to be called by the owner of the contract."},"deposit()":{"notice":"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"removeFromTokenDirectory(address)":{"notice":"only to be called by the owner of the contract."},"setNativeAssetToUsdOracle(address)":{"notice":"only to be called by the owner of the contract."},"setPriceExpiryDurationForToken(address,uint256)":{"notice":"only to be called by the owner of the contract."},"setPriceMarkupForToken(address,uint32)":{"notice":"only to be called by the owner of the contract."},"setSigner(address)":{"notice":"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"swapTokenAndDeposit(address,uint256,uint256)":{"notice":"only to be called by the owner of the contract."},"uniswapRouter()":{"notice":"The Uniswap V3 SwapRouter contract"},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"updateSwappableTokens(address[],uint24[])":{"notice":"only to be called by the owner of the contract."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"wrappedNative()":{"notice":"The ERC-20 token that wraps the native asset for current chain"}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/token/BiconomyTokenPaymaster.sol":"BiconomyTokenPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"keccak256":"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116","urls":["bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7","dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"keccak256":"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8","urls":["bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced","dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR"],"license":"GPL-3.0"},"contracts/interfaces/oracles/IOracle.sol":{"keccak256":"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b","urls":["bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88","dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e"],"license":"MIT"},"contracts/libraries/TokenPaymasterParserLib.sol":{"keccak256":"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf","urls":["bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1","dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG"],"license":"GPL-3.0"},"contracts/token/BiconomyTokenPaymaster.sol":{"keccak256":"0x52de889207b391f23e0f466792a833cf879109f4f8786531e7a9818431654b28","urls":["bzz-raw://33fda6795ccf79f304633918a0172ccfc947cc4e60a56a8a9beed80348f36c3b","dweb:/ipfs/QmQMC118WgnHTpbznhdD2iytT4RyMMpbZGwU2yQ9rfJruM"],"license":"GPL-3.0"},"contracts/token/swaps/Uniswapper.sol":{"keccak256":"0xf3f815b7d93b672cae86c86d41fbb4af7127feda8981b079f043f108e10b5726","urls":["bzz-raw://0b9347f9f363269067a9f66c073f9c68d36975ae5e6e9281ce8678052370c778","dweb:/ipfs/QmZaL9HubmctEpFHrpTfDumThdQ9xbckHAUyXHFczJzu8v"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310","urls":["bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862","dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"keccak256":"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c","urls":["bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9","dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"keccak256":"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69","urls":["bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652","dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"keccak256":"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274","urls":["bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407","dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp"],"license":"GPL-2.0-or-later"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":8} \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index d3dcc9c..3d99aa3 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -68,8 +68,9 @@ if [ $proceed = "y" ]; then } printf "Copying Paymasters artifacts\n" mkdir -p ./artifacts/BiconomySponsorshipPaymaster - + mkdir -p ./artifacts/BiconomyTokenPaymaster cp ../../out/BiconomySponsorshipPaymaster.sol/BiconomySponsorshipPaymaster.json ./artifacts/BiconomySponsorshipPaymaster/. + cp ../../out/BiconomyTokenPaymaster.sol/BiconomyTokenPaymaster.json ./artifacts/BiconomyTokenPaymaster/. printf "Artifacts copied\n" diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 95f20d0..d0954b2 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.13; import {Script, console} from "forge-std/Script.sol"; import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; +import {IBiconomyTokenPaymaster} from "contracts/interfaces/IBiconomyTokenPaymaster.sol"; interface Create3Deployer { function addressOf(bytes32 salt) external view returns (address); @@ -11,8 +12,20 @@ interface Create3Deployer { } contract DeployGasdaddy is Script { + + struct TokenPMConfig { + address nativeAssetToUsdOracle; + uint256 nativeAssetDecimals; + uint256 nativeAssetPriceExpiryDuration; + address wrappedNativeAddress; + address swapRouter; + address[] independentTokens; + IBiconomyTokenPaymaster.TokenInfo[] tokenInfos; + } + // SALTS bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0xe37d270a4b697fd49a738e7a7027fe45ab32da92f60226a4fb719794c954eab3; // PM Address => 0x0000a35bb5246c53457a8a28b05b1f0b79348ce1 + bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xe4bdd8197825295233f531618643f0ce135c40a466484450d571feb6b4fa564a; // PM Address => 0x00006e5788a4d59708b14c4b6c70ec10f0280f38 // CREATE3 DEPLOYER ADDRESS address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; @@ -21,22 +34,23 @@ contract DeployGasdaddy is Script { address constant VERIFYING_PAYMASTER_OWNER = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; address constant VERIFYING_SIGNER = 0xC6dAB8652E5E9749523bA948F42d5944584E4e73; address constant FEE_COLLECTOR = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; - uint256 constant UNACCOUNTED_GAS = 50_000; + uint256 constant SPONSORSHIP_PM_UNACCOUNTED_GAS = 50_000; + uint256 constant TOKEN_PM_UNACCOUNTED_GAS = 95_000; uint256 constant PAYMASTER_ID_WITHDRAWAL_DELAY = 3600; // 1 hour address constant ENTRY_POINT_V07 = 0x0000000071727De22E5E9d8BAf0edAc6f37da032; mapping (uint256 => bytes) public signaturesForMinDeposits; + mapping (uint256 chainId => TokenPMConfig) public tokenPMConfigs; Create3Deployer create3Deployer; function setUp() public { create3Deployer = Create3Deployer(CREATE3_DEPLOYER_ADDRESS); - signaturesForMinDeposits[1e15] = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //0.001 native token - signaturesForMinDeposits[1e16] = hex'3d4fc4d9a447fb205cc50dce4b74230f0e0baea776bbce2cced39e1b82f612bc5de05607fdeaf3734f8577a8b829b0dd05bb0fe760e4fe9dda28b729d45c95d21c'; //0.01 native token - signaturesForMinDeposits[1e17] = hex'f121c54fabc0f95a2baa1cc296135d125f636532d489a9850a0ea3fe7f52694a2954b6f5cd42aca1e2203e7e39108a878477bfe2f90ed6a38ec578199e5586111c'; //0.1 native token - signaturesForMinDeposits[1e18] = hex'0e2f4921b34b8a2a6ceab67bd7db9655c0e272a725cbb5da84acaad1d023237817a1cb754fd65dd45bebc43312dafb9b53c8e58619da7da5acc9ea96294534141b'; //1 native token - signaturesForMinDeposits[1e19] = hex'6e559e01580bc8cd18fabef2d0aa018f35dc5cb1aa0c26e8cb8b9c45478382cf0fcc208ad2564d693418957e417a90b9081716fa1c01cba65e8442edaed584541c'; //10 native tokens + + _fillSignaturesForMinDepositsSponsPM(); + + _fillTokenPMConfigs(); } @@ -55,16 +69,6 @@ contract DeployGasdaddy is Script { /// /// SPONSORSHIP PAYMASTER /// - bytes memory bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json"); - bytes memory args = abi.encode( - VERIFYING_PAYMASTER_OWNER, - ENTRY_POINT_V07, - VERIFYING_SIGNER, - FEE_COLLECTOR, - UNACCOUNTED_GAS, - PAYMASTER_ID_WITHDRAWAL_DELAY, - minDeposit - ); address sponsorshipPM = create3Deployer.addressOf(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT); uint256 codeSize; @@ -102,10 +106,15 @@ contract DeployGasdaddy is Script { /// /// TOKEN PAYMASTER /// - + address tokenPM = create3Deployer.addressOf(TOKEN_PAYMASTER_DEPLOYMENT_SALT); + codeSize; + assembly { + codeSize := extcodesize(tokenPM) + } + console.log("Token Paymaster address: ", tokenPM, " || >> Code Size: ", codeSize); } - function deployGasDaddy(uint256 minDeposit) public { + function deployGasDaddy(uint256 minDeposit) public returns (uint256 contractsDeployedCount) { // // SPONSORSHIP PAYMASTER @@ -116,7 +125,7 @@ contract DeployGasdaddy is Script { ENTRY_POINT_V07, VERIFYING_SIGNER, FEE_COLLECTOR, - UNACCOUNTED_GAS, + SPONSORSHIP_PM_UNACCOUNTED_GAS, PAYMASTER_ID_WITHDRAWAL_DELAY, minDeposit ); @@ -132,11 +141,108 @@ contract DeployGasdaddy is Script { bytes memory signature = signaturesForMinDeposits[minDeposit]; sponsorshipPM = create3Deployer.deploy(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, initcode, signature); console.log("Sponsorship Paymaster deployed at", sponsorshipPM); + contractsDeployedCount++; } /// /// TOKEN PAYMASTER /// + uint256 create3deployerOwnerPk = vm.envUint("CREATE3_OWNER_PK"); + + bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json"); + TokenPMConfig memory config = tokenPMConfigs[block.chainid]; + if (config.nativeAssetDecimals == uint256(0)) { + console.log("No token PM config found for chain id", block.chainid); + console.log("Skipping token PM deployment"); + return contractsDeployedCount; + } + args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + VERIFYING_SIGNER, + ENTRY_POINT_V07, + TOKEN_PM_UNACCOUNTED_GAS, + config.nativeAssetDecimals, + config.nativeAssetToUsdOracle, + config.nativeAssetPriceExpiryDuration, + config.swapRouter, + config.wrappedNativeAddress, + config.independentTokens, + config.tokenInfos, + new address[](0), // swappable tokens + new uint24[](0) // swappable token fees + ); + + address tokenPM = create3Deployer.addressOf(TOKEN_PAYMASTER_DEPLOYMENT_SALT); + codeSize; + assembly { + codeSize := extcodesize(tokenPM) + } + if (codeSize > 0) { + console.log("Token Paymaster already deployed at", tokenPM); + return contractsDeployedCount; + } else { + bytes memory initcode = abi.encodePacked(bytecode, args); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(create3deployerOwnerPk, keccak256(initcode)); + tokenPM = create3Deployer.deploy(TOKEN_PAYMASTER_DEPLOYMENT_SALT, initcode, abi.encodePacked(r, s, v)); + console.log("Token Paymaster deployed at", tokenPM); + contractsDeployedCount++; + } + } + + function _fillSignaturesForMinDepositsSponsPM() internal { + // Signatures for Sponsorship PM + signaturesForMinDeposits[1e15] = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //0.001 native token + signaturesForMinDeposits[1e16] = hex'3d4fc4d9a447fb205cc50dce4b74230f0e0baea776bbce2cced39e1b82f612bc5de05607fdeaf3734f8577a8b829b0dd05bb0fe760e4fe9dda28b729d45c95d21c'; //0.01 native token + signaturesForMinDeposits[1e17] = hex'f121c54fabc0f95a2baa1cc296135d125f636532d489a9850a0ea3fe7f52694a2954b6f5cd42aca1e2203e7e39108a878477bfe2f90ed6a38ec578199e5586111c'; //0.1 native token + signaturesForMinDeposits[1e18] = hex'0e2f4921b34b8a2a6ceab67bd7db9655c0e272a725cbb5da84acaad1d023237817a1cb754fd65dd45bebc43312dafb9b53c8e58619da7da5acc9ea96294534141b'; //1 native token + signaturesForMinDeposits[1e19] = hex'6e559e01580bc8cd18fabef2d0aa018f35dc5cb1aa0c26e8cb8b9c45478382cf0fcc208ad2564d693418957e417a90b9081716fa1c01cba65e8442edaed584541c'; //10 native tokens + } + + function _fillTokenPMConfigs() internal { +/* address[] memory independentTokens = new address[](1); + independentTokens[0] = address(0); + + IBiconomyTokenPaymaster.TokenInfo[] memory tokenInfos = new IBiconomyTokenPaymaster.TokenInfo[](1); + tokenInfos[0] = IBiconomyTokenPaymaster.TokenInfo( + address(0), // oracle + 0, // priceMarkup + 0 // priceExpiryDuration + ); */ + + // + // BASE MAINNET + // + tokenPMConfigs[8453] = TokenPMConfig( + address(0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x4200000000000000000000000000000000000006), // wrappedNativeAddress + address(0x2626664c2603336E57B271c5C0b26F421741e481), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // BASE SEPOLIA + tokenPMConfigs[84532] = TokenPMConfig( + address(0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x4200000000000000000000000000000000000006), // wrappedNativeAddress + address(0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // ANVIL + tokenPMConfigs[31337] = TokenPMConfig( + address(1), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x4200000000000000000000000000000000000006), // wrappedNativeAddress + address(2), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); } } diff --git a/test/unit/concrete/TestTokenPaymaster.Base.t.sol b/test/unit/concrete/TestTokenPaymaster.Base.t.sol index 95de2af..1764983 100644 --- a/test/unit/concrete/TestTokenPaymaster.Base.t.sol +++ b/test/unit/concrete/TestTokenPaymaster.Base.t.sol @@ -33,6 +33,8 @@ contract TestTokenPaymasterBase is TestBase { setupPaymasterTestEnvironment(); swapRouter = IV3SwapRouter(SWAP_ROUTER_ADDRESS); // uniswap swap router v2 on base + //swapRouter = IV3SwapRouter(address(1)); // uniswap swap router v2 on base + // Deploy the token paymaster tokenPaymaster = new BiconomyTokenPaymaster( PAYMASTER_OWNER.addr, From e72e7b1ca1322a89122ed9be3ab9b9bb09e3d1d9 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Wed, 11 Dec 2024 14:14:55 +0300 Subject: [PATCH 07/16] token PM --- contracts/token/swaps/Uniswapper.sol | 2 +- scripts/foundry/DeployGasdaddy.s.sol | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/contracts/token/swaps/Uniswapper.sol b/contracts/token/swaps/Uniswapper.sol index 136e98b..04dc876 100644 --- a/contracts/token/swaps/Uniswapper.sol +++ b/contracts/token/swaps/Uniswapper.sol @@ -63,7 +63,7 @@ abstract contract Uniswapper { tokenOut: wrappedNative, fee: tokenToPools[tokenIn], recipient: address(this), - //deadline: block.timestamp, + //deadline: block.timestamp, // legacy interface arg. Intentiaonally omitted. amountIn: amountIn, amountOutMinimum: minAmountOut, sqrtPriceLimitX96: 0 diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index d0954b2..73c754a 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.13; import {Script, console} from "forge-std/Script.sol"; import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; import {IBiconomyTokenPaymaster} from "contracts/interfaces/IBiconomyTokenPaymaster.sol"; - +import {MockOracle} from "test/mocks/MockOracle.sol"; interface Create3Deployer { function addressOf(bytes32 salt) external view returns (address); @@ -156,6 +156,7 @@ contract DeployGasdaddy is Script { console.log("Skipping token PM deployment"); return contractsDeployedCount; } + args = abi.encode( VERIFYING_PAYMASTER_OWNER, VERIFYING_SIGNER, @@ -234,8 +235,15 @@ contract DeployGasdaddy is Script { ); // ANVIL + MockOracle mockNativeOracle; + if (block.chainid == 31337) { + //deploy an oracle + vm.startBroadcast(); + mockNativeOracle = new MockOracle(100_000_000, 8); + vm.stopBroadcast(); + } tokenPMConfigs[31337] = TokenPMConfig( - address(1), // nativeAssetToUsdOracle + address(mockNativeOracle), // nativeAssetToUsdOracle 18, // nativeAssetDecimals 3600, // nativeAssetPriceExpiryDuration // 1 hour address(0x4200000000000000000000000000000000000006), // wrappedNativeAddress From 1d16a2d5c28681ea4cd9ed306205afddbf8ae4b7 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Wed, 11 Dec 2024 15:43:47 +0300 Subject: [PATCH 08/16] adding network configs --- contracts/mocks/WETH9.sol | 756 +++++++++++++++++++++++++++ package.json | 2 +- scripts/foundry/DeployGasdaddy.s.sol | 83 ++- 3 files changed, 835 insertions(+), 6 deletions(-) create mode 100644 contracts/mocks/WETH9.sol diff --git a/contracts/mocks/WETH9.sol b/contracts/mocks/WETH9.sol new file mode 100644 index 0000000..7938c49 --- /dev/null +++ b/contracts/mocks/WETH9.sol @@ -0,0 +1,756 @@ +// Copyright (C) 2015, 2016, 2017 Dapphub + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +pragma solidity ^0.8.13; + +contract WETH9 { + string public name = "Wrapped Ether"; + string public symbol = "WETH"; + uint8 public decimals = 18; + + event Approval(address indexed src, address indexed guy, uint wad); + event Transfer(address indexed src, address indexed dst, uint wad); + event Deposit(address indexed dst, uint wad); + event Withdrawal(address indexed src, uint wad); + + mapping (address => uint) public balanceOf; + mapping (address => mapping (address => uint)) public allowance; + + receive() external payable { + deposit(); + } + function deposit() public payable { + balanceOf[msg.sender] += msg.value; + emit Deposit(msg.sender, msg.value); + } + function withdraw(uint wad) public { + require(balanceOf[msg.sender] >= wad); + balanceOf[msg.sender] -= wad; + payable(msg.sender).transfer(wad); + emit Withdrawal(msg.sender, wad); + } + + function totalSupply() public view returns (uint) { + return address(this).balance; + } + + function approve(address guy, uint wad) public returns (bool) { + allowance[msg.sender][guy] = wad; + emit Approval(msg.sender, guy, wad); + return true; + } + + function transfer(address dst, uint wad) public returns (bool) { + return transferFrom(msg.sender, dst, wad); + } + + function transferFrom(address src, address dst, uint wad) + public + returns (bool) + { + require(balanceOf[src] >= wad); + + if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) { + require(allowance[src][msg.sender] >= wad); + allowance[src][msg.sender] -= wad; + } + + balanceOf[src] -= wad; + balanceOf[dst] += wad; + + emit Transfer(src, dst, wad); + + return true; + } +} + + +/* + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + +*/ \ No newline at end of file diff --git a/package.json b/package.json index 53e10b8..63161c2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "dependencies": { "@openzeppelin/contracts": "5.1.0", "accountabstraction": "https://github.com/eth-infinitism/account-abstraction#v0.7.0", - "nexus": "https://github.com/bcnmy/nexus#v1.0.1", + "nexus": "https://github.com/bcnmy/nexus", "solady": "github:vectorized/solady#v0.0.271", "@uniswap/v3-core": "https://github.com/Uniswap/v3-core#0.8", "@uniswap/v3-periphery": "https://github.com/Uniswap/v3-periphery#0.8", diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 73c754a..796960c 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -5,6 +5,9 @@ import {Script, console} from "forge-std/Script.sol"; import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; import {IBiconomyTokenPaymaster} from "contracts/interfaces/IBiconomyTokenPaymaster.sol"; import {MockOracle} from "test/mocks/MockOracle.sol"; +import {WETH9} from "contracts/mocks/WETH9.sol"; + + interface Create3Deployer { function addressOf(bytes32 salt) external view returns (address); @@ -24,8 +27,8 @@ contract DeployGasdaddy is Script { } // SALTS - bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0xe37d270a4b697fd49a738e7a7027fe45ab32da92f60226a4fb719794c954eab3; // PM Address => 0x0000a35bb5246c53457a8a28b05b1f0b79348ce1 - bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xe4bdd8197825295233f531618643f0ce135c40a466484450d571feb6b4fa564a; // PM Address => 0x00006e5788a4d59708b14c4b6c70ec10f0280f38 + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x3e81534a95d3368136d6c49522f8e20ada0b768931512a65c785c15a83178526; // PM Address => 0x00000028d034c96fb11b5cfc856535f84866035b + bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xf5516e76713013dc560228c61d8ad21680be770b25fcaed28edf3071e09bbd25; // PM Address => 0x00000023f4bb8e932538360023e6d8da15fb9711 // CREATE3 DEPLOYER ADDRESS address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; @@ -200,7 +203,9 @@ contract DeployGasdaddy is Script { } function _fillTokenPMConfigs() internal { -/* address[] memory independentTokens = new address[](1); + // in case we want to support independent tokens + /* + address[] memory independentTokens = new address[](1); independentTokens[0] = address(0); IBiconomyTokenPaymaster.TokenInfo[] memory tokenInfos = new IBiconomyTokenPaymaster.TokenInfo[](1); @@ -210,9 +215,29 @@ contract DeployGasdaddy is Script { 0 // priceExpiryDuration ); */ - // + // ETHEREUM MAINNET + tokenPMConfigs[1] = TokenPMConfig( + address(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2), // wrappedNativeAddress + address(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // ETHEREUM SEPOLIA + tokenPMConfigs[11155111] = TokenPMConfig( + address(0x694AA1769357215DE4FAC081bf1f309aDC325306), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9), // wrappedNativeAddress + address(0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + // BASE MAINNET - // tokenPMConfigs[8453] = TokenPMConfig( address(0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70), // nativeAssetToUsdOracle 18, // nativeAssetDecimals @@ -234,6 +259,54 @@ contract DeployGasdaddy is Script { new IBiconomyTokenPaymaster.TokenInfo[](0) ); + // ARBITRUM ONE + tokenPMConfigs[42161] = TokenPMConfig( + address(0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x82aF49447D8a07e3bd95BD0d56f35241523fBab1), // wrappedNativeAddress + address(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // ARBITRUM SEPOLIA + tokenPMConfigs[421614] = TokenPMConfig( + address(0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x980B62Da83eFf3D4576C647993b0c1D7faf17c73), // wrappedNativeAddress + address(0x101F443B4d1b059569D643917553c771E1b9663E), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // POLYGON MAINNET + tokenPMConfigs[137] = TokenPMConfig( + address(0xF9680D99D6C9589e2a93a78A04A279e509205945), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270), // wrappedNativeAddress // Wrapped MATIC + address(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // POLYGON AMOY + + // Deploy WMATIC on Polygon Amoy + WETH9 wMATIC = new WETH9(); + + tokenPMConfigs[80001] = TokenPMConfig( + address(0xF0d50568e3A7e8259E16663972b11910F89BD8e7), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(wMATIC), // wrappedNativeAddress + address(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + // ANVIL MockOracle mockNativeOracle; if (block.chainid == 31337) { From 01b9371bbafd62b64eb947709135e947f9098871 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 12:17:31 +0300 Subject: [PATCH 09/16] set uniswapper method + new networks --- contracts/token/BiconomyTokenPaymaster.sol | 4 + contracts/token/swaps/Uniswapper.sol | 10 ++- foundry.toml | 6 +- scripts/foundry/DeployGasdaddy.s.sol | 86 +++++++++++++++++++++- 4 files changed, 98 insertions(+), 8 deletions(-) diff --git a/contracts/token/BiconomyTokenPaymaster.sol b/contracts/token/BiconomyTokenPaymaster.sol index 6a37e0e..5ba892b 100644 --- a/contracts/token/BiconomyTokenPaymaster.sol +++ b/contracts/token/BiconomyTokenPaymaster.sol @@ -379,6 +379,10 @@ contract BiconomyTokenPaymaster is entryPoint.withdrawTo(withdrawAddress, amount); } + function setUniswapRouter(IV3SwapRouter uniswapRouterArg) external onlyOwner { + _setUniswapRouter(uniswapRouterArg); + } + /** * return the hash we're going to sign off-chain (and validate on-chain) * this method is called by the off-chain service, to sign the request. diff --git a/contracts/token/swaps/Uniswapper.sol b/contracts/token/swaps/Uniswapper.sol index 04dc876..97204c5 100644 --- a/contracts/token/swaps/Uniswapper.sol +++ b/contracts/token/swaps/Uniswapper.sol @@ -17,15 +17,15 @@ abstract contract Uniswapper { event SwappingReverted(address tokenIn, uint256 amountIn, bytes reason); error UnwrappingReverted(uint256 amount); - /// @notice The Uniswap V3 SwapRouter contract - IV3SwapRouter public immutable uniswapRouter; - /// @notice The ERC-20 token that wraps the native asset for current chain address public immutable wrappedNative; // Token address -> Fee tier of the pool to swap through mapping(address => uint24) public tokenToPools; + /// @notice The Uniswap V3 SwapRouter contract + IV3SwapRouter public uniswapRouter; + // Errors error UniswapReverted(address tokenIn, address tokenOut, uint256 amountIn); error TokensAndPoolsLengthMismatch(); @@ -82,4 +82,8 @@ abstract contract Uniswapper { (bool success, ) = address(wrappedNative).call(abi.encodeWithSignature("withdraw(uint256)", amount)); if (!success) revert UnwrappingReverted(amount); } + + function _setUniswapRouter(IV3SwapRouter uniswapRouterArg) internal { + uniswapRouter = uniswapRouterArg; + } } diff --git a/foundry.toml b/foundry.toml index 8fca4dd..ecfe124 100644 --- a/foundry.toml +++ b/foundry.toml @@ -66,6 +66,8 @@ optimism = "${OPTIMISM_MAINNET_RPC_URL}" optimism-sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}" + berachain_bartio = "${BERA_BARTIO_TESTNET_RPC_URL}" + [etherscan] mainnet = { key = "${ETHERSCAN_API_KEY}", url = "https://api.etherscan.io/api" } sepolia = { key = "${ETHERSCAN_API_KEY}", url = "https://api-sepolia.etherscan.io/api" } @@ -75,7 +77,7 @@ arbitrum = { key = "${ARBISCAN_API_KEY}", url = "https://api.arbiscan.io/api" } arbitrum-sepolia = { key = "${ARBISCAN_API_KEY}", url = "https://api-sepolia.arbiscan.io/api" } - + polygon = { key = "${POLYGONSCAN_API_KEY}", url = "https://api.polygonscan.com/api" } amoy = { key = "${POLYGONSCAN_API_KEY}", url = "https://api-amoy.polygonscan.com/api" } @@ -94,4 +96,6 @@ optimism = { key = "${OPTIMISM_API_KEY}", url = "https://api-optimistic.etherscan.io/api" } optimism-sepolia = { key = "${OPTIMISM_API_KEY}", url = "https://api-sepolia-optimistic.etherscan.io/api" } + berachain_bartio = { key = "${BERACHAIN_API_KEY}", url = "https://api.routescan.io/v2/network/testnet/evm/80084/etherscan" } + # [possible values: mainnet, morden, ropsten, rinkeby, goerli, kovan, holesky, sepolia, odyssey, optimism, optimism-kovan, optimism-goerli, optimism-sepolia, arbitrum, arbitrum-testnet, arbitrum-goerli, arbitrum-sepolia, arbitrum-nova, cronos, cronos-testnet, rsk, crab, darwinia, koi, bsc, bsc-testnet, poa, sokol, scroll, scroll-sepolia, metis, cfx-testnet, cfx, xdai, polygon, mumbai, amoy, polygon-zkevm, polygon-zkevm-testnet, fantom, fantom-testnet, moonbeam, moonbeam-dev, moonriver, moonbase, dev, anvil-hardhat, gravity-alpha-mainnet, gravity-alpha-testnet-sepolia, evmos, evmos-testnet, chiado, oasis, emerald, emerald-testnet, filecoin-mainnet, filecoin-calibration-testnet, avalanche, fuji, celo, celo-alfajores, celo-baklava, aurora, aurora-testnet, canto, canto-testnet, boba, base, base-goerli, base-sepolia, syndr, syndr-sepolia, shimmer, ink-sepolia, fraxtal, fraxtal-testnet, blast, blast-sepolia, linea, linea-goerli, linea-sepolia, zksync, zksync-testnet, mantle, mantle-testnet, mantle-sepolia, xai, xai-sepolia, viction, zora, zora-goerli, zora-sepolia, pgn, pgn-sepolia, mode, mode-sepolia, elastos, kakarot-sepolia, etherlink, etherlink-testnet, degen, opbnb-mainnet, opbnb-testnet, ronin, taiko, taiko-hekla, autonomys-nova-testnet, flare, flare-coston2, acala, acala-mandala-testnet, acala-testnet, karura, karura-testnet, pulsechain, pulsechain-testnet, immutable, immutable-testnet, soneium-minato-testnet, world, world-sepolia, iotex, core, merlin, bitlayer, unichain-sepolia, apechain, curtis, sonic-testnet] \ No newline at end of file diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 796960c..d0ba262 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -283,7 +283,7 @@ contract DeployGasdaddy is Script { // POLYGON MAINNET tokenPMConfigs[137] = TokenPMConfig( - address(0xF9680D99D6C9589e2a93a78A04A279e509205945), // nativeAssetToUsdOracle + address(0xAB594600376Ec9fD91F8e885dADF0CE036862dE0), // nativeAssetToUsdOracle (MATIC/USD) 18, // nativeAssetDecimals 3600, // nativeAssetPriceExpiryDuration // 1 hour address(0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270), // wrappedNativeAddress // Wrapped MATIC @@ -293,12 +293,10 @@ contract DeployGasdaddy is Script { ); // POLYGON AMOY - // Deploy WMATIC on Polygon Amoy WETH9 wMATIC = new WETH9(); - tokenPMConfigs[80001] = TokenPMConfig( - address(0xF0d50568e3A7e8259E16663972b11910F89BD8e7), // nativeAssetToUsdOracle + address(0x001382149eBa3441043c1c66972b4772963f5D43), // nativeAssetToUsdOracle // MATIC/USD 18, // nativeAssetDecimals 3600, // nativeAssetPriceExpiryDuration // 1 hour address(wMATIC), // wrappedNativeAddress @@ -307,6 +305,86 @@ contract DeployGasdaddy is Script { new IBiconomyTokenPaymaster.TokenInfo[](0) ); + // OPTIMISM MAINNET + tokenPMConfigs[10] = TokenPMConfig( + address(0x13e3Ee699D1909E989722E753853AE30b17e08c5), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x4200000000000000000000000000000000000006), // wrappedNativeAddress + address(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // OPTIMISM SEPOLIA + tokenPMConfigs[11155420] = TokenPMConfig( + address(0x61Ec26aA57019C486B10502285c5A3D4A4750AD7), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x1BDD24840e119DC2602dCC587Dd182812427A5Cc), // wrappedNativeAddress + address(0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // SCROLL MAINNET + tokenPMConfigs[534352] = TokenPMConfig( + address(0x6bF14CB0A831078629D993FDeBcB182b21A8774C), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x5300000000000000000000000000000000000004), // wrappedNativeAddress + address(0), // NO SWAP ROUTER ON SCROLL <= OWNER CAN SET IT WHEN IT IS DEPLOYED + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // SCROLL SEPOLIA + tokenPMConfigs[534351] = TokenPMConfig( + address(0x59F1ec1f10bD7eD9B938431086bC1D9e233ECf41), // nativeAssetToUsdOracle + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x5300000000000000000000000000000000000004), // wrappedNativeAddress + address(0), // NO SWAP ROUTER ON SCROLL SEPOLIA <= OWNER CAN SET IT WHEN IT IS DEPLOYED + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // GNOSIS MAINNET + tokenPMConfigs[100] = TokenPMConfig( + address(0x678df3415fc31947dA4324eC63212874be5a82f8), // nativeAssetToUsdOracle DAI/USD + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d), // wrappedNativeAddress WXDAI + address(0x0000000000000000000000000000000000000000), // NO SWAP ROUTER ON GNOSIS <= OWNER CAN SET IT WHEN IT IS DEPLOYED + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // GNOSIS CHIADO + // SKIP CHIADO AS THERE's NO DAI PRICE FEED THERE + + // BSC MAINNET + tokenPMConfigs[56] = TokenPMConfig( + address(0x0567F2323251f0Aab15c8dFb1967E4e8A7D42aeE), // nativeAssetToUsdOracle BNB/USD + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c), // wrappedNativeAddress + address(0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2), // swapRouter + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + + // BSC TESTNET + tokenPMConfigs[97] = TokenPMConfig( + address(0x2514895c72f50D8bd4B4F9b1110F0D6bD2c97526), // nativeAssetToUsdOracle bnb/usd + 18, // nativeAssetDecimals + 3600, // nativeAssetPriceExpiryDuration // 1 hour + address(0x0dE8FCAE8421fc79B29adE9ffF97854a424Cad09), // wrappedNativeAddress /WBNB + address(0x0000000000000000000000000000000000000000), // NO SWAP ROUTER ON BSC TESTNET <= OWNER CAN SET IT WHEN (IF) IT IS DEPLOYED + new address[](0), + new IBiconomyTokenPaymaster.TokenInfo[](0) + ); + // ANVIL MockOracle mockNativeOracle; if (block.chainid == 31337) { From 9c8288cd64f6904c7f04d83b16d9d86ae2d80a99 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 12:20:31 +0300 Subject: [PATCH 10/16] deploy ready --- .../BiconomyTokenPaymaster/BiconomyTokenPaymaster.json | 2 +- scripts/foundry/DeployGasdaddy.s.sol | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json index 6576d33..a6bb22e 100644 --- a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json +++ b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"entryPoint","type":"address","internalType":"contract IEntryPoint"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetDecimalsArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetToUsdOracleArg","type":"address","internalType":"contract IOracle"},{"name":"nativeAssetPriceExpiryDurationArg","type":"uint256","internalType":"uint256"},{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"},{"name":"wrappedNativeArg","type":"address","internalType":"address"},{"name":"independentTokensArg","type":"address[]","internalType":"address[]"},{"name":"tokenInfosArg","type":"tuple[]","internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]},{"name":"swappableTokens","type":"address[]","internalType":"address[]"},{"name":"swappableTokenPoolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"addToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenInfo","type":"tuple","internalType":"struct IBiconomyTokenPaymaster.TokenInfo","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenPrice","type":"uint256","internalType":"uint256"},{"name":"appliedPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceExpiryDuration","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceMarkup","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"independentTokenDirectory","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isTokenSupported","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"nativeAssetToUsdOracle","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOracle"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setNativeAssetToUsdOracle","inputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceExpiryDurationForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newPriceExpiryDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceMarkupForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newIndependentPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"newUnaccountedGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"swapTokenAndDeposit","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenAmount","type":"uint256","internalType":"uint256"},{"name":"minEthAmountRecevied","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"tokenToPools","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"uniswapRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IV3SwapRouter"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateSwappableTokens","inputs":[{"name":"tokenAddresses","type":"address[]","internalType":"address[]"},{"name":"poolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawERC20Full","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20Full","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"wrappedNative","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"AddedToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"oracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"PaidGasInTokens","inputs":[{"name":"userOpSender","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenCharge","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"priceMarkup","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"tokenPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"userOpHash","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"RemovedFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SwappableTokensAdded","inputs":[{"name":"tokenAddresses","type":"address[]","indexed":true,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"SwappingReverted","inputs":[{"name":"tokenIn","type":"address","indexed":false,"internalType":"address"},{"name":"amountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"reason","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"TokensSwappedAndRefilledEntryPoint","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"tokenAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amountOut","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFeeCollector","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFixedPriceMarkup","inputs":[{"name":"oldValue","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"newValue","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"UpdatedNativeAssetOracle","inputs":[{"name":"oldOracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"newOracle","type":"address","indexed":true,"internalType":"contract IOracle"}],"anonymous":false},{"type":"event","name":"UpdatedPriceExpiryDuration","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedUnaccountedGas","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedVerifyingSigner","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"FailedToChargeTokens","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidPaymasterMode","inputs":[]},{"type":"error","name":"InvalidPriceExpiryDuration","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidTokenAddress","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"OraclePriceExpired","inputs":[]},{"type":"error","name":"OraclePriceNotPositive","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TokenNotSupported","inputs":[]},{"type":"error","name":"TokensAndAmountsLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndInfoLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndPoolsLengthMismatch","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UniswapReverted","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"UnwrappingReverted","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x6101206040523461019f57613140803803809161001b826101b7565b610120396101a08161012001911261019f57610035610232565b610040610140610242565b61004b610160610242565b610180516101a05161005e6101c0610242565b6101e05161006d610200610242565b91610079610220610242565b610240519094906001600160401b03811161019f578a61009c9161012001610264565b610260519096906001600160401b03811161019f578b6100bf91610120016102cb565b610280519098906001600160401b03811161019f578c6100e29161012001610264565b6102a051909a906001600160401b03811161019f5761010e9d6101089161012001610370565b9b610426565b60405161284890816108f882396080518181816106b10152818161082d015281816108df01528181610c2c01528181610cd40152818161189c01528181611a1c01528181611b5501526121b9015260a051818181610a330152818161119401526117c3015260c0518181816102d5015281816117240152611f60015260e05181610e8e015261010051816120690152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b610120601f91909101601f19168101906001600160401b038211908210176101de57604052565b6101a3565b606081019081106001600160401b038211176101de57604052565b601f909101601f19168101906001600160401b038211908210176101de57604052565b6001600160a01b0381160361019f57565b610120519061024082610221565b565b519061024082610221565b6001600160401b0381116101de5760051b60200190565b9080601f8301121561019f57815161027b8161024d565b9261028960405194856101fe565b81845260208085019260051b82010192831161019f57602001905b8282106102b15750505090565b6020809183516102c081610221565b8152019101906102a4565b81601f8201121561019f578051906102e28261024d565b926102f060405194856101fe565b8284526020606081860194028301019181831161019f57602001925b82841061031a575050505090565b60608483031261019f5760405190610331826101e3565b845161033c81610221565b825260208501519063ffffffff8216820361019f57826020928360609501526040870151604082015281520193019261030c565b9080601f8301121561019f578151906103888261024d565b9261039660405194856101fe565b82845260208085019360051b82010191821161019f57602001915b8183106103be5750505090565b825162ffffff8116810361019f578152602092830192016103b1565b9081602091031261019f575160ff8116810361019f5790565b6040513d5f823e3d90fd5b80518210156104125760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b92989c9b919395969761043c959a9b91986105f7565b60e05261010052803b6105d0576001600160a01b038116156105c15762030d4082116105b25785518451036105a35760405163313ce56760e01b81526020816004816001600160a01b0388165afa90811561059e5760089160ff915f9161056f575b501603610560576001556002556003555f5b835181101561055a57806104cf6104c9600193856103fe565b5161082e565b6105546104dc82856103fe565b516105136104fa6104ed858a6103fe565b516001600160a01b031690565b6001600160a01b03165f90815260046020526040902090565b81518154602084015163ffffffff60a01b60a09190911b166001600160a01b039092166001600160c01b031990911617178155604090910151600190910155565b016104b0565b50509050565b631c5f5f5d60e11b5f5260045ffd5b610591915060203d602011610597575b61058981836101fe565b8101906103da565b5f61049e565b503d61057f565b6103f3565b631b90532360e21b5f5260045ffd5b63313db2a560e11b5f5260045ffd5b6381618de160e01b5f5260045ffd5b63edc30c2760e01b5f5260045ffd5b9081602091031261019f5751801515810361019f5790565b91939461060691939695610738565b82518551036107295760a05260c0525f5b815181101561055a5780602061068e61064661063a61063a6104ed5f97896103fe565b6001600160a01b031690565b60a05161065b906001600160a01b031661063a565b60405163095ea7b360e01b81526001600160a01b0390911660048201525f19602482015294859283919082906044820190565b03925af191821561059e576001926106fd575b506106f76106bb6106b283886103fe565b5162ffffff1690565b6106e46106cb6104ed85886103fe565b6001600160a01b03165f90815260208190526040902090565b9062ffffff1662ffffff19825416179055565b01610617565b61071d9060203d8111610722575b61071581836101fe565b8101906105df565b6106a1565b503d61070b565b63552a04c960e01b5f5260045ffd5b8060601b15610821576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b60048201526020816024816001600160a01b0386165afa90811561059e575f91610802575b50156107bd57608052565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b61081b915060203d6020116107225761071581836101fe565b5f6107b2565b637448fbae5f526004601cfd5b8051600490602090610848906001600160a01b031661063a565b60405163313ce56760e01b815292839182905afa90811561059e5760089160ff915f916108d8575b5016036105605763ffffffff61088d602083015163ffffffff1690565b16621e848081119081156108cb575b506108bc576040015142106108ad57565b6347b4803b60e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b620f42409150105f61089c565b6108f1915060203d6020116105975761058981836101fe565b5f61087056fe6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b255780631b9a91a414611a97578063205c2878146119d757806323d9ac9b146119b05780632569296214611965578063406637941461169f57806341976e091461167b5780634230aa9e146115f357806344004cc1146115ba57806350f6ab101461155e57806352b7512c146114f157806354d1f13d146114ab5780635deef2aa146113f6578063617d057a1461132f57806361dcc50f146112ee5780636adf47421461128d5780636c19e78314611203578063715018a6146111b8578063735de9f71461117457806373acf5421461111557806375151b63146110d957806378b1da2314610fd85780637c627b2114610da3578063889e146814610d685780638da5cb5b14610d3d578063a6e1278014610d16578063ab94cad714610cf8578063b0d691fe14610cb4578063bacb4b7c14610c78578063bb9fe6bf14610c08578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103d3578063e5a29e18146102f9578063eb6d3a11146102b5578063f04e283e14610267578063f2fde38b146102285763fee81cf4146101f3575061000e565b346102255760203660031901126102255761020c611bbf565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b5060203660031901126102255761023d611bbf565b610245611edb565b8060601b1561025a576102579061259d565b80f35b637448fbae82526004601cfd5b5060203660031901126102255761027c611bbf565b610284611edb565b63389a75e1600c528082526020600c20805442116102a8579082610257925561259d565b636f5e881883526004601cfd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5060203660031901126102255761030e611bbf565b610316611edb565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103c85760089160ff918691610399575b50160361038a576001600160a01b0360035416906003557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103bb915060203d6020116103c1575b6103b38183611c84565b810190611ec2565b5f61034c565b503d6103a9565b6040513d86823e3d90fd5b506080366003190112610225576103e8611bbf565b60603660231901126105ed576040519061040182611c54565b610409611be9565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610435611edb565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600460205261050d63ffffffff6001600160a01b036040892095511696877fffffffffffffffffffffffff00000000000000000000000000000000000000008754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103c8577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103c1576103b38183611c84565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610488565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103c1576103b38183611c84565b5f61046b565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102255760c03660031901126102255760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102255760206106828760843587878760048c01611dbe565b604051908152f35b8480fd5b8280fd5b5080600319360112610225576106a6611ef7565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061281c5f395f51905f525d80f35b8161071f91611c84565b61022557805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102255761074d611bbf565b60243563ffffffff8116918282036105e957610767611edb565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600460208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102255780600319360112610225576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c84565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461022557602036600319011261022557806108cd611bbf565b6108d5611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c84565b6102255780f35b5050fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57366023820112156105ed57806004013561098881611ca6565b916109966040519384611c84565b818352602083016024819360051b83010191368311610c0457602401905b828210610bec5750505060243567ffffffffffffffff81116105e957366023820112156105e95780600401356109e981611ca6565b916109f76040519384611c84565b8183526024602084019260051b82010190368211610be857602401915b818310610bc857505050610a26611edb565b8251815103610bb95790917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190845b8151811015610b5357806001600160a01b03610a7d60019385611d41565b511662ffffff610a8d8387611d41565b51169060405160208a81830163095ea7b360e01b81528a60248501525f19604485015260448452610abf606485611c84565b83519082865af18a513d82610b38575b505015610af4575b50885287602052604088209062ffffff1982541617905501610a5f565b610b3290610b2c60405163095ea7b360e01b60208201528a60248201528c604482015260448152610b26606482611c84565b846127c7565b826127c7565b5f610ad7565b909150610b4c5750813b15155b5f80610acf565b8514610b45565b8585836040519182839251909190855b818110610b97575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b63565b63552a04c960e01b8452600484fd5b823562ffffff81168103610be457815260209283019201610a14565b8780fd5b8680fd5b60208091610bf984611bd5565b8152019101906109b4565b8580fd5b5034610225578060031936011261022557610c21611edb565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102255760203660031901126102255762ffffff60406020926001600160a01b03610ca3611bbf565b168152808452205416604051908152f35b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102255780600319360112610225576020600254604051908152f35b503461022557806003193601126102255760206001600160a01b0360035416604051908152f35b50346102255780600319360112610225576020638b78c6d819546001600160a01b0360405191168152f35b503461022557602036600319011261022557600160406020926001600160a01b03610d91611bbf565b16815260048452200154604051908152f35b503461022557608036600319011261022557600360043510156102255760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e0b6121af565b8390031261068e57610e1f60248301611bd5565b90610e2c60448401611bd5565b91608484013560a485013563ffffffff8116809103610be85760c4860135926001600160a01b038082169616968315610fb8575b83610e8184610e81610e86610e8c95610e81606480359201356002546125db565b611fa7565b8a6125db565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fa45790610ecf91611fce565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610f99575b89606052816040525f14610f7357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f1e565b634e487b7160e01b8a52601160045260248afd5b9250610fc387611fec565b9283610e6057633dd1b30560e01b8952600489fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57611005903690600401611c23565b61100d611be9565b90611016611edb565b61101e611ef7565b835b81811061103b5784805f51602061281c5f395f51905f525d80f35b8060206001600160a01b0361105b611056602495878a611d09565b611d2d565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110a4575b5061109e6001928561109961105685888b611d09565b612103565b01611020565b91506020823d82116110d1575b816110be60209383611c84565b8101031261089a5790519061109e611083565b3d91506110b1565b5034610225576020366003190112610225576001600160a01b03604060209282611101611bbf565b168152600484522054161515604051908152f35b5060203660031901126102255760043561112d611edb565b62030d40811161116557600254816002557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5080600319360112610225576111cc611edb565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261022557611218611bbf565b611220611edb565b803b61127e576001600160a01b038116801561126f576001600160a01b03600154169160015533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610225576001600160a01b036112aa611bbf565b6112b2611edb565b1680825260046020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102255760203660031901126102255763ffffffff60406020926001600160a01b0361131a611bbf565b16815260048452205460a01c16604051908152f35b5060603660031901126102255760043567ffffffffffffffff81116105ed5761135c903690600401611c23565b611364611be9565b60443567ffffffffffffffff811161068a57611384903690600401611c23565b909261138e611edb565b611396611ef7565b8181036113e757855b8181106113ba5786805f51602061281c5f395f51905f525d80f35b806113e16113ce611056600194868b611d09565b866113da84888b611d09565b3591612103565b0161139f565b630483384360e11b8652600486fd5b5060403660031901126102255761140b611bbf565b611413611be9565b9061141c611edb565b611424611ef7565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103c8578492611475575b6114629350612103565b805f51602061281c5f395f51905f525d80f35b91506020833d6020116114a3575b8161149060209383611c84565b8101031261089a57611462925191611458565b3d9150611483565b50806003193601126102255763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610225576060366003190112610225576004359067ffffffffffffffff821161022557610120600319833603011261022557611554611540836115346121af565b60243590600401612226565b604051928392604084526040840190611bff565b9060208301520390f35b50346102255760203660031901126102255760406060916001600160a01b03611585611bbf565b1681526004602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610225576114626115d2611bbf565b6115da611be9565b6115e2611edb565b6115ea611ef7565b60443591612103565b50604036600319011261022557611608611bbf565b60243590611614611edb565b81421061166c576001600160a01b03168083526004602052600160408420015490835260046020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b503461022557602036600319011261022557602061068261169a611bbf565b611fec565b506060366003190112610225576116b4611bbf565b6001600160a01b03602435916116c8611ef7565b16908183528260205262ffffff60408420541615611956578183528260205262ffffff6040842054166040519060e0820182811067ffffffffffffffff82111761194257906001600160a01b03916040528483526020830190827f0000000000000000000000000000000000000000000000000000000000000000168252604084019081526060840130815283608086019187835262ffffff60a088019460443586528360c08a01978d8952816040519b6304e45aaf60e01b8d52511660048c0152511660248a015251166044880152511660648601525160848501525160a4840152511660c482015260208160e481876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af184918161190e575b5061190857507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f28161183f61181f611cda565b604051918291868352856020840152606060408401526060830190611bff565b0390a182915b82611888575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061281c5f395f51905f525d80f35b61189183611f2c565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a576118f3575b505061184b565b816118fd91611c84565b6105e957835f6118ec565b91611845565b9091506020813d60201161193a575b8161192a60209383611c84565b8101031261089a5751905f6117ed565b3d915061191d565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102255763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461022557806003193601126102255760206001600160a01b0360015416604051908152f35b5034610225576040366003190112610225576001600160a01b036119f9611bbf565b611a01611edb565b611a09611ef7565b168015611a885781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061281c5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261022557611aac611bbf565b6001600160a01b0360243591611ac0611edb565b611ac8611ef7565b168280808085855af1611ad9611cda565b5015611b16577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061281c5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b4b611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bb457611ba8575080f35b61001891505f90611c84565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c7057604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c7057604052565b67ffffffffffffffff8111611c705760051b60200190565b67ffffffffffffffff8111611c7057601f01601f191660200190565b3d15611d04573d90611ceb82611cbe565b91611cf96040519384611c84565b82523d5f602084013e565b606090565b9190811015611d195760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d195760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611d9482611cbe565b91611da26040519384611c84565b82948184528183011161089a578281602093845f960137010152565b939194929094611ddb611dd46040870187611d55565b3691611d88565b6020815191012095611df3611dd46060880188611d55565b6020815191012095611e0860e0820182611d55565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ebc61020082611c84565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611eea57565b6382b429005f526004601cfd5b5f51602061281c5f395f51905f525c611f1d5760015f51602061281c5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fa4575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f5b604482611c84565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f89611cda565b5015611f925750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fba57565b634e487b7160e01b5f52601160045260245ffd5b8115611fd8570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600460205260405f206040519061200e82611c54565b600181549163ffffffff6001600160a01b0384169384865260a01c16602085015201549060408301918252156120f4576001600160a01b036120549251169051906125ff565b6004602061208e6001600160a01b03600354167f0000000000000000000000000000000000000000000000000000000000000000906125ff565b936040519283809263313ce56760e01b82525afa8015611bb45760ff915f916120d5575b5016604d8111611fba576120d2926120cd91600a0a90611fa7565b611fce565b90565b6120ee915060203d6020116103c1576103b38183611c84565b5f6120b2565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121a0576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612182575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b15171015612193575f612151565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121e157565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61223b8387611d55565b9390918460341015611d1957603483013560f81c956002871015612589578560351161089a5760358401916034198701936001891161257a5761227e908b611d55565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fba576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fba57606490046fffffffffffffffffffffffffffffffff1697806124c3575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761236a90607586013560e01c9560793692607819019101611d88565b8051604081141590816124b7575b506124a8576123c9908861239c87878b8f6001600160a01b03600154169589611dbe565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126c0565b15612452579165ffffffffffff60a01b9593916001600160a01b0361240f7fffffffffffff00000000000000000000000000000000000000000000000000009795611d2d565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261244460e082611c84565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124a1602082611c84565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f612378565b90989794506001919993959650146124dd575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161256b5761250b90611d2d565b93825f5260046020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261255e60e082611c84565b905f905f808080806124d6565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fba57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bb4575f925f9261266a575b505f83131561265b57420390428211611fba571061264c5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126b8575b8161268760a09383611c84565b8101031261089a57612698826125e8565b5060208201516126af6080606085015194016125e8565b5091905f612631565b3d915061267a565b92915f936001600160a01b038116156127bf576040519282518060401461278357604114612743575b85156126f6575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f8080806126f0565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126e9565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c0160205216606052612758565b505f93505050565b905f602091828151910182855af115611bb4575f513d61281257506001600160a01b0381163b155b6127f65750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b600114156127ef56fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:24914:8:-:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;:::o;:::-;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2174:24914:8;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;2870:7;;;;;;;;;;;;;;;;;;:::o;:::-;2174:24914;;2870:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;2174:24914;;;2870:7;;;;;;;;3639:2172;;;;;;;;;;;;;;;;;:::i;:::-;4543:47;;4600:71;;6221:74:0;;4682:102:8;;-1:-1:-1;;;;;2174:24914:8;;4797:32;4793:99;;2870:7;4905:42;;4901:103;;2870:7;;;;5018:51;5014:118;;2174:24914;;-1:-1:-1;;;5145:36:8;;;2174:24914;5145:36;2174:24914;-1:-1:-1;;;;;2174:24914:8;;5145:36;;;;;;;5185:1;5145:36;2870:7;5145:36;4827:1;5145:36;;;3639:2172;2870:7;;5145:41;5141:179;;5361:231;;;;;;4827:1;5655:3;2870:7;;5622:31;;;;;5693:16;;;5361:231;5693:16;;;:::i;:::-;;;:::i;:::-;2870:7;5777:16;;;;:::i;:::-;;5724:50;5750:23;;;;;:::i;:::-;2870:7;-1:-1:-1;;;;;2174:24914:8;;2870:7;5750:23;-1:-1:-1;;;;;2174:24914:8;2870:7;;;;5145:36;2870:7;;;;;;;5724:50;2870:7;;;;;;;;-1:-1:-1;;;2174:24914:8;2870:7;;;;;-1:-1:-1;;;;;2174:24914:8;;;-1:-1:-1;;;;;;2870:7:8;;;;;;;;;;;;-1:-1:-1;2870:7:8;;;;;;;5607:13;;5622:31;;;;;3639:2172::o;5141:179::-;5286:23;;;4827:1;5286:23;5145:36;4827:1;5286:23;5145:36;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;5014:118::-;5092:29;;;4827:1;5092:29;;4827:1;5092:29;4901:103;4970:23;;;4827:1;4970:23;;4827:1;4970:23;4793:99;4852:29;;;4827:1;4852:29;;4827:1;4852:29;4682:102;4740:33;;;;;;;;2174:24914;;;;;;;;;;;;;;;;;;:::o;1274:723:9:-;;;;377:1683:49;1274:723:9;;;;377:1683:49;:::i;:::-;2870:7:8;;;;1456:41:9;1452:109;;1628:32;;1670;;-1:-1:-1;1752:3:9;2870:7:8;;1733:17:9;;;;;1778:9;1771:68;;:25;:17;1778:9;;-1:-1:-1;1778:9:9;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;;1771:25:9;1628:32;2174:24914:8;1797:22:9;;-1:-1:-1;;;;;2174:24914:8;;;1797:22:9;2174:24914:8;;-1:-1:-1;;;1771:68:9;;-1:-1:-1;;;;;2174:24914:8;;;1771:68:9;;;2174:24914:8;-1:-1:-1;;2174:24914:8;;;;;;;;;2870:7;2174:24914;;;;;;;1771:68:9;;;;;;;;;;2870:7:8;1771:68:9;;;1752:3;1904:20;1878:46;1904:20;;;;;:::i;:::-;2174:24914:8;;;;;1904:20:9;1878:23;1891:9;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;1730:1:9;2870:7:8;;;;;;;;;;;;1878:23:9;2174:24914:8;;;;;;;;;;;;1878:46:9;2870:7:8;1718:13:9;;1771:68;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;1452:109;1520:30;;;-1:-1:-1;1520:30:9;;-1:-1:-1;1520:30:9;1021:171:0;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:130;-1:-1:-1;;5710:347:130;;;-1:-1:-1;5710:347:130;-1:-1:-1;;5710:347:130;2174:24914:8;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;2174:24914:8;;;3843:80:0;2174:24914:8;-1:-1:-1;;;;;2174:24914:8;;3843:80:0;;;;;;;-1:-1:-1;3843:80:0;;;1021:171;2174:24914:8;;;;1159:26:0;;1021:171::o;2174:24914:8:-;;;-1:-1:-1;;;2174:24914:8;;;3843:80:0;2174:24914:8;;;;3843:80:0;2174:24914:8;;;;;;;;;;;3843:80:0;;;;2174:24914:8;3843:80:0;2174:24914:8;3843:80:0;;;;;;;:::i;:::-;;;;198:181:10;;;;;;;24578:455:8;2870:7;;24662:27;;;;:25;;-1:-1:-1;;;;;2174:24914:8;2870:7;2174:24914;24662:25;2174:24914;;-1:-1:-1;;;24662:27:8;;2174:24914;;;;;24662:27;;;;;;;24693:1;24662:27;2870:7;24662:27;:16;:27;;;24578:455;2870:7;;24662:32;24658:93;;2174:24914;2870:7;24662:27;24764:21;;2870:7;2174:24914;;;;2870:7;2174:24914;3075:3;24764:41;;:87;;;;;24578:455;24760:145;;;2174:24914;24936:29;2870:7;24918:15;:47;24914:113;;24578:455::o;24914:113::-;24988:28;;;24662:16;24988:28;24662:27;:16;24988:28;24760:145;24874:20;;;24662:16;24874:20;24662:27;:16;24874:20;24764:87;2962:3;24809:42;;;24764:87;;;24662:27;;;;;;;;;;;;;;:::i;:::-;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b255780631b9a91a414611a97578063205c2878146119d757806323d9ac9b146119b05780632569296214611965578063406637941461169f57806341976e091461167b5780634230aa9e146115f357806344004cc1146115ba57806350f6ab101461155e57806352b7512c146114f157806354d1f13d146114ab5780635deef2aa146113f6578063617d057a1461132f57806361dcc50f146112ee5780636adf47421461128d5780636c19e78314611203578063715018a6146111b8578063735de9f71461117457806373acf5421461111557806375151b63146110d957806378b1da2314610fd85780637c627b2114610da3578063889e146814610d685780638da5cb5b14610d3d578063a6e1278014610d16578063ab94cad714610cf8578063b0d691fe14610cb4578063bacb4b7c14610c78578063bb9fe6bf14610c08578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103d3578063e5a29e18146102f9578063eb6d3a11146102b5578063f04e283e14610267578063f2fde38b146102285763fee81cf4146101f3575061000e565b346102255760203660031901126102255761020c611bbf565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b5060203660031901126102255761023d611bbf565b610245611edb565b8060601b1561025a576102579061259d565b80f35b637448fbae82526004601cfd5b5060203660031901126102255761027c611bbf565b610284611edb565b63389a75e1600c528082526020600c20805442116102a8579082610257925561259d565b636f5e881883526004601cfd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5060203660031901126102255761030e611bbf565b610316611edb565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103c85760089160ff918691610399575b50160361038a576001600160a01b0360035416906003557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103bb915060203d6020116103c1575b6103b38183611c84565b810190611ec2565b5f61034c565b503d6103a9565b6040513d86823e3d90fd5b506080366003190112610225576103e8611bbf565b60603660231901126105ed576040519061040182611c54565b610409611be9565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610435611edb565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600460205261050d63ffffffff6001600160a01b036040892095511696877fffffffffffffffffffffffff00000000000000000000000000000000000000008754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103c8577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103c1576103b38183611c84565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610488565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103c1576103b38183611c84565b5f61046b565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102255760c03660031901126102255760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102255760206106828760843587878760048c01611dbe565b604051908152f35b8480fd5b8280fd5b5080600319360112610225576106a6611ef7565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061281c5f395f51905f525d80f35b8161071f91611c84565b61022557805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102255761074d611bbf565b60243563ffffffff8116918282036105e957610767611edb565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600460208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102255780600319360112610225576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c84565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461022557602036600319011261022557806108cd611bbf565b6108d5611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c84565b6102255780f35b5050fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57366023820112156105ed57806004013561098881611ca6565b916109966040519384611c84565b818352602083016024819360051b83010191368311610c0457602401905b828210610bec5750505060243567ffffffffffffffff81116105e957366023820112156105e95780600401356109e981611ca6565b916109f76040519384611c84565b8183526024602084019260051b82010190368211610be857602401915b818310610bc857505050610a26611edb565b8251815103610bb95790917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190845b8151811015610b5357806001600160a01b03610a7d60019385611d41565b511662ffffff610a8d8387611d41565b51169060405160208a81830163095ea7b360e01b81528a60248501525f19604485015260448452610abf606485611c84565b83519082865af18a513d82610b38575b505015610af4575b50885287602052604088209062ffffff1982541617905501610a5f565b610b3290610b2c60405163095ea7b360e01b60208201528a60248201528c604482015260448152610b26606482611c84565b846127c7565b826127c7565b5f610ad7565b909150610b4c5750813b15155b5f80610acf565b8514610b45565b8585836040519182839251909190855b818110610b97575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b63565b63552a04c960e01b8452600484fd5b823562ffffff81168103610be457815260209283019201610a14565b8780fd5b8680fd5b60208091610bf984611bd5565b8152019101906109b4565b8580fd5b5034610225578060031936011261022557610c21611edb565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102255760203660031901126102255762ffffff60406020926001600160a01b03610ca3611bbf565b168152808452205416604051908152f35b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102255780600319360112610225576020600254604051908152f35b503461022557806003193601126102255760206001600160a01b0360035416604051908152f35b50346102255780600319360112610225576020638b78c6d819546001600160a01b0360405191168152f35b503461022557602036600319011261022557600160406020926001600160a01b03610d91611bbf565b16815260048452200154604051908152f35b503461022557608036600319011261022557600360043510156102255760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e0b6121af565b8390031261068e57610e1f60248301611bd5565b90610e2c60448401611bd5565b91608484013560a485013563ffffffff8116809103610be85760c4860135926001600160a01b038082169616968315610fb8575b83610e8184610e81610e86610e8c95610e81606480359201356002546125db565b611fa7565b8a6125db565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fa45790610ecf91611fce565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610f99575b89606052816040525f14610f7357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f1e565b634e487b7160e01b8a52601160045260248afd5b9250610fc387611fec565b9283610e6057633dd1b30560e01b8952600489fd5b5060403660031901126102255760043567ffffffffffffffff81116105ed57611005903690600401611c23565b61100d611be9565b90611016611edb565b61101e611ef7565b835b81811061103b5784805f51602061281c5f395f51905f525d80f35b8060206001600160a01b0361105b611056602495878a611d09565b611d2d565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110a4575b5061109e6001928561109961105685888b611d09565b612103565b01611020565b91506020823d82116110d1575b816110be60209383611c84565b8101031261089a5790519061109e611083565b3d91506110b1565b5034610225576020366003190112610225576001600160a01b03604060209282611101611bbf565b168152600484522054161515604051908152f35b5060203660031901126102255760043561112d611edb565b62030d40811161116557600254816002557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461022557806003193601126102255760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5080600319360112610225576111cc611edb565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261022557611218611bbf565b611220611edb565b803b61127e576001600160a01b038116801561126f576001600160a01b03600154169160015533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610225576001600160a01b036112aa611bbf565b6112b2611edb565b1680825260046020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102255760203660031901126102255763ffffffff60406020926001600160a01b0361131a611bbf565b16815260048452205460a01c16604051908152f35b5060603660031901126102255760043567ffffffffffffffff81116105ed5761135c903690600401611c23565b611364611be9565b60443567ffffffffffffffff811161068a57611384903690600401611c23565b909261138e611edb565b611396611ef7565b8181036113e757855b8181106113ba5786805f51602061281c5f395f51905f525d80f35b806113e16113ce611056600194868b611d09565b866113da84888b611d09565b3591612103565b0161139f565b630483384360e11b8652600486fd5b5060403660031901126102255761140b611bbf565b611413611be9565b9061141c611edb565b611424611ef7565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103c8578492611475575b6114629350612103565b805f51602061281c5f395f51905f525d80f35b91506020833d6020116114a3575b8161149060209383611c84565b8101031261089a57611462925191611458565b3d9150611483565b50806003193601126102255763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610225576060366003190112610225576004359067ffffffffffffffff821161022557610120600319833603011261022557611554611540836115346121af565b60243590600401612226565b604051928392604084526040840190611bff565b9060208301520390f35b50346102255760203660031901126102255760406060916001600160a01b03611585611bbf565b1681526004602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610225576114626115d2611bbf565b6115da611be9565b6115e2611edb565b6115ea611ef7565b60443591612103565b50604036600319011261022557611608611bbf565b60243590611614611edb565b81421061166c576001600160a01b03168083526004602052600160408420015490835260046020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b503461022557602036600319011261022557602061068261169a611bbf565b611fec565b506060366003190112610225576116b4611bbf565b6001600160a01b03602435916116c8611ef7565b16908183528260205262ffffff60408420541615611956578183528260205262ffffff6040842054166040519060e0820182811067ffffffffffffffff82111761194257906001600160a01b03916040528483526020830190827f0000000000000000000000000000000000000000000000000000000000000000168252604084019081526060840130815283608086019187835262ffffff60a088019460443586528360c08a01978d8952816040519b6304e45aaf60e01b8d52511660048c0152511660248a015251166044880152511660648601525160848501525160a4840152511660c482015260208160e481876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af184918161190e575b5061190857507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f28161183f61181f611cda565b604051918291868352856020840152606060408401526060830190611bff565b0390a182915b82611888575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061281c5f395f51905f525d80f35b61189183611f2c565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a576118f3575b505061184b565b816118fd91611c84565b6105e957835f6118ec565b91611845565b9091506020813d60201161193a575b8161192a60209383611c84565b8101031261089a5751905f6117ed565b3d915061191d565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102255763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461022557806003193601126102255760206001600160a01b0360015416604051908152f35b5034610225576040366003190112610225576001600160a01b036119f9611bbf565b611a01611edb565b611a09611ef7565b168015611a885781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061281c5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261022557611aac611bbf565b6001600160a01b0360243591611ac0611edb565b611ac8611ef7565b168280808085855af1611ad9611cda565b5015611b16577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061281c5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b4b611edb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bb457611ba8575080f35b61001891505f90611c84565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c7057604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c7057604052565b67ffffffffffffffff8111611c705760051b60200190565b67ffffffffffffffff8111611c7057601f01601f191660200190565b3d15611d04573d90611ceb82611cbe565b91611cf96040519384611c84565b82523d5f602084013e565b606090565b9190811015611d195760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d195760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611d9482611cbe565b91611da26040519384611c84565b82948184528183011161089a578281602093845f960137010152565b939194929094611ddb611dd46040870187611d55565b3691611d88565b6020815191012095611df3611dd46060880188611d55565b6020815191012095611e0860e0820182611d55565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ebc61020082611c84565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611eea57565b6382b429005f526004601cfd5b5f51602061281c5f395f51905f525c611f1d5760015f51602061281c5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fa4575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f5b604482611c84565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f89611cda565b5015611f925750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fba57565b634e487b7160e01b5f52601160045260245ffd5b8115611fd8570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600460205260405f206040519061200e82611c54565b600181549163ffffffff6001600160a01b0384169384865260a01c16602085015201549060408301918252156120f4576001600160a01b036120549251169051906125ff565b6004602061208e6001600160a01b03600354167f0000000000000000000000000000000000000000000000000000000000000000906125ff565b936040519283809263313ce56760e01b82525afa8015611bb45760ff915f916120d5575b5016604d8111611fba576120d2926120cd91600a0a90611fa7565b611fce565b90565b6120ee915060203d6020116103c1576103b38183611c84565b5f6120b2565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121a0576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612182575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b15171015612193575f612151565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121e157565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61223b8387611d55565b9390918460341015611d1957603483013560f81c956002871015612589578560351161089a5760358401916034198701936001891161257a5761227e908b611d55565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fba576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fba57606490046fffffffffffffffffffffffffffffffff1697806124c3575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761236a90607586013560e01c9560793692607819019101611d88565b8051604081141590816124b7575b506124a8576123c9908861239c87878b8f6001600160a01b03600154169589611dbe565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126c0565b15612452579165ffffffffffff60a01b9593916001600160a01b0361240f7fffffffffffff00000000000000000000000000000000000000000000000000009795611d2d565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261244460e082611c84565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124a1602082611c84565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f612378565b90989794506001919993959650146124dd575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161256b5761250b90611d2d565b93825f5260046020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261255e60e082611c84565b905f905f808080806124d6565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fba57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bb4575f925f9261266a575b505f83131561265b57420390428211611fba571061264c5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126b8575b8161268760a09383611c84565b8101031261089a57612698826125e8565b5060208201516126af6080606085015194016125e8565b5091905f612631565b3d915061267a565b92915f936001600160a01b038116156127bf576040519282518060401461278357604114612743575b85156126f6575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f8080806126f0565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126e9565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c0160205216606052612758565b505f93505050565b905f602091828151910182855af115611bb4575f513d61281257506001600160a01b0381163b155b6127f65750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b600114156127ef56fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:24914:8:-:0;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;11885:237:130;;;;;2174:24914:8;11885:237:130;;;;2174:24914:8;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;2174:24914:8;;8479:183:130;;;;2174:24914:8;8479:183:130;;2174:24914:8;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;10506:526;;;;;;2174:24914:8;10506:526:130;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;2174:24914:8;10506:526:130;;2174:24914:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;947:38:9;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;11937:17:8;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;11937:17;;;;;;;11958:1;11937:17;2174:24914;11937:17;;;;;2174:24914;;;11937:22;11933:140;;-1:-1:-1;;;;;12119:22:8;2174:24914;;12151:92;12119:22;12151:92;12258:59;;;;2174:24914;;11933:140;-1:-1:-1;;;12039:23:8;;2174:24914;24717:23;12039;11937:17;;;;2174:24914;11937:17;2174:24914;11937:17;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2174:24914;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;24662:27;;;;;;;;;24693:1;24662:27;2174:24914;24662:27;;;;;2174:24914;;;24662:32;24658:93;;2174:24914;;;;3075:3;24764:41;;:87;;;;;2174:24914;24760:145;;;2174:24914;;24918:15;:47;24914:113;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;2962:3;-1:-1:-1;;;;;;;2962:3:8;;;;;;;;;;;;2174:24914;;;;;;;-1:-1:-1;;;12909:39:8;;2174:24914;;;;12909:39;;;;;;;;12855:94;12909:39;2174:24914;12909:39;;;;;2174:24914;;;;;;;;;12855:94;2174:24914;;12909:39;;;;;;;;;;;;;;:::i;:::-;;;;24914:113;-1:-1:-1;;;24988:28:8;;2174:24914;11346:28;24988;24760:145;-1:-1:-1;;;24874:20:8;;2174:24914;10629:20;24874;24764:87;2962:3;24809:42;;;24764:87;;;24658:93;-1:-1:-1;;;24717:23:8;;2174:24914;24717:23;;24662:27;;;;2174:24914;24662:27;2174:24914;24662:27;;;;;;;:::i;:::-;;;;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1181:103:49;;:::i;:::-;15500:10:8;-1:-1:-1;;;;;15500:10:8;2174:24914;15500:55;;;;;2174:24914;15500:55;2174:24914;;;;;;;;;;15500:55;;15549:4;2174:24914;15500:55;;2174:24914;15529:9;15500:55;;;;;;;;;2174:24914;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;15500:55;;;;;:::i;:::-;2174:24914;;15500:55;;;;;2174:24914;;;;;;;;;15500:55;2174:24914;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;;;;;;;;;;12478:70:130;;:::i;:::-;3075:3:8;10465:45;;:95;;;;2174:24914;10461:199;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;2962:3;;-1:-1:-1;;;;2962:3:8;2174:24914;2962:3;;;-1:-1:-1;;;2962:3:8;;;;2174:24914;;;;10859:77;;;;2174:24914;;10461:199;-1:-1:-1;;;10629:20:8;;2174:24914;10629:20;;10465:95;10514:46;2962:3;10514:46;;10465:95;;2174:24914;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;2174:24914:8;3569:35:0;;2174:24914:8;;;;3569:35:0;2174:24914:8;3569:10:0;-1:-1:-1;;;;;2174:24914:8;3569:35:0;;;;;;;;;;2174:24914:8;;;;;;;;;3569:35:0;;2174:24914:8;3569:35:0;;2174:24914:8;3569:35:0;;;;;;2174:24914:8;3569:35:0;;;:::i;:::-;;;2174:24914:8;;;;;;;3569:35:0;;2174:24914:8;-1:-1:-1;2174:24914:8;;3569:35:0;;;-1:-1:-1;3569:35:0;;;2174:24914:8;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;2174:24914:8;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;2174:24914:8;;;;;;;;;;;;;2107:41:0;;2174:24914:8;;2107:41:0;;2174:24914:8;2107:41:0;;;;;;;;2174:24914:8;;2107:41:0;;;;;:::i;:::-;2174:24914:8;;2107:41:0;2174:24914:8;2107:41:0;2174:24914:8;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;;;;:::i;:::-;2174:24914:8;;;;13882:44;13878:112;;14005:13;;2126::9;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;14005:13:8;14047:3;2174:24914;;14020:25;;;;;14080:17;-1:-1:-1;;;;;14080:17:8;2174:24914;14080:17;;;:::i;:::-;2174:24914;;;14099:15;;;;:::i;:::-;2174:24914;;;;;;4567:47:43;;;;2174:24914:8;;;4567:47:43;;;2174:24914:8;4567:47:43;;2174:24914:8;2142:17:9;;4567:47:43;2174:24914:8;;;4567:47:43;;;;;;;:::i;:::-;9138:199;;;;;;;;;;9353:80;;;14047:3:8;4629:45:43;;;4625:201;;14047:3:8;2174:24914;;;;;;;;;;;;;;;;;;;14005:13;;4625:201:43;4802:12;2174:24914:8;4717:43:43;2174:24914:8;;;;;;4717:43:43;;;;2174:24914:8;4717:43:43;;2174:24914:8;;4567:47:43;2174:24914:8;;;4567:47:43;4717:43;;;4567:47;4717:43;;:::i;:::-;;;:::i;:::-;4802:12;;:::i;:::-;4625:201;;;9353:80;9365:67;;-1:-1:-1;9365:15:43;;9383:26;;;:30;;9365:67;9353:80;;;;9365:67;9416:16;;9365:67;;14020:25:8;;;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;14140:36;;;;2174:24914;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;13878:112;-1:-1:-1;;;13949:30:8;;2174:24914;13949:30;;2174:24914;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;2174:24914:8;1770:24:0;;;;;2174:24914:8;;;;;;;;;;;;;1770:24:0;;;;;;;;;;2174:24914:8;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;2174:24914:8;;;;;;;;;;;;;;;;;;2600:29;2174:24914;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2635:37:8;2174:24914;;;;;;;;;;;;;;;;;;;;;;6813:405:130;;11523:61;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;18985:59;2174:24914;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;18985:59;2174:24914;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2192:298:0;;;:::i;:::-;2174:24914:8;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;22898:290;;23380:15;23377:250;;2174:24914;;24016:109;2174:24914;24031:71;24047:55;24016:122;2174:24914;24049:27;2174:24914;;;;;;24049:14;2174:24914;24049:27;:::i;:::-;24047:55;:::i;:::-;24031:71;;:::i;24016:122::-;24150:22;:43;2174:24914;;;;;;;;;;;;;;;24016:178;;;;:::i;:::-;24209:91;2174:24914;10384:740:134;;;2174:24914:8;10384:740:134;24281:4:8;2174:24914;10384:740:134;;;;2174:24914:8;10384:740:134;;;;;;;2174:24914:8;10384:740:134;2174:24914:8;10384:740:134;;;;;;2174:24914:8;10384:740:134;;;;;;;2174:24914:8;10384:740:134;2174:24914:8;10384:740:134;;2174:24914:8;10384:740:134;24205:353:8;24209:91;;;2174:24914;;;;;24321:115;2174:24914;;;;;;;;;;;;;;;;;;;;;;;24321:115;2174:24914;;24205:353;24474:73;2174:24914;24474:73;;;;;;;;2174:24914;24474:73;;2174:24914;;;;;;;;;;;;;24474:73;10384:740:134;;;;;;;;;2174:24914:8;-1:-1:-1;;;2174:24914:8;;;;;;;;23377:250;23424:23;;;;;:::i;:::-;23541:15;;23377:250;23538:79;-1:-1:-1;;;23583:19:8;;2174:24914;;23583:19;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;8365:9:8;8376:16;;;;;;3550:68:51;;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;8365:9;8430:8;2174:24914;-1:-1:-1;;;;;8430:8:8;;2174:24914;8430:8;;;;:::i;:::-;;:::i;:::-;2174:24914;;;;;;;;;;8430:33;;8457:4;2174:24914;8430:33;;2174:24914;8430:33;;;;;;;;;;;8365:9;8496:8;8514:6;2174:24914;8496:8;;;;;;;;:::i;:::-;8514:6;:::i;:::-;2174:24914;8365:9;;8430:33;;;2174:24914;8430:33;;;;;;;;;2174:24914;8430:33;;;:::i;:::-;;;2174:24914;;;;;;;8514:6;8430:33;;;;;-1:-1:-1;8430:33:8;;2174:24914;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::i;:::-;;;;;;;;;;18199:69;;2174:24914;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;12478:70:130;;:::i;:::-;2870:7:8;9791:42;;9787:103;;9927:14;2174:24914;9951:95;9927:14;9951:95;10060:59;;;;2174:24914;;9787:103;-1:-1:-1;;;9856:23:8;;2174:24914;9856:23;;2174:24914;;;;;;;;;;;;;;;;-1:-1:-1;;;;;817:44:9;2174:24914:8;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;6813:405;;;;;;;;;;;;2174:24914:8;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;9049:77:8;;-1:-1:-1;;;;;2174:24914:8;;9140:32;;9136:99;;-1:-1:-1;;;;;9264:15:8;2174:24914;;9289:97;9264:15;9289:97;9454:10;9400:65;;;;;2174:24914;;9136:99;-1:-1:-1;;;9195:29:8;;2174:24914;9195:29;;9049:77;-1:-1:-1;;;9093:33:8;;2174:24914;9093:33;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;12478:70:130;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;;;;13336:39;;;;2174:24914;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;12478:70:130;;;;:::i;:::-;1181:103:49;;:::i;:::-;7659:29:8;;;7655:99;;7792:9;7803:16;;;;;;3550:68:51;;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;7792:9;7855:8;7873:9;7855:8;;2174:24914;7855:8;;;;:::i;:::-;7873:9;;;;;;:::i;:::-;2174:24914;7873:9;;:::i;:::-;2174:24914;7792:9;;7655:99;-1:-1:-1;;;7711:32:8;;2174:24914;7711:32;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;:::i;:::-;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;;-1:-1:-1;;;7098:30:8;;7122:4;2174:24914;7098:30;;2174:24914;;;;;;-1:-1:-1;;;;;2174:24914:8;;7098:30;;;;;;;;;;;2174:24914;7168:6;;;;:::i;:::-;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;7098:30;;;2174:24914;7098:30;;2174:24914;7098:30;;;;;;2174:24914;7098:30;;;:::i;:::-;;;2174:24914;;;;7168:6;2174:24914;;7098:30;;;;;;-1:-1:-1;7098:30:8;;2174:24914;;;;;;;;;;9831:339:130;;;;;;;;;;;;;;;;2174:24914:8;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;19366:2958;2737:22:0;;;:::i;:::-;2174:24914:8;;;;;19366:2958;:::i;:::-;2174:24914;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;;;;;;;;2705:62;2174:24914;;2705:62;;2174:24914;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;6288:6;2174:24914;;:::i;:::-;;;:::i;:::-;12478:70:130;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;;6288:6;;:::i;2174:24914::-;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;;;12478:70:130;;;:::i;:::-;11297:15:8;;:40;11294:80;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;11417:59;2174:24914;;;;;;;;;;;;11486:59;2174:24914;11585:74;;;;2174:24914;;11294:80;-1:-1:-1;;;11346:28:8;;2174:24914;11346:28;;2174:24914;;;;;;;-1:-1:-1;;2174:24914:8;;;;;17884:23;2174:24914;;:::i;:::-;17884:23;:::i;2174:24914::-;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;1181:103:49;;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;2435:26:9;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;2546:344:9;;2637:13;;;2174:24914:8;;;;2546:344:9;;2174:24914:8;;;;2546:344:9;;2723:4;2174:24914:8;;2546:344:9;;;;2174:24914:8;;;;;2546:344:9;;;2174:24914:8;;;;;2546:344:9;;;;2174:24914:8;;;;;;;;;;;2905:38:9;;2174:24914:8;;;2905:38:9;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2905:13:9;:38;:13;;-1:-1:-1;;;;;2905:13:9;2174:24914:8;2905:38:9;;;;;;;2174:24914:8;-1:-1:-1;2901:248:9;;3021:128;3068:43;2174:24914:8;3021:128:9;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3068:43:9;;;3125:13;2901:248;;14912:13:8;14909:203;;2901:248:9;15126:84:8;2174:24914;;;15199:10;2174:24914;;15126:84;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;14909:203;14987:9;;;:::i;:::-;15046:10;-1:-1:-1;;;;;15046:10:8;2174:24914;15046:55;;;;;2174:24914;;;;;;;;;;;;;15046:55;;2723:4:9;2174:24914:8;15046:55;;2174:24914;15046:55;;;;;;;;14909:203;;;;;15046:55;;;;;:::i;:::-;2174:24914;;15046:55;;;;2901:248:9;;;;2905:38;;;;2174:24914:8;2905:38:9;;2174:24914:8;2905:38:9;;;;;;2174:24914:8;2905:38:9;;;:::i;:::-;;;2174:24914:8;;;;;2905:38:9;;;;;;;-1:-1:-1;2905:38:9;;2174:24914:8;-1:-1:-1;;;2174:24914:8;;;;;;;;;-1:-1:-1;;;2174:24914:8;;;;;;;;;;;;;;;9239:383:130;;;;;;7972:9;9132:15;2174:24914:8;9239:383:130;;;;;;;;;2174:24914:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2506:30:8;2174:24914;;;;;;;;;;;;;;;-1:-1:-1;;2174:24914:8;;;;-1:-1:-1;;;;;2174:24914:8;;:::i;:::-;12478:70:130;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;15992:29;;15988:71;;16069:10;;-1:-1:-1;;;;;16069:10:8;2174:24914;16069:46;;;;;;2174:24914;;16069:46;2174:24914;;;;;;;;;;;;16069:46;;2174:24914;16069:46;;2174:24914;;;;;;;16069:46;;;;;;;;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;15988:71;-1:-1:-1;;;16030:29:8;;2174:24914;16030:29;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:24914:8;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;2174:24914:8;6606:35;;;;;;;;;;:::i;:::-;;6655:8;6651:64;;6729:31;;;;3550:68:51;-1:-1:-1;;;;;;;;;;;3550:68:51;2174:24914:8;;6651:64;-1:-1:-1;;;6686:18:8;;2174:24914;6686:18;;2174:24914;-1:-1:-1;2174:24914:8;;-1:-1:-1;;2174:24914:8;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;2174:24914:8;1496:56:0;;;;;;2174:24914:8;;1496:56:0;2174:24914:8;;;;;;;;;1496:56:0;;2174:24914:8;1496:56:0;;2174:24914:8;1524:9:0;1496:56;;;;;;;;;2174:24914:8;;;1496:56:0;;;;2174:24914:8;1496:56:0;;:::i;:::-;2174:24914:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;;;-1:-1:-1;;2174:24914:8;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;2174:24914:8;;;;;-1:-1:-1;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;2174:24914:8;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2174:24914:8;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:24914:8;;;;;;:::o;16536:1072::-;;;;;;;2174:24914;17073:15;;;;;;:::i;:::-;2174:24914;;;:::i;:::-;17033:12;2174:24914;;;;17063:26;17117:15;2174:24914;17117:15;;;;;;:::i;2174:24914::-;17033:12;2174:24914;;;;17107:26;17208:23;;;;;;;:::i;:::-;490:2:68;976:38:0;;;372:2:68;976:38:0;;17073:15:8;2174:24914;16981:610;17033:12;16981:610;;823:61:68;;;-1:-1:-1;;;;;2174:24914:8;;;17033:12;;;2174:24914;17073:15;976:38:0;;2174:24914:8;17117:15;976:38:0;;2174:24914:8;17151:23;976:38:0;;2174:24914:8;17151:23;;;2174:24914;17308:25;976:38:0;;2174:24914:8;17351:14;976:38:0;;2174:24914:8;17308:25;;;2174:24914;17208:23;976:38:0;;2174:24914:8;17351:14;;2174:24914;976:38:0;;;2174:24914:8;17383:13;976:38:0;;;2174:24914:8;17422:4;976:38:0;;;2174:24914:8;;;976:38:0;;;;2174:24914:8;;976:38:0;;;;-1:-1:-1;;;;;2174:24914:8;976:38:0;;;2174:24914:8;976:38:0;;;2174:24914:8;;;976:38:0;;;2174:24914:8;976:38:0;16981:610:8;;;;;;:::i;:::-;2174:24914;16958:643;;16536:1072;:::o;2174:24914::-;;;;;;;;;;;;;;;;;;:::o;7292:355:130:-;-1:-1:-1;;7390:251:130;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:49;-1:-1:-1;;;;;;;;;;;3321:69:51;1413:93:49;;1624:4;-1:-1:-1;;;;;;;;;;;3550:68:51;1290:346:49:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:49;;-1:-1:-1;1465:30:49;3161:252:9;3220:11;;3217:23;;3230:1;2174:24914:8;;;3296:52:9;;;;;;;;;;;;;2174:24914:8;3296:52:9;;;;;;;:::i;:::-;3268:81;3276:13;;;3268:81;;;;:::i;:::-;;3363:8;3359:47;;3161:252;:::o;3359:47::-;3380:26;;;3230:1;3380:26;3296:52;2174:24914:8;3296:52:9;3230:1;3380:26;3217:23;3233:7;:::o;2174:24914:8:-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;25158:770;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;2174:24914:8;25326:25;2174:24914;;;-1:-1:-1;2174:24914:8;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;;;25380:39;25376:152;;-1:-1:-1;;;;;25619:60:8;2174:24914;;;;;25619:60;;:::i;:::-;25326:25;2174:24914;25716:72;-1:-1:-1;;;;;25728:22:8;2174:24914;;25752:35;25716:72;;:::i;:::-;2174:24914;;;;;;;;;;25868:39;;;;;;;;2174:24914;25868:39;-1:-1:-1;25868:39:8;;;25158:770;2174:24914;;;;;;;25844:77;2174:24914;25845:62;2174:24914;;;25845:62;;:::i;:::-;25844:77;:::i;:::-;25158:770;:::o;25868:39::-;;;;2174:24914;25868:39;2174:24914;25868:39;;;;;;;:::i;:::-;;;;25376:152;2174:24914;;;-1:-1:-1;25498:19:8;25326:25;-1:-1:-1;25498:19:8;26785:301;;-1:-1:-1;;;;;2174:24914:8;;26877:20;;;26873:62;;-1:-1:-1;;;;;2174:24914:8;13252:754:134;;;;;;;26895:1:8;13252:754:134;;26895:1:8;13252:754:134;;;;;;;;26895:1:8;13252:754:134;;;;;;26785:301:8;13252:754:134;26895:1:8;13252:754:134;;27020:59:8;13252:754:134;2174:24914:8;;27068:10;2174:24914;;27020:59;26785:301::o;13252:754:134:-;;;;;;;;;;;;;;;26895:1:8;13252:754:134;;;;26873:62:8;16030:29;;;26895:1;26906:29;;26895:1;26906:29;5930:135:0;-1:-1:-1;;;;;6021:10:0;2174:24914:8;5999:10:0;:33;2174:24914:8;;5930:135:0:o;2174:24914:8:-;;;-1:-1:-1;;;2174:24914:8;;;;;;;;;;;;;;;;;;;;19366:2958;;;2174:24914;;19671:23;;;;2174:24914;19671:23;;19366:2958;19671:23;:::i;:::-;374:38:6;;;;490:2:68;374:38:6;;;;490:2:68;374:38:6;;717:39;374:38;;2174:24914:8;;;;;;;976:38:0;2174:24914:8;976:38:0;;;2174:24914:8;976:38:0;;;;;;;2174:24914:8;833:1:6;19733:15:8;;19729:75;;19931:23;;;;:::i;:::-;490:2:68;976:38:0;;;434:2:68;976:38:0;875:44;19867:23:8;875:44:0;2174:24914:8;19867:23;;;2174:24914;;875:44:0;2174:24914:8;875:44:0;;;;2174:24914:8;20030:2;2174:24914;;875:44:0;2174:24914:8;;;875:44:0;;;;;20037:3:8;875:44:0;;2174:24914:8;;;20055:30;;;976:38:0;;;;1267:1:6;976:38:0;;;2174:24914:8;;;;1327:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:24914:8;;;;1393:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:24914:8;;;;1457:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;;;1527:2:6;976:38:0;;;2174:24914:8;976:38:0;;;;2174:24914:8;19671:23;2174:24914;976:38:0;;2174:24914:8;976:38:0;;;;;;2174:24914:8;:::i;:::-;;;1457:2:6;20589:22:8;;;:48;;;;20051:2267;20585:118;;;20733:255;2174:24914;;20843:86;2174:24914;;;;-1:-1:-1;;;;;833:1:6;2174:24914:8;;20843:86;;;:::i;:::-;1393:2:6;13414:265:131;;-1:-1:-1;13414:265:131;;976:38:0;13414:265:131;20733:255:8;;:::i;:::-;21085:9;21081:110;;21243:13;-1:-1:-1;;;21243:13:8;;;-1:-1:-1;;;;;21243:13:8;2174:24914;21243:13;;;:::i;:::-;2174:24914;;1457:2:6;2174:24914:8;21215:208;2174:24914;1393:2:6;21215:208:8;;2174:24914;;1457:2:6;875:44:0;;2174:24914:8;;875:44:0;;2174:24914:8;19867:23;875:44:0;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;21215:208:8;;;19671:23;21215:208;;:::i;:::-;21454:50;2174:24914;;;;875:44:0;2174:24914:8;;2589:104:64;20051:2267:8;19366:2958::o;21081:110::-;21126:49;;;;;;-1:-1:-1;;;2174:24914:8;833:1:6;21126:49:8;;2174:24914;;;;2643:3:64;2174:24914:8;;2589:104:64;;2174:24914:8;1457:2:6;2174:24914:8;;1393:2:6;2174:24914:8;;:::i;:::-;-1:-1:-1;2174:24914:8;;21114:62;;:::o;20585:118::-;20664:24;;;-1:-1:-1;20664:24:8;976:38:0;-1:-1:-1;20664:24:8;20589:48;20635:2;20615:22;;;;20589:48;;;20051:2267;2174:24914;;;;;833:1:6;2174:24914:8;;;;;;21563:33;21559:759;;20051:2267;;;;;;19366:2958::o;21559:759::-;976:38:0;;;;;;;;;1809:2:6;976:38:0;;;2174:24914:8;;;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;;21794:29:8;21790:96;;21938:13;;;:::i;:::-;2174:24914;;-1:-1:-1;2174:24914:8;22125:25;2174:24914;;-1:-1:-1;;;;;2174:24914:8;;-1:-1:-1;2174:24914:8;;;;;;;;;21910:312;2174:24914;;21910:312;;2174:24914;;;875:44:0;;2174:24914:8;875:44:0;;2174:24914:8;-1:-1:-1;19867:23:8;875:44:0;;2174:24914:8;;875:44:0;;2174:24914:8;875:44:0;;;2174:24914:8;875:44:0;21910:312:8;;;19671:23;21910:312;;:::i;:::-;22236:18;-1:-1:-1;21559:759:8;;;;;;;;21790:96;21850:21;;;-1:-1:-1;21850:21:8;;-1:-1:-1;21850:21:8;19729:75;19771:22;;;-1:-1:-1;19771:22:8;;-1:-1:-1;19771:22:8;2174:24914;;;;;;;;;;;;6145:1089:130;-1:-1:-1;;;;;6813:405:130;;;;;;-1:-1:-1;6813:405:130;;-1:-1:-1;;6813:405:130;6145:1089::o;2174:24914:8:-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;26362:417::-;;26517:24;-1:-1:-1;;;;;26362:417:8;26517:24;2174:24914;;;;;;;;;26517:24;;2174:24914;26517:24;;;;;;;-1:-1:-1;;;26517:24:8;;;26362:417;26555:11;-1:-1:-1;26555:11:8;;;26551:73;;26649:15;2174:24914;26649:15;;2174:24914;;;;26637:49;26633:107;;26362:417;:::o;26633:107::-;26709:20;;;-1:-1:-1;26709:20:8;26517:24;-1:-1:-1;26709:20:8;26551:73;26589:24;;;-1:-1:-1;26589:24:8;26517;-1:-1:-1;26589:24:8;26517;;;;;;;;;;;;;;;;;;;:::i;:::-;;;2174:24914;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;26517:24;;;;;;;;-1:-1:-1;26517:24:8;;1974:1926:135;;;2174:24914:8;;-1:-1:-1;;;;;2174:24914:8;;2136:20:135;2132:40;;2225:1669;;;;;;;;;;;;;;;;;;;;1974:1926;;;;:::o;2225:1669::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2225:1669:135;;;;;;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;2174:24914:8;2225:1669:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:40;-1:-1:-1;2174:24914:8;;-1:-1:-1;;;2158:14:135:o;7738:720:43:-;;-1:-1:-1;7875:421:43;7738:720;7875:421;;;;;;;;;;;;-1:-1:-1;7875:421:43;;8310:15;;2174:24914:8;-1:-1:-1;;;;;2174:24914:8;;8328:26:43;:31;8310:68;8306:146;;7738:720;:::o;8306:146::-;-1:-1:-1;;;;;8401:40:43;;;;-1:-1:-1;8401:40:43;2174:24914:8;8401:40:43;2174:24914:8;;-1:-1:-1;8401:40:43;8310:68;8377:1;8362:16;;8310:68;","linkReferences":{},"immutableReferences":{"17":[{"start":1713,"length":32},{"start":2093,"length":32},{"start":2271,"length":32},{"start":3116,"length":32},{"start":3284,"length":32},{"start":6300,"length":32},{"start":6684,"length":32},{"start":6997,"length":32},{"start":8633,"length":32}],"2303":[{"start":3726,"length":32}],"2305":[{"start":8297,"length":32}],"3671":[{"start":2611,"length":32},{"start":4500,"length":32},{"start":6083,"length":32}],"3674":[{"start":725,"length":32},{"start":5924,"length":32},{"start":8032,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","addToTokenDirectory(address,(address,uint32,uint256))":"e0d873f2","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","entryPoint()":"b0d691fe","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":"dab0f762","getPrice(address)":"41976e09","independentPriceExpiryDuration(address)":"889e1468","independentPriceMarkup(address)":"61dcc50f","independentTokenDirectory(address)":"50f6ab10","isTokenSupported(address)":"75151b63","nativeAssetToUsdOracle()":"a6e12780","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","postOp(uint8,bytes,uint256,uint256)":"7c627b21","removeFromTokenDirectory(address)":"6adf4742","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setNativeAssetToUsdOracle(address)":"e5a29e18","setPriceExpiryDurationForToken(address,uint256)":"4230aa9e","setPriceMarkupForToken(address,uint32)":"c87558cb","setSigner(address)":"6c19e783","setUnaccountedGas(uint256)":"73acf542","swapTokenAndDeposit(address,uint256,uint256)":"40663794","tokenToPools(address)":"bacb4b7c","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","uniswapRouter()":"735de9f7","unlockStake()":"bb9fe6bf","updateSwappableTokens(address[],uint24[])":"c23461a9","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawERC20Full(address,address)":"5deef2aa","withdrawEth(address,uint256)":"1b9a91a4","withdrawMultipleERC20(address[],address,uint256[])":"617d057a","withdrawMultipleERC20Full(address[],address)":"78b1da23","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878","wrappedNative()":"eb6d3a11"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetDecimalsArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IOracle\",\"name\":\"nativeAssetToUsdOracleArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetPriceExpiryDurationArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"wrappedNativeArg\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"independentTokensArg\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo[]\",\"name\":\"tokenInfosArg\",\"type\":\"tuple[]\"},{\"internalType\":\"address[]\",\"name\":\"swappableTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"swappableTokenPoolFeeTiers\",\"type\":\"uint24[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"FailedToChargeTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleDecimals\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPaymasterMode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceExpiryDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndAmountsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndInfoLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndPoolsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"UniswapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnwrappingReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"AddedToTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userOpSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasCostBeforePostOpAndPenalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCharge\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"PaidGasInTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RemovedFromTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"SwappableTokensAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SwappingReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensSwappedAndRefilledEntryPoint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedFeeCollector\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"oldValue\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"newValue\",\"type\":\"uint32\"}],\"name\":\"UpdatedFixedPriceMarkup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oldOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"UpdatedNativeAssetOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedPriceExpiryDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedUnaccountedGas\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedVerifyingSigner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"}],\"name\":\"addToTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"appliedPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceMarkup\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"independentTokenDirectory\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeAssetToUsdOracle\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"removeFromTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"setNativeAssetToUsdOracle\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newPriceExpiryDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceExpiryDurationForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newIndependentPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"setPriceMarkupForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newUnaccountedGas\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEthAmountRecevied\",\"type\":\"uint256\"}],\"name\":\"swapTokenAndDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPools\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapRouter\",\"outputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"poolFeeTiers\",\"type\":\"uint24[]\"}],\"name\":\"updateSwappableTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"}],\"name\":\"withdrawMultipleERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawMultipleERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"ShivaanshKlivingrockrises\",\"details\":\"A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund model to handle gas remittances. Currently, the paymaster supports two modes: 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner). 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode doesn't require a signature and is \\\"always available\\\" to use. The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments applied, and how to manage the assets received by the paymaster.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"details\":\"Set or update a TokenInfo entry in the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to add or update in directory\",\"tokenInfo\":\"The TokenInfo struct to add or update\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"constructor\":{\"details\":\"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink\\u2019s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \"},\"getPrice(address)\":{\"details\":\"Get the price of a token in USD\",\"params\":{\"tokenAddress\":\"The address of the token to get the price of\"},\"returns\":{\"_0\":\"price The price of the token in USD\"}},\"independentPriceExpiryDuration(address)\":{\"details\":\"Get the price expiry duration for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price expiry duration of\"},\"returns\":{\"_0\":\"priceExpiryDuration The price expiry duration for the token\"}},\"independentPriceMarkup(address)\":{\"details\":\"Get the price markup for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price markup of\"},\"returns\":{\"_0\":\"priceMarkup The price markup for the token\"}},\"isTokenSupported(address)\":{\"details\":\"Check if a token is supported\",\"params\":{\"tokenAddress\":\"The address of the token to check\"},\"returns\":{\"_0\":\"bool True if the token is supported, false otherwise\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"removeFromTokenDirectory(address)\":{\"details\":\"Remove a token from the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to remove from directory\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setNativeAssetToUsdOracle(address)\":{\"details\":\"Update the native oracle address\",\"params\":{\"oracle\":\"The new native asset oracle\"}},\"setPriceExpiryDurationForToken(address,uint256)\":{\"details\":\"Set a new price expiry duration.\",\"params\":{\"newPriceExpiryDuration\":\"The new value to be set as the price expiry duration\"}},\"setPriceMarkupForToken(address,uint32)\":{\"details\":\"Set a new priceMarkup value.\",\"params\":{\"newIndependentPriceMarkup\":\"The new value to be set as the price markup\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedEPGasOverhead value.\",\"params\":{\"newUnaccountedGas\":\"The new value to be set as the unaccounted gas value\"}},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"details\":\"Swap a token in the paymaster for ETH and deposit the amount received into the entry point\",\"params\":{\"minEthAmountRecevied\":\"The minimum amount of ETH amount recevied post-swap\",\"tokenAddress\":\"The token address of the token to swap\",\"tokenAmount\":\"The amount of the token to swap\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"updateSwappableTokens(address[],uint24[])\":{\"details\":\"Update or add a swappable token to the Uniswapper\",\"params\":{\"poolFeeTiers\":\"The pool fee tiers for the corresponding token address to use\",\"tokenAddresses\":\"The token address to add/update to/for uniswapper\"}},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawERC20Full(address,address)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawEth(address,uint256)\":{\"details\":\"Withdraw ETH from the paymaster\",\"params\":{\"amount\":\"The amount of ETH to withdraw\",\"recipient\":\"The address to send the ETH to\"}},\"withdrawMultipleERC20(address[],address,uint256[])\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amounts to withdraw\",\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawMultipleERC20Full(address[],address)\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"details\":\"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.\",\"params\":{\"amount\":\"The amount of gas tokens to withdraw.\",\"withdrawAddress\":\"The address to which the gas tokens should be transferred.\"}}},\"title\":\"BiconomyTokenPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"FailedToChargeTokens(address,address,uint256,bytes32)\":[{\"notice\":\"Throws when PM was not able to charge user\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InvalidOracleDecimals()\":[{\"notice\":\"Throws when oracle decimals aren't equal to 8\"}],\"InvalidPaymasterMode()\":[{\"notice\":\"Throws when invalid PaymasterMode specified in paymasterAndData\"}],\"InvalidPriceExpiryDuration()\":[{\"notice\":\"Throws when price expiry duration is in the past\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when external signer's signature has invalid length\"}],\"InvalidTokenAddress()\":[{\"notice\":\"Throws when token address to pay with is invalid\"}],\"OraclePriceExpired()\":[{\"notice\":\"Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\"}],\"OraclePriceNotPositive()\":[{\"notice\":\"Throws when oracle returns invalid price\"}],\"TokensAndAmountsLengthMismatch()\":[{\"notice\":\"Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\"}],\"TokensAndInfoLengthMismatch()\":[{\"notice\":\"Throws when each token doesnt have a corresponding oracle\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"notice\":\"only to be called by the owner of the contract.\"},\"deposit()\":{\"notice\":\"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"removeFromTokenDirectory(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setNativeAssetToUsdOracle(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceExpiryDurationForToken(address,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceMarkupForToken(address,uint32)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setSigner(address)\":{\"notice\":\"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"uniswapRouter()\":{\"notice\":\"The Uniswap V3 SwapRouter contract\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"updateSwappableTokens(address[],uint24[])\":{\"notice\":\"only to be called by the owner of the contract.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"wrappedNative()\":{\"notice\":\"The ERC-20 token that wraps the native asset for current chain\"}},\"notice\":\"Biconomy's Token Paymaster for Entry Point v0.7\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/BiconomyTokenPaymaster.sol\":\"BiconomyTokenPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomyTokenPaymasterErrors.sol\":{\"keccak256\":\"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7\",\"dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV\"]},\"contracts/interfaces/IBiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced\",\"dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR\"]},\"contracts/interfaces/oracles/IOracle.sol\":{\"keccak256\":\"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88\",\"dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e\"]},\"contracts/libraries/TokenPaymasterParserLib.sol\":{\"keccak256\":\"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1\",\"dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG\"]},\"contracts/token/BiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x52de889207b391f23e0f466792a833cf879109f4f8786531e7a9818431654b28\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33fda6795ccf79f304633918a0172ccfc947cc4e60a56a8a9beed80348f36c3b\",\"dweb:/ipfs/QmQMC118WgnHTpbznhdD2iytT4RyMMpbZGwU2yQ9rfJruM\"]},\"contracts/token/swaps/Uniswapper.sol\":{\"keccak256\":\"0xf3f815b7d93b672cae86c86d41fbb4af7127feda8981b079f043f108e10b5726\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://0b9347f9f363269067a9f66c073f9c68d36975ae5e6e9281ce8678052370c778\",\"dweb:/ipfs/QmZaL9HubmctEpFHrpTfDumThdQ9xbckHAUyXHFczJzu8v\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\":{\"keccak256\":\"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9\",\"dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo\"]},\"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPoint","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"nativeAssetDecimalsArg","type":"uint256"},{"internalType":"contract IOracle","name":"nativeAssetToUsdOracleArg","type":"address"},{"internalType":"uint256","name":"nativeAssetPriceExpiryDurationArg","type":"uint256"},{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"},{"internalType":"address","name":"wrappedNativeArg","type":"address"},{"internalType":"address[]","name":"independentTokensArg","type":"address[]"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","name":"tokenInfosArg","type":"tuple[]","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"internalType":"address[]","name":"swappableTokens","type":"address[]"},{"internalType":"uint24[]","name":"swappableTokenPoolFeeTiers","type":"uint24[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"}],"type":"error","name":"FailedToChargeTokens"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InvalidOracleDecimals"},{"inputs":[],"type":"error","name":"InvalidPaymasterMode"},{"inputs":[],"type":"error","name":"InvalidPriceExpiryDuration"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"InvalidTokenAddress"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"OraclePriceExpired"},{"inputs":[],"type":"error","name":"OraclePriceNotPositive"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"type":"error","name":"SafeERC20FailedOperation"},{"inputs":[],"type":"error","name":"TokenNotSupported"},{"inputs":[],"type":"error","name":"TokensAndAmountsLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndInfoLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndPoolsLengthMismatch"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"type":"error","name":"UniswapReverted"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"UnwrappingReverted"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"contract IOracle","name":"oracle","type":"address","indexed":true},{"internalType":"uint8","name":"decimals","type":"uint8","indexed":false}],"type":"event","name":"AddedToTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"userOpSender","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false},{"internalType":"uint256","name":"tokenCharge","type":"uint256","indexed":false},{"internalType":"uint32","name":"priceMarkup","type":"uint32","indexed":false},{"internalType":"uint256","name":"tokenPrice","type":"uint256","indexed":false},{"internalType":"bytes32","name":"userOpHash","type":"bytes32","indexed":false}],"type":"event","name":"PaidGasInTokens","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true}],"type":"event","name":"RemovedFromTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]","indexed":true}],"type":"event","name":"SwappableTokensAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address","indexed":false},{"internalType":"uint256","name":"amountIn","type":"uint256","indexed":false},{"internalType":"bytes","name":"reason","type":"bytes","indexed":false}],"type":"event","name":"SwappingReverted","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"uint256","name":"tokenAmount","type":"uint256","indexed":true},{"internalType":"uint256","name":"amountOut","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensSwappedAndRefilledEntryPoint","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedFeeCollector","anonymous":false},{"inputs":[{"internalType":"uint32","name":"oldValue","type":"uint32","indexed":true},{"internalType":"uint32","name":"newValue","type":"uint32","indexed":true}],"type":"event","name":"UpdatedFixedPriceMarkup","anonymous":false},{"inputs":[{"internalType":"contract IOracle","name":"oldOracle","type":"address","indexed":true},{"internalType":"contract IOracle","name":"newOracle","type":"address","indexed":true}],"type":"event","name":"UpdatedNativeAssetOracle","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedPriceExpiryDuration","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedUnaccountedGas","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedVerifyingSigner","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo","name":"tokenInfo","type":"tuple","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]}],"stateMutability":"payable","type":"function","name":"addToTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"uint32","name":"appliedPriceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceExpiryDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceMarkup","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"independentTokenDirectory","outputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"nativeAssetToUsdOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"payable","type":"function","name":"removeFromTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"}],"stateMutability":"payable","type":"function","name":"setNativeAssetToUsdOracle"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"newPriceExpiryDuration","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setPriceExpiryDurationForToken"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint32","name":"newIndependentPriceMarkup","type":"uint32"}],"stateMutability":"payable","type":"function","name":"setPriceMarkupForToken"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"uint256","name":"newUnaccountedGas","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"minEthAmountRecevied","type":"uint256"}],"stateMutability":"payable","type":"function","name":"swapTokenAndDeposit"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"tokenToPools","outputs":[{"internalType":"uint24","name":"","type":"uint24"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"uniswapRouter","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"uint24[]","name":"poolFeeTiers","type":"uint24[]"}],"stateMutability":"payable","type":"function","name":"updateSwappableTokens"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawERC20Full"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20Full"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"view","type":"function","name":"wrappedNative","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"addToTokenDirectory(address,(address,uint32,uint256))":{"details":"Set or update a TokenInfo entry in the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to add or update in directory","tokenInfo":"The TokenInfo struct to add or update"}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"constructor":{"details":"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model "},"getPrice(address)":{"details":"Get the price of a token in USD","params":{"tokenAddress":"The address of the token to get the price of"},"returns":{"_0":"price The price of the token in USD"}},"independentPriceExpiryDuration(address)":{"details":"Get the price expiry duration for a token","params":{"tokenAddress":"The address of the token to get the price expiry duration of"},"returns":{"_0":"priceExpiryDuration The price expiry duration for the token"}},"independentPriceMarkup(address)":{"details":"Get the price markup for a token","params":{"tokenAddress":"The address of the token to get the price markup of"},"returns":{"_0":"priceMarkup The price markup for the token"}},"isTokenSupported(address)":{"details":"Check if a token is supported","params":{"tokenAddress":"The address of the token to check"},"returns":{"_0":"bool True if the token is supported, false otherwise"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"removeFromTokenDirectory(address)":{"details":"Remove a token from the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to remove from directory"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setNativeAssetToUsdOracle(address)":{"details":"Update the native oracle address","params":{"oracle":"The new native asset oracle"}},"setPriceExpiryDurationForToken(address,uint256)":{"details":"Set a new price expiry duration.","params":{"newPriceExpiryDuration":"The new value to be set as the price expiry duration"}},"setPriceMarkupForToken(address,uint32)":{"details":"Set a new priceMarkup value.","params":{"newIndependentPriceMarkup":"The new value to be set as the price markup"}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedEPGasOverhead value.","params":{"newUnaccountedGas":"The new value to be set as the unaccounted gas value"}},"swapTokenAndDeposit(address,uint256,uint256)":{"details":"Swap a token in the paymaster for ETH and deposit the amount received into the entry point","params":{"minEthAmountRecevied":"The minimum amount of ETH amount recevied post-swap","tokenAddress":"The token address of the token to swap","tokenAmount":"The amount of the token to swap"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"updateSwappableTokens(address[],uint24[])":{"details":"Update or add a swappable token to the Uniswapper","params":{"poolFeeTiers":"The pool fee tiers for the corresponding token address to use","tokenAddresses":"The token address to add/update to/for uniswapper"}},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawERC20Full(address,address)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the token deposit to withdraw"}},"withdrawEth(address,uint256)":{"details":"Withdraw ETH from the paymaster","params":{"amount":"The amount of ETH to withdraw","recipient":"The address to send the ETH to"}},"withdrawMultipleERC20(address[],address,uint256[])":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amounts to withdraw","target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawMultipleERC20Full(address[],address)":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"details":"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.","params":{"amount":"The amount of gas tokens to withdraw.","withdrawAddress":"The address to which the gas tokens should be transferred."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"addToTokenDirectory(address,(address,uint32,uint256))":{"notice":"only to be called by the owner of the contract."},"deposit()":{"notice":"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"removeFromTokenDirectory(address)":{"notice":"only to be called by the owner of the contract."},"setNativeAssetToUsdOracle(address)":{"notice":"only to be called by the owner of the contract."},"setPriceExpiryDurationForToken(address,uint256)":{"notice":"only to be called by the owner of the contract."},"setPriceMarkupForToken(address,uint32)":{"notice":"only to be called by the owner of the contract."},"setSigner(address)":{"notice":"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"swapTokenAndDeposit(address,uint256,uint256)":{"notice":"only to be called by the owner of the contract."},"uniswapRouter()":{"notice":"The Uniswap V3 SwapRouter contract"},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"updateSwappableTokens(address[],uint24[])":{"notice":"only to be called by the owner of the contract."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"wrappedNative()":{"notice":"The ERC-20 token that wraps the native asset for current chain"}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/token/BiconomyTokenPaymaster.sol":"BiconomyTokenPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"keccak256":"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116","urls":["bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7","dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"keccak256":"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8","urls":["bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced","dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR"],"license":"GPL-3.0"},"contracts/interfaces/oracles/IOracle.sol":{"keccak256":"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b","urls":["bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88","dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e"],"license":"MIT"},"contracts/libraries/TokenPaymasterParserLib.sol":{"keccak256":"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf","urls":["bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1","dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG"],"license":"GPL-3.0"},"contracts/token/BiconomyTokenPaymaster.sol":{"keccak256":"0x52de889207b391f23e0f466792a833cf879109f4f8786531e7a9818431654b28","urls":["bzz-raw://33fda6795ccf79f304633918a0172ccfc947cc4e60a56a8a9beed80348f36c3b","dweb:/ipfs/QmQMC118WgnHTpbznhdD2iytT4RyMMpbZGwU2yQ9rfJruM"],"license":"GPL-3.0"},"contracts/token/swaps/Uniswapper.sol":{"keccak256":"0xf3f815b7d93b672cae86c86d41fbb4af7127feda8981b079f043f108e10b5726","urls":["bzz-raw://0b9347f9f363269067a9f66c073f9c68d36975ae5e6e9281ce8678052370c778","dweb:/ipfs/QmZaL9HubmctEpFHrpTfDumThdQ9xbckHAUyXHFczJzu8v"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310","urls":["bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862","dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"keccak256":"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c","urls":["bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9","dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"keccak256":"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69","urls":["bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652","dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"keccak256":"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274","urls":["bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407","dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp"],"license":"GPL-2.0-or-later"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":8} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"entryPoint","type":"address","internalType":"contract IEntryPoint"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetDecimalsArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetToUsdOracleArg","type":"address","internalType":"contract IOracle"},{"name":"nativeAssetPriceExpiryDurationArg","type":"uint256","internalType":"uint256"},{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"},{"name":"wrappedNativeArg","type":"address","internalType":"address"},{"name":"independentTokensArg","type":"address[]","internalType":"address[]"},{"name":"tokenInfosArg","type":"tuple[]","internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]},{"name":"swappableTokens","type":"address[]","internalType":"address[]"},{"name":"swappableTokenPoolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"addToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenInfo","type":"tuple","internalType":"struct IBiconomyTokenPaymaster.TokenInfo","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenPrice","type":"uint256","internalType":"uint256"},{"name":"appliedPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceExpiryDuration","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceMarkup","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"independentTokenDirectory","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isTokenSupported","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"nativeAssetToUsdOracle","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOracle"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setNativeAssetToUsdOracle","inputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceExpiryDurationForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newPriceExpiryDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceMarkupForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newIndependentPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"newUnaccountedGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUniswapRouter","inputs":[{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"swapTokenAndDeposit","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenAmount","type":"uint256","internalType":"uint256"},{"name":"minEthAmountRecevied","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"tokenToPools","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"uniswapRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IV3SwapRouter"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateSwappableTokens","inputs":[{"name":"tokenAddresses","type":"address[]","internalType":"address[]"},{"name":"poolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawERC20Full","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20Full","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"wrappedNative","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"AddedToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"oracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"PaidGasInTokens","inputs":[{"name":"userOpSender","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenCharge","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"priceMarkup","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"tokenPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"userOpHash","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"RemovedFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SwappableTokensAdded","inputs":[{"name":"tokenAddresses","type":"address[]","indexed":true,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"SwappingReverted","inputs":[{"name":"tokenIn","type":"address","indexed":false,"internalType":"address"},{"name":"amountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"reason","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"TokensSwappedAndRefilledEntryPoint","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"tokenAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amountOut","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFeeCollector","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFixedPriceMarkup","inputs":[{"name":"oldValue","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"newValue","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"UpdatedNativeAssetOracle","inputs":[{"name":"oldOracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"newOracle","type":"address","indexed":true,"internalType":"contract IOracle"}],"anonymous":false},{"type":"event","name":"UpdatedPriceExpiryDuration","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedUnaccountedGas","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedVerifyingSigner","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"FailedToChargeTokens","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidPaymasterMode","inputs":[]},{"type":"error","name":"InvalidPriceExpiryDuration","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidTokenAddress","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"OraclePriceExpired","inputs":[]},{"type":"error","name":"OraclePriceNotPositive","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TokenNotSupported","inputs":[]},{"type":"error","name":"TokensAndAmountsLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndInfoLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndPoolsLengthMismatch","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UniswapReverted","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"UnwrappingReverted","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x6101006040523461018757613156803803809161001b8261019f565b610100396101a0816101000191126101875761003561021a565b61004061012061022a565b61004b61014061022a565b610160516101805161005e6101a061022a565b6101c05161006d6101e061022a565b9161007961020061022a565b610220519094906001600160401b038111610187578a61009c916101000161024c565b610240519096906001600160401b038111610187578b6100bf91610100016102b3565b610260519098906001600160401b038111610187578c6100e2916101000161024c565b61028051909a906001600160401b0381116101875761010e9d6101089161010001610358565b9b61040e565b60405161285b90816108fb82396080518181816106b10152818161082d015281816108df01528181610c5c01528181610d04015281816118b001528181611a3001528181611b6901526121cc015260a0518181816102e00152818161172e0152611f74015260c05181610ebe015260e0518161207c0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b610100601f91909101601f19168101906001600160401b038211908210176101c657604052565b61018b565b606081019081106001600160401b038211176101c657604052565b601f909101601f19168101906001600160401b038211908210176101c657604052565b6001600160a01b0381160361018757565b610100519061022882610209565b565b519061022882610209565b6001600160401b0381116101c65760051b60200190565b9080601f8301121561018757815161026381610235565b9261027160405194856101e6565b81845260208085019260051b82010192831161018757602001905b8282106102995750505090565b6020809183516102a881610209565b81520191019061028c565b81601f82011215610187578051906102ca82610235565b926102d860405194856101e6565b8284526020606081860194028301019181831161018757602001925b828410610302575050505090565b6060848303126101875760405190610319826101cb565b845161032481610209565b825260208501519063ffffffff821682036101875782602092836060950152604087015160408201528152019301926102f4565b9080601f830112156101875781519061037082610235565b9261037e60405194856101e6565b82845260208085019360051b82010191821161018757602001915b8183106103a65750505090565b825162ffffff8116810361018757815260209283019201610399565b90816020910312610187575160ff811681036101875790565b6040513d5f823e3d90fd5b80518210156103fa5760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b92989c9b9193959697610424959a9b91986105de565b60c05260e052803b6105b7576001600160a01b038116156105a85762030d40821161059957855184510361058a5760405163313ce56760e01b81526020816004816001600160a01b0388165afa9081156105855760089160ff915f91610556575b501603610547576002556003556004555f5b835181101561054157806104b66104b0600193856103e6565b51610831565b61053b6104c382856103e6565b516104fa6104e16104d4858a6103e6565b516001600160a01b031690565b6001600160a01b03165f90815260056020526040902090565b81518154602084015163ffffffff60a01b60a09190911b166001600160a01b039092166001600160c01b031990911617178155604090910151600190910155565b01610497565b50509050565b631c5f5f5d60e11b5f5260045ffd5b610578915060203d60201161057e575b61057081836101e6565b8101906103c2565b5f610485565b503d610566565b6103db565b631b90532360e21b5f5260045ffd5b63313db2a560e11b5f5260045ffd5b6381618de160e01b5f5260045ffd5b63edc30c2760e01b5f5260045ffd5b90816020910312610187575180151581036101875790565b9193946105ed9193969561073b565b825185510361072c57600180546001600160a01b0319166001600160a01b0390921691909117905560a0525f5b81518110156105415780602061069161064961063d61063d6104d45f97896103e6565b6001600160a01b031690565b60015461065e906001600160a01b031661063d565b60405163095ea7b360e01b81526001600160a01b0390911660048201525f19602482015294859283919082906044820190565b03925af191821561058557600192610700575b506106fa6106be6106b583886103e6565b5162ffffff1690565b6106e76106ce6104d485886103e6565b6001600160a01b03165f90815260208190526040902090565b9062ffffff1662ffffff19825416179055565b0161061a565b6107209060203d8111610725575b61071881836101e6565b8101906105c6565b6106a4565b503d61070e565b63552a04c960e01b5f5260045ffd5b8060601b15610824576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b60048201526020816024816001600160a01b0386165afa908115610585575f91610805575b50156107c057608052565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b61081e915060203d6020116107255761071881836101e6565b5f6107b5565b637448fbae5f526004601cfd5b805160049060209061084b906001600160a01b031661063d565b60405163313ce56760e01b815292839182905afa9081156105855760089160ff915f916108db575b5016036105475763ffffffff610890602083015163ffffffff1690565b16621e848081119081156108ce575b506108bf576040015142106108b057565b6347b4803b60e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b620f42409150105f61089f565b6108f4915060203d60201161057e5761057081836101e6565b5f61087356fe6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:8:-:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;:::o;:::-;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2174:25049:8;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;2870:7;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;2870:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;;2870:7;;;;;;;;3639:2172;;;;;;;;;;;;;;;;;:::i;:::-;4543:47;;4600:71;;6221:74:0;;4682:102:8;;-1:-1:-1;;;;;2174:25049:8;;4797:32;4793:99;;2870:7;4905:42;;4901:103;;2870:7;;;;5018:51;5014:118;;2174:25049;;-1:-1:-1;;;5145:36:8;;;2174:25049;5145:36;2174:25049;-1:-1:-1;;;;;2174:25049:8;;5145:36;;;;;;;5185:1;5145:36;2870:7;5145:36;4827:1;5145:36;;;3639:2172;2870:7;;5145:41;5141:179;;5361:231;;;;5145:36;5361:231;4827:1;5655:3;2870:7;;5622:31;;;;;5693:16;;;2870:7;5693:16;;;:::i;:::-;;;:::i;:::-;2870:7;5777:16;;;;:::i;:::-;;5724:50;5750:23;;;;;:::i;:::-;2870:7;-1:-1:-1;;;;;2174:25049:8;;2870:7;5750:23;-1:-1:-1;;;;;2174:25049:8;2870:7;;;;5724:25;2870:7;;;;;;;5724:50;2870:7;;;;;;;;-1:-1:-1;;;2174:25049:8;2870:7;;;;;-1:-1:-1;;;;;2174:25049:8;;;-1:-1:-1;;;;;;2870:7:8;;;;;;;;;;;;-1:-1:-1;2870:7:8;;;;;;;5607:13;;5622:31;;;;;3639:2172::o;5141:179::-;5286:23;;;4827:1;5286:23;5145:36;4827:1;5286:23;5145:36;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;5014:118::-;5092:29;;;4827:1;5092:29;;4827:1;5092:29;4901:103;4970:23;;;4827:1;4970:23;;4827:1;4970:23;4793:99;4852:29;;;4827:1;4852:29;;4827:1;4852:29;4682:102;4740:33;;;;;;;;2174:25049;;;;;;;;;;;;;;;;;;:::o;1264:723:9:-;;;;377:1683:48;1264:723:9;;;;377:1683:48;:::i;:::-;2870:7:8;;;;1446:41:9;1442:109;;2174:25049:8;2870:7;;-1:-1:-1;;;;;;2870:7:8;-1:-1:-1;;;;;2174:25049:8;;;2870:7;;;;;;1660:32:9;;-1:-1:-1;1742:3:9;2870:7:8;;1723:17:9;;;;;1768:9;1761:68;;:25;:17;1768:9;;-1:-1:-1;1768:9:9;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;;1761:25:9;1618:32;2174:25049:8;1787:22:9;;-1:-1:-1;;;;;2174:25049:8;;;1787:22:9;2174:25049:8;;-1:-1:-1;;;1761:68:9;;-1:-1:-1;;;;;2174:25049:8;;;1761:68:9;;;2174:25049:8;-1:-1:-1;;2174:25049:8;;;;;;;;;2870:7;2174:25049;;;;;;;1761:68:9;;;;;;;;;;1618:32;1761:68;;;1742:3;1894:20;1868:46;1894:20;;;;;:::i;:::-;2174:25049:8;;;;;1894:20:9;1868:23;1881:9;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;1720:1:9;2870:7:8;;;;;;;;;;;;1868:23:9;2174:25049:8;;;;;;;;;;;;1868:46:9;2870:7:8;1708:13:9;;1761:68;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;1442:109;1510:30;;;-1:-1:-1;1510:30:9;;-1:-1:-1;1510:30:9;1021:171:0;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:129;-1:-1:-1;;5710:347:129;;;-1:-1:-1;5710:347:129;-1:-1:-1;;5710:347:129;2174:25049:8;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;2174:25049:8;;;3843:80:0;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;3843:80:0;;;;;;;-1:-1:-1;3843:80:0;;;1021:171;2174:25049:8;;;;1159:26:0;;1021:171::o;2174:25049:8:-;;;-1:-1:-1;;;2174:25049:8;;;3843:80:0;2174:25049:8;;;;3843:80:0;2174:25049:8;;;;;;;;;;;3843:80:0;;;;2174:25049:8;3843:80:0;2174:25049:8;3843:80:0;;;;;;;:::i;:::-;;;;198:181:10;;;;;;;24713:455:8;2870:7;;24797:27;;;;:25;;-1:-1:-1;;;;;2174:25049:8;2870:7;2174:25049;24797:25;2174:25049;;-1:-1:-1;;;24797:27:8;;2174:25049;;;;;24797:27;;;;;;;24828:1;24797:27;2870:7;24797:27;:16;:27;;;24713:455;2870:7;;24797:32;24793:93;;2174:25049;2870:7;24797:27;24899:21;;2870:7;2174:25049;;;;2870:7;2174:25049;3075:3;24899:41;;:87;;;;;24713:455;24895:145;;;2174:25049;25071:29;2870:7;25053:15;:47;25049:113;;24713:455::o;25049:113::-;25123:28;;;24797:16;25123:28;24797:27;:16;25123:28;24895:145;25009:20;;;24797:16;25009:20;24797:27;:16;25009:20;24899:87;2962:3;24944:42;;;24899:87;;;24797:27;;;;;;;;;;;;;;:::i;:::-;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:8:-:0;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;11885:237:129;;;;;2174:25049:8;11885:237:129;;;;2174:25049:8;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;2174:25049:8;;8479:183:129;;;;2174:25049:8;8479:183:129;;2174:25049:8;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;10506:526;;;;;;2174:25049:8;10506:526:129;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;2174:25049:8;10506:526:129;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;845:38:9;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;11937:17:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;11937:17;;;;;;;11958:1;11937:17;2174:25049;11937:17;;;;;2174:25049;;;11937:22;11933:140;;-1:-1:-1;;;;;2174:25049:8;;;12151:92;2174:25049;12151:92;12258:59;;;;2174:25049;;11933:140;-1:-1:-1;;;12039:23:8;;2174:25049;24852:23;12039;11937:17;;;;2174:25049;11937:17;2174:25049;11937:17;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2174:25049;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;24797:27;;;;;;;;;24828:1;24797:27;2174:25049;24797:27;;;;;2174:25049;;;24797:32;24793:93;;2174:25049;;;;3075:3;24899:41;;:87;;;;;2174:25049;24895:145;;;2174:25049;;25053:15;:47;25049:113;;-1:-1:-1;;;;;2174:25049:8;;;;;;;12788:25;2174:25049;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;2962:3;-1:-1:-1;;;;;;;2962:3:8;;;;;;;;;;;;2174:25049;;;;;;;-1:-1:-1;;;12909:39:8;;2174:25049;;;;12909:39;;;;;;;;12855:94;12909:39;2174:25049;12909:39;;;;;2174:25049;;;;;;;;;12855:94;2174:25049;;12909:39;;;;;;;;;;;;;;:::i;:::-;;;;25049:113;-1:-1:-1;;;25123:28:8;;2174:25049;11346:28;25123;24895:145;-1:-1:-1;;;25009:20:8;;2174:25049;10629:20;25009;24899:87;2962:3;24944:42;;;24899:87;;;24793:93;-1:-1:-1;;;24852:23:8;;2174:25049;24852:23;;24797:27;;;;2174:25049;24797:27;2174:25049;24797:27;;;;;;;:::i;:::-;;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1181:103:48;;:::i;:::-;15500:10:8;-1:-1:-1;;;;;15500:10:8;2174:25049;15500:55;;;;;2174:25049;15500:55;2174:25049;;;;;;;;;;15500:55;;15549:4;2174:25049;15500:55;;2174:25049;15529:9;15500:55;;;;;;;;;2174:25049;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;15500:55;;;;;:::i;:::-;2174:25049;;15500:55;;;;;2174:25049;;;;;;;;;15500:55;2174:25049;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;;;;;;;;;;12478:70:129;;:::i;:::-;3075:3:8;10465:45;;:95;;;;2174:25049;10461:199;;-1:-1:-1;;;;;2174:25049:8;;;;10704:25;2174:25049;;;;;;;;;;;;;;;;;2962:3;;-1:-1:-1;;;;2962:3:8;2174:25049;2962:3;;;-1:-1:-1;;;2962:3:8;;;;2174:25049;;;;10859:77;;;;2174:25049;;10461:199;-1:-1:-1;;;10629:20:8;;2174:25049;10629:20;;10465:95;10514:46;2962:3;10514:46;;10465:95;;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;2174:25049:8;3569:35:0;;2174:25049:8;;;;3569:35:0;2174:25049:8;3569:10:0;-1:-1:-1;;;;;2174:25049:8;3569:35:0;;;;;;;;;;2174:25049:8;;;;;;;;;3569:35:0;;2174:25049:8;3569:35:0;;2174:25049:8;3569:35:0;;;;;;2174:25049:8;3569:35:0;;;:::i;:::-;;;2174:25049:8;;;;;;;3569:35:0;;2174:25049:8;-1:-1:-1;2174:25049:8;;3569:35:0;;;-1:-1:-1;3569:35:0;;;2174:25049:8;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;2174:25049:8;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;2174:25049:8;;;;;;;;;;;;;2107:41:0;;2174:25049:8;;2107:41:0;;2174:25049:8;2107:41:0;;;;;;;;2174:25049:8;;2107:41:0;;;;;:::i;:::-;2174:25049:8;;2107:41:0;2174:25049:8;2107:41:0;2174:25049:8;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:129;;;;;:::i;:::-;2174:25049:8;;;;13882:44;13878:112;;14005:13;14047:3;2174:25049;;14020:25;;;;;14080:17;-1:-1:-1;;;;;14080:17:8;2174:25049;14080:17;;;:::i;:::-;2174:25049;;;14099:15;;;;:::i;:::-;2174:25049;;;-1:-1:-1;;;;;2174:25049:8;;;;;;4567:47:42;;;;2174:25049:8;;;4567:47:42;;;2174:25049:8;4567:47:42;;2174:25049:8;2132:17:9;;4567:47:42;2174:25049:8;;;4567:47:42;;;;;;;:::i;:::-;9138:199;;;;;;;;;;9353:80;;;14047:3:8;4629:45:42;;;4625:201;;14047:3:8;2174:25049;;;;;;;;;;;;;;;;;;;;14005:13;;4625:201:42;4717:43;4802:12;2174:25049:8;;;;;;;;4717:43:42;;;2174:25049:8;4717:43:42;;2174:25049:8;;4567:47:42;2174:25049:8;;;4567:47:42;4717:43;;;4567:47;4717:43;;:::i;:::-;;;:::i;:::-;4802:12;;:::i;:::-;4625:201;;;;9353:80;9365:67;;-1:-1:-1;9365:15:42;;9383:26;;;:30;;9365:67;9353:80;;;;9365:67;9416:16;;9365:67;;14020:25:8;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;14140:36;;;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;13878:112;-1:-1:-1;;;13949:30:8;;2174:25049;13949:30;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;12478:70:129;;:::i;:::-;-1:-1:-1;;3536:32:9;2174:25049:8;;;3536:32:9;2174:25049:8;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;2174:25049:8;1770:24:0;;;;;2174:25049:8;;;;;;;;;;;;;1770:24:0;;;;;;;;;;2174:25049:8;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;2174:25049:8;;;;;;;;;;;;;;;;;;2600:29;2174:25049;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;6813:405:129;;11523:61;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;19120:59;2174:25049;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;19120:25;2174:25049;;;19120:59;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2192:298:0;;;:::i;:::-;2174:25049:8;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;23033:290;;23515:15;23512:250;;2174:25049;;24151:109;2174:25049;24166:71;24182:55;24151:122;2174:25049;24184:27;2174:25049;;;;;;;;24184:27;:::i;:::-;24182:55;:::i;:::-;24166:71;;:::i;24151:122::-;24285:22;:43;2174:25049;;;;;;;;;;;;;;;24151:178;;;;:::i;:::-;24344:91;2174:25049;10384:740:133;;;2174:25049:8;10384:740:133;24416:4:8;2174:25049;10384:740:133;;;;2174:25049:8;10384:740:133;;;;;;;2174:25049:8;10384:740:133;2174:25049:8;10384:740:133;;;;;;2174:25049:8;10384:740:133;;;;;;;2174:25049:8;10384:740:133;2174:25049:8;10384:740:133;;2174:25049:8;10384:740:133;24340:353:8;24344:91;;;2174:25049;;;;;24456:115;2174:25049;;;;;;;;;;;;;;;;;;;;;;;24456:115;2174:25049;;24340:353;24609:73;2174:25049;24609:73;;;;;;;;2174:25049;24609:73;;2174:25049;;;;;;;;;;;;;24609:73;10384:740:133;;;;;;;;;2174:25049:8;-1:-1:-1;;;2174:25049:8;;;;;;;;23512:250;23559:23;;;;;:::i;:::-;23676:15;;23512:250;23673:79;-1:-1:-1;;;23718:19:8;;2174:25049;;23718:19;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;8365:9:8;8376:16;;;;;;3550:68:50;;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;8365:9;8430:8;2174:25049;-1:-1:-1;;;;;8430:8:8;;2174:25049;8430:8;;;;:::i;:::-;;:::i;:::-;2174:25049;;;;;;;;;;8430:33;;8457:4;2174:25049;8430:33;;2174:25049;8430:33;;;;;;;;;;;8365:9;8496:8;8514:6;2174:25049;8496:8;;;;;;;;:::i;:::-;8514:6;:::i;:::-;2174:25049;8365:9;;8430:33;;;2174:25049;8430:33;;;;;;;;;2174:25049;8430:33;;;:::i;:::-;;;2174:25049;;;;;;;8514:6;8430:33;;;;;-1:-1:-1;8430:33:8;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::i;:::-;;;;18334:25;2174:25049;;;;;18334:69;;2174:25049;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;12478:70:129;;:::i;:::-;2870:7:8;9791:42;;9787:103;;9927:14;2174:25049;9951:95;9927:14;9951:95;10060:59;;;;2174:25049;;9787:103;-1:-1:-1;;;9856:23:8;;2174:25049;9856:23;;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;;;;1055:34:9;2174:25049:8;;;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;6813:405;;;;;;;;;;;;2174:25049:8;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;6221:74:0;;9049:77:8;;-1:-1:-1;;;;;2174:25049:8;;9140:32;;9136:99;;-1:-1:-1;;;;;9264:15:8;2174:25049;;9289:97;9264:15;9289:97;9454:10;9400:65;;;;;2174:25049;;9136:99;-1:-1:-1;;;9195:29:8;;2174:25049;9195:29;;9049:77;-1:-1:-1;;;9093:33:8;;2174:25049;9093:33;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;12478:70:129;;:::i;:::-;2174:25049:8;;;;13282:25;2174:25049;;;;;;;;;;;;13336:39;;;;2174:25049;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;18714:25;2174:25049;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;12478:70:129;;;;:::i;:::-;1181:103:48;;:::i;:::-;7659:29:8;;;7655:99;;7792:9;7803:16;;;;;;3550:68:50;;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;7792:9;7855:8;7873:9;7855:8;;2174:25049;7855:8;;;;:::i;:::-;7873:9;;;;;;:::i;:::-;2174:25049;7873:9;;:::i;:::-;2174:25049;7792:9;;7655:99;-1:-1:-1;;;7711:32:8;;2174:25049;7711:32;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;:::i;:::-;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;7098:30:8;;7122:4;2174:25049;7098:30;;2174:25049;;;;;;-1:-1:-1;;;;;2174:25049:8;;7098:30;;;;;;;;;;;2174:25049;7168:6;;;;:::i;:::-;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;7098:30;;;2174:25049;7098:30;;2174:25049;7098:30;;;;;;2174:25049;7098:30;;;:::i;:::-;;;2174:25049;;;;7168:6;2174:25049;;7098:30;;;;;;-1:-1:-1;7098:30:8;;2174:25049;;;;;;;;;;9831:339:129;;;;;;;;;;;;;;;;2174:25049:8;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;19501:2958;2737:22:0;;;:::i;:::-;2174:25049:8;;;;;19501:2958;:::i;:::-;2174:25049;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;2705:62;2174:25049;;;2705:62;2174:25049;;2705:62;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;6288:6;2174:25049;;:::i;:::-;;;:::i;:::-;12478:70:129;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;;6288:6;;:::i;2174:25049::-;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;12478:70:129;;;:::i;:::-;11297:15:8;;:40;11294:80;;-1:-1:-1;;;;;2174:25049:8;;;;11417:25;2174:25049;;;;;;11417:59;2174:25049;;;;11417:25;2174:25049;;;;;;;11486:59;2174:25049;11585:74;;;;2174:25049;;11294:80;-1:-1:-1;;;11346:28:8;;2174:25049;11346:28;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:8;;;;;18019:23;2174:25049;;:::i;:::-;18019:23;:::i;2174:25049::-;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;1181:103:48;;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;;2425:26:9;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:393:9;;2627:13;;-1:-1:-1;;;;;2174:25049:8;;;;2536:393:9;;2174:25049:8;;;;2536:393:9;;2713:4;2174:25049:8;;2536:393:9;;;2174:25049:8;;;2536:393:9;;;2174:25049:8;;;;;2536:393:9;;;2174:25049:8;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;2944:38:9;;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;2944:38:9;;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;2944:38:9;;;;;2174:25049:8;2944:38:9;;;;;;;2174:25049:8;-1:-1:-1;2940:248:9;;3060:128;3107:43;2174:25049:8;3060:128:9;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3107:43:9;;;3164:13;2940:248;;14912:13:8;14909:203;;2940:248:9;15126:84:8;2174:25049;;;15199:10;2174:25049;;15126:84;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;14909:203;14987:9;;;:::i;:::-;15046:10;-1:-1:-1;;;;;15046:10:8;2174:25049;15046:55;;;;;2174:25049;;;;;;;;;;;;;15046:55;;2713:4:9;2174:25049:8;15046:55;;2174:25049;15046:55;;;;;;;;14909:203;;;;;15046:55;;;;;:::i;:::-;2174:25049;;15046:55;;;;2940:248:9;;;;2944:38;;;;2174:25049:8;2944:38:9;;2174:25049:8;2944:38:9;;;;;;2174:25049:8;2944:38:9;;;:::i;:::-;;;2174:25049:8;;;;;2944:38:9;;;;;;;-1:-1:-1;2944:38:9;;2174:25049:8;-1:-1:-1;;;2174:25049:8;;;;;;;;;-1:-1:-1;;;2174:25049:8;;;;;;;;;;;;;;;9239:383:129;;;;;;7972:9;9132:15;2174:25049:8;9239:383:129;;;;;;;;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2506:30:8;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;12478:70:129;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;15992:29;;15988:71;;16069:10;;-1:-1:-1;;;;;16069:10:8;2174:25049;16069:46;;;;;;2174:25049;;16069:46;2174:25049;;;;;;;;;;;;16069:46;;2174:25049;16069:46;;2174:25049;;;;;;;16069:46;;;;;;;;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;15988:71;-1:-1:-1;;;16030:29:8;;2174:25049;16030:29;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;6606:35;;;;;;;;;;:::i;:::-;;6655:8;6651:64;;6729:31;;;;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;6651:64;-1:-1:-1;;;6686:18:8;;2174:25049;6686:18;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;2174:25049:8;1496:56:0;;;;;;2174:25049:8;;1496:56:0;2174:25049:8;;;;;;;;;1496:56:0;;2174:25049:8;1496:56:0;;2174:25049:8;1524:9:0;1496:56;;;;;;;;;2174:25049:8;;;1496:56:0;;;;2174:25049:8;1496:56:0;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;-1:-1:-1;;2174:25049:8;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;2174:25049:8;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2174:25049:8;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;:::o;16671:1072::-;;;;;;;2174:25049;17208:15;;;;;;:::i;:::-;2174:25049;;;:::i;:::-;17168:12;2174:25049;;;;17198:26;17252:15;2174:25049;17252:15;;;;;;:::i;2174:25049::-;17168:12;2174:25049;;;;17242:26;17343:23;;;;;;;:::i;:::-;490:2:67;976:38:0;;;372:2:67;976:38:0;;17208:15:8;2174:25049;17116:610;17168:12;17116:610;;823:61:67;;;-1:-1:-1;;;;;2174:25049:8;;;17168:12;;;2174:25049;17208:15;976:38:0;;2174:25049:8;17252:15;976:38:0;;2174:25049:8;17286:23;976:38:0;;2174:25049:8;17286:23;;;2174:25049;17443:25;976:38:0;;2174:25049:8;17486:14;976:38:0;;2174:25049:8;17443:25;;;2174:25049;17343:23;976:38:0;;2174:25049:8;17486:14;;2174:25049;976:38:0;;;2174:25049:8;17518:13;976:38:0;;;2174:25049:8;17557:4;976:38:0;;;2174:25049:8;;;976:38:0;;;;2174:25049:8;;976:38:0;;;;-1:-1:-1;;;;;2174:25049:8;976:38:0;;;2174:25049:8;976:38:0;;;2174:25049:8;;;976:38:0;;;2174:25049:8;976:38:0;17116:610:8;;;;;;:::i;:::-;2174:25049;17093:643;;16671:1072;:::o;2174:25049::-;;;;;;;;;;;;;;;;;;:::o;7292:355:129:-;-1:-1:-1;;7390:251:129;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:48;-1:-1:-1;;;;;;;;;;;3321:69:50;1413:93:48;;1624:4;-1:-1:-1;;;;;;;;;;;3550:68:50;1290:346:48:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:48;;-1:-1:-1;1465:30:48;3200:252:9;3259:11;;3256:23;;3269:1;2174:25049:8;;;3335:52:9;;;;;;;;;;;;;2174:25049:8;3335:52:9;;;;;;;:::i;:::-;3307:81;3315:13;;;3307:81;;;;:::i;:::-;;3402:8;3398:47;;3200:252;:::o;3398:47::-;3419:26;;;3269:1;3419:26;3335:52;2174:25049:8;3335:52:9;3269:1;3419:26;3256:23;3272:7;:::o;2174:25049:8:-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;25293:770;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;2174:25049:8;25461:25;2174:25049;;;-1:-1:-1;2174:25049:8;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;25515:39;25511:152;;-1:-1:-1;;;;;25754:60:8;2174:25049;;;;;25754:60;;:::i;:::-;25863:22;2174:25049;25851:72;-1:-1:-1;;;;;2174:25049:8;;;25887:35;25851:72;;:::i;:::-;2174:25049;;;;;;;;;;26003:39;;;;;;;;2174:25049;26003:39;-1:-1:-1;26003:39:8;;;25293:770;2174:25049;;;;;;;25979:77;2174:25049;25980:62;2174:25049;;;25980:62;;:::i;:::-;25979:77;:::i;:::-;25293:770;:::o;26003:39::-;;;;2174:25049;26003:39;2174:25049;26003:39;;;;;;;:::i;:::-;;;;25511:152;2174:25049;;;-1:-1:-1;25633:19:8;;-1:-1:-1;25633:19:8;26920:301;;-1:-1:-1;;;;;2174:25049:8;;27012:20;;;27008:62;;-1:-1:-1;;;;;2174:25049:8;13252:754:133;;;;;;;27030:1:8;13252:754:133;;27030:1:8;13252:754:133;;;;;;;;27030:1:8;13252:754:133;;;;;;26920:301:8;13252:754:133;27030:1:8;13252:754:133;;27155:59:8;13252:754:133;2174:25049:8;;27203:10;2174:25049;;27155:59;26920:301::o;13252:754:133:-;;;;;;;;;;;;;;;27030:1:8;13252:754:133;;;;27008:62:8;16030:29;;;27030:1;27041:29;;27030:1;27041:29;5930:135:0;-1:-1:-1;;;;;6021:10:0;2174:25049:8;5999:10:0;:33;2174:25049:8;;5930:135:0:o;2174:25049:8:-;;;-1:-1:-1;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;19501:2958;;;2174:25049;;19806:23;;;;2174:25049;19806:23;;19501:2958;19806:23;:::i;:::-;374:38:6;;;;490:2:67;374:38:6;;;;490:2:67;374:38:6;;717:39;374:38;;2174:25049:8;;;;;;;976:38:0;2174:25049:8;976:38:0;;;2174:25049:8;976:38:0;;;;;;;2174:25049:8;833:1:6;19868:15:8;;19864:75;;20066:23;;;;:::i;:::-;490:2:67;976:38:0;;;434:2:67;976:38:0;875:44;20002:23:8;875:44:0;2174:25049:8;20002:23;;;2174:25049;;875:44:0;2174:25049:8;875:44:0;;;;2174:25049:8;20165:2;2174:25049;;875:44:0;2174:25049:8;;;875:44:0;;;;;20172:3:8;875:44:0;;2174:25049:8;;;20190:30;;;976:38:0;;;;1267:1:6;976:38:0;;;2174:25049:8;;;;1327:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:8;;;;1393:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:8;;;;1457:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;;;1527:2:6;976:38:0;;;2174:25049:8;976:38:0;;;;2174:25049:8;19806:23;2174:25049;976:38:0;;2174:25049:8;976:38:0;;;;;;2174:25049:8;:::i;:::-;;;1457:2:6;20724:22:8;;;:48;;;;20186:2267;20720:118;;;20868:255;2174:25049;;20978:86;2174:25049;;;;-1:-1:-1;;;;;2174:25049:8;;;20978:86;;;:::i;:::-;1393:2:6;13414:265:130;;-1:-1:-1;13414:265:130;;976:38:0;13414:265:130;20868:255:8;;:::i;:::-;21220:9;21216:110;;21378:13;-1:-1:-1;;;21378:13:8;;;-1:-1:-1;;;;;21378:13:8;2174:25049;21378:13;;;:::i;:::-;2174:25049;;1457:2:6;2174:25049:8;21350:208;2174:25049;1393:2:6;21350:208:8;;2174:25049;;1457:2:6;875:44:0;;2174:25049:8;;875:44:0;;2174:25049:8;20002:23;875:44:0;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;21350:208:8;;;19806:23;21350:208;;:::i;:::-;21589:50;2174:25049;;;;875:44:0;2174:25049:8;;2589:104:63;20186:2267:8;19501:2958::o;21216:110::-;21261:49;;;;;;-1:-1:-1;;;2174:25049:8;833:1:6;21261:49:8;;2174:25049;;;;2643:3:63;2174:25049:8;;2589:104:63;;2174:25049:8;1457:2:6;2174:25049:8;;1393:2:6;2174:25049:8;;:::i;:::-;-1:-1:-1;2174:25049:8;;21249:62;;:::o;20720:118::-;20799:24;;;-1:-1:-1;20799:24:8;976:38:0;-1:-1:-1;20799:24:8;20724:48;20770:2;20750:22;;;;20724:48;;;20186:2267;2174:25049;;;;;833:1:6;2174:25049:8;;;;;;21698:33;21694:759;;20186:2267;;;;;;19501:2958::o;21694:759::-;976:38:0;;;;;;;;;1809:2:6;976:38:0;;;2174:25049:8;;;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;;21929:29:8;21925:96;;22073:13;;;:::i;:::-;2174:25049;;-1:-1:-1;2174:25049:8;22260:25;2174:25049;;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;2174:25049:8;;;;;;;;;22045:312;2174:25049;;22045:312;;2174:25049;;;875:44:0;;2174:25049:8;875:44:0;;2174:25049:8;-1:-1:-1;20002:23:8;875:44:0;;2174:25049:8;;875:44:0;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;22045:312:8;;;19806:23;22045:312;;:::i;:::-;22371:18;-1:-1:-1;21694:759:8;;;;;;;;21925:96;21985:21;;;-1:-1:-1;21985:21:8;;-1:-1:-1;21985:21:8;19864:75;19906:22;;;-1:-1:-1;19906:22:8;;-1:-1:-1;19906:22:8;2174:25049;;;;;;;;;;;;6145:1089:129;-1:-1:-1;;;;;6813:405:129;;;;;;-1:-1:-1;6813:405:129;;-1:-1:-1;;6813:405:129;6145:1089::o;2174:25049:8:-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;26497:417::-;;26652:24;-1:-1:-1;;;;;26497:417:8;26652:24;2174:25049;;;;;;;;;26652:24;;2174:25049;26652:24;;;;;;;-1:-1:-1;;;26652:24:8;;;26497:417;26690:11;-1:-1:-1;26690:11:8;;;26686:73;;26784:15;2174:25049;26784:15;;2174:25049;;;;26772:49;26768:107;;26497:417;:::o;26768:107::-;26844:20;;;-1:-1:-1;26844:20:8;26652:24;-1:-1:-1;26844:20:8;26686:73;26724:24;;;-1:-1:-1;26724:24:8;26652;-1:-1:-1;26724:24:8;26652;;;;;;;;;;;;;;;;;;;:::i;:::-;;;2174:25049;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;26652:24;;;;;;;;-1:-1:-1;26652:24:8;;1974:1926:134;;;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;2136:20:134;2132:40;;2225:1669;;;;;;;;;;;;;;;;;;;;1974:1926;;;;:::o;2225:1669::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2225:1669:134;;;;;;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:40;-1:-1:-1;2174:25049:8;;-1:-1:-1;;;2158:14:134:o;7738:720:42:-;;-1:-1:-1;7875:421:42;7738:720;7875:421;;;;;;;;;;;;-1:-1:-1;7875:421:42;;8310:15;;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;8328:26:42;:31;8310:68;8306:146;;7738:720;:::o;8306:146::-;-1:-1:-1;;;;;8401:40:42;;;;-1:-1:-1;8401:40:42;2174:25049:8;8401:40:42;2174:25049:8;;-1:-1:-1;8401:40:42;8310:68;8377:1;8362:16;;8310:68;","linkReferences":{},"immutableReferences":{"17":[{"start":1713,"length":32},{"start":2093,"length":32},{"start":2271,"length":32},{"start":3164,"length":32},{"start":3332,"length":32},{"start":6320,"length":32},{"start":6704,"length":32},{"start":7017,"length":32},{"start":8652,"length":32}],"2303":[{"start":3774,"length":32}],"2305":[{"start":8316,"length":32}],"3683":[{"start":736,"length":32},{"start":5934,"length":32},{"start":8052,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","addToTokenDirectory(address,(address,uint32,uint256))":"e0d873f2","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","entryPoint()":"b0d691fe","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":"dab0f762","getPrice(address)":"41976e09","independentPriceExpiryDuration(address)":"889e1468","independentPriceMarkup(address)":"61dcc50f","independentTokenDirectory(address)":"50f6ab10","isTokenSupported(address)":"75151b63","nativeAssetToUsdOracle()":"a6e12780","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","postOp(uint8,bytes,uint256,uint256)":"7c627b21","removeFromTokenDirectory(address)":"6adf4742","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setNativeAssetToUsdOracle(address)":"e5a29e18","setPriceExpiryDurationForToken(address,uint256)":"4230aa9e","setPriceMarkupForToken(address,uint32)":"c87558cb","setSigner(address)":"6c19e783","setUnaccountedGas(uint256)":"73acf542","setUniswapRouter(address)":"bea9849e","swapTokenAndDeposit(address,uint256,uint256)":"40663794","tokenToPools(address)":"bacb4b7c","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","uniswapRouter()":"735de9f7","unlockStake()":"bb9fe6bf","updateSwappableTokens(address[],uint24[])":"c23461a9","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawERC20Full(address,address)":"5deef2aa","withdrawEth(address,uint256)":"1b9a91a4","withdrawMultipleERC20(address[],address,uint256[])":"617d057a","withdrawMultipleERC20Full(address[],address)":"78b1da23","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878","wrappedNative()":"eb6d3a11"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetDecimalsArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IOracle\",\"name\":\"nativeAssetToUsdOracleArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetPriceExpiryDurationArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"wrappedNativeArg\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"independentTokensArg\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo[]\",\"name\":\"tokenInfosArg\",\"type\":\"tuple[]\"},{\"internalType\":\"address[]\",\"name\":\"swappableTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"swappableTokenPoolFeeTiers\",\"type\":\"uint24[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"FailedToChargeTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleDecimals\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPaymasterMode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceExpiryDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndAmountsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndInfoLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndPoolsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"UniswapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnwrappingReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"AddedToTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userOpSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasCostBeforePostOpAndPenalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCharge\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"PaidGasInTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RemovedFromTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"SwappableTokensAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SwappingReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensSwappedAndRefilledEntryPoint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedFeeCollector\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"oldValue\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"newValue\",\"type\":\"uint32\"}],\"name\":\"UpdatedFixedPriceMarkup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oldOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"UpdatedNativeAssetOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedPriceExpiryDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedUnaccountedGas\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedVerifyingSigner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"}],\"name\":\"addToTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"appliedPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceMarkup\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"independentTokenDirectory\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeAssetToUsdOracle\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"removeFromTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"setNativeAssetToUsdOracle\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newPriceExpiryDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceExpiryDurationForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newIndependentPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"setPriceMarkupForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newUnaccountedGas\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"}],\"name\":\"setUniswapRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEthAmountRecevied\",\"type\":\"uint256\"}],\"name\":\"swapTokenAndDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPools\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapRouter\",\"outputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"poolFeeTiers\",\"type\":\"uint24[]\"}],\"name\":\"updateSwappableTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"}],\"name\":\"withdrawMultipleERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawMultipleERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"ShivaanshKlivingrockrises\",\"details\":\"A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund model to handle gas remittances. Currently, the paymaster supports two modes: 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner). 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode doesn't require a signature and is \\\"always available\\\" to use. The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments applied, and how to manage the assets received by the paymaster.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"details\":\"Set or update a TokenInfo entry in the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to add or update in directory\",\"tokenInfo\":\"The TokenInfo struct to add or update\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"constructor\":{\"details\":\"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink\\u2019s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \"},\"getPrice(address)\":{\"details\":\"Get the price of a token in USD\",\"params\":{\"tokenAddress\":\"The address of the token to get the price of\"},\"returns\":{\"_0\":\"price The price of the token in USD\"}},\"independentPriceExpiryDuration(address)\":{\"details\":\"Get the price expiry duration for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price expiry duration of\"},\"returns\":{\"_0\":\"priceExpiryDuration The price expiry duration for the token\"}},\"independentPriceMarkup(address)\":{\"details\":\"Get the price markup for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price markup of\"},\"returns\":{\"_0\":\"priceMarkup The price markup for the token\"}},\"isTokenSupported(address)\":{\"details\":\"Check if a token is supported\",\"params\":{\"tokenAddress\":\"The address of the token to check\"},\"returns\":{\"_0\":\"bool True if the token is supported, false otherwise\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"removeFromTokenDirectory(address)\":{\"details\":\"Remove a token from the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to remove from directory\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setNativeAssetToUsdOracle(address)\":{\"details\":\"Update the native oracle address\",\"params\":{\"oracle\":\"The new native asset oracle\"}},\"setPriceExpiryDurationForToken(address,uint256)\":{\"details\":\"Set a new price expiry duration.\",\"params\":{\"newPriceExpiryDuration\":\"The new value to be set as the price expiry duration\"}},\"setPriceMarkupForToken(address,uint32)\":{\"details\":\"Set a new priceMarkup value.\",\"params\":{\"newIndependentPriceMarkup\":\"The new value to be set as the price markup\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedEPGasOverhead value.\",\"params\":{\"newUnaccountedGas\":\"The new value to be set as the unaccounted gas value\"}},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"details\":\"Swap a token in the paymaster for ETH and deposit the amount received into the entry point\",\"params\":{\"minEthAmountRecevied\":\"The minimum amount of ETH amount recevied post-swap\",\"tokenAddress\":\"The token address of the token to swap\",\"tokenAmount\":\"The amount of the token to swap\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"updateSwappableTokens(address[],uint24[])\":{\"details\":\"Update or add a swappable token to the Uniswapper\",\"params\":{\"poolFeeTiers\":\"The pool fee tiers for the corresponding token address to use\",\"tokenAddresses\":\"The token address to add/update to/for uniswapper\"}},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawERC20Full(address,address)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawEth(address,uint256)\":{\"details\":\"Withdraw ETH from the paymaster\",\"params\":{\"amount\":\"The amount of ETH to withdraw\",\"recipient\":\"The address to send the ETH to\"}},\"withdrawMultipleERC20(address[],address,uint256[])\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amounts to withdraw\",\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawMultipleERC20Full(address[],address)\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"details\":\"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.\",\"params\":{\"amount\":\"The amount of gas tokens to withdraw.\",\"withdrawAddress\":\"The address to which the gas tokens should be transferred.\"}}},\"title\":\"BiconomyTokenPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"FailedToChargeTokens(address,address,uint256,bytes32)\":[{\"notice\":\"Throws when PM was not able to charge user\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InvalidOracleDecimals()\":[{\"notice\":\"Throws when oracle decimals aren't equal to 8\"}],\"InvalidPaymasterMode()\":[{\"notice\":\"Throws when invalid PaymasterMode specified in paymasterAndData\"}],\"InvalidPriceExpiryDuration()\":[{\"notice\":\"Throws when price expiry duration is in the past\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when external signer's signature has invalid length\"}],\"InvalidTokenAddress()\":[{\"notice\":\"Throws when token address to pay with is invalid\"}],\"OraclePriceExpired()\":[{\"notice\":\"Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\"}],\"OraclePriceNotPositive()\":[{\"notice\":\"Throws when oracle returns invalid price\"}],\"TokensAndAmountsLengthMismatch()\":[{\"notice\":\"Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\"}],\"TokensAndInfoLengthMismatch()\":[{\"notice\":\"Throws when each token doesnt have a corresponding oracle\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"notice\":\"only to be called by the owner of the contract.\"},\"deposit()\":{\"notice\":\"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"removeFromTokenDirectory(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setNativeAssetToUsdOracle(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceExpiryDurationForToken(address,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceMarkupForToken(address,uint32)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setSigner(address)\":{\"notice\":\"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"uniswapRouter()\":{\"notice\":\"The Uniswap V3 SwapRouter contract\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"updateSwappableTokens(address[],uint24[])\":{\"notice\":\"only to be called by the owner of the contract.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"wrappedNative()\":{\"notice\":\"The ERC-20 token that wraps the native asset for current chain\"}},\"notice\":\"Biconomy's Token Paymaster for Entry Point v0.7\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/BiconomyTokenPaymaster.sol\":\"BiconomyTokenPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomyTokenPaymasterErrors.sol\":{\"keccak256\":\"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7\",\"dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV\"]},\"contracts/interfaces/IBiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced\",\"dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR\"]},\"contracts/interfaces/oracles/IOracle.sol\":{\"keccak256\":\"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88\",\"dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e\"]},\"contracts/libraries/TokenPaymasterParserLib.sol\":{\"keccak256\":\"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1\",\"dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG\"]},\"contracts/token/BiconomyTokenPaymaster.sol\":{\"keccak256\":\"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3\",\"dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX\"]},\"contracts/token/swaps/Uniswapper.sol\":{\"keccak256\":\"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914\",\"dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\":{\"keccak256\":\"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9\",\"dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo\"]},\"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPoint","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"nativeAssetDecimalsArg","type":"uint256"},{"internalType":"contract IOracle","name":"nativeAssetToUsdOracleArg","type":"address"},{"internalType":"uint256","name":"nativeAssetPriceExpiryDurationArg","type":"uint256"},{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"},{"internalType":"address","name":"wrappedNativeArg","type":"address"},{"internalType":"address[]","name":"independentTokensArg","type":"address[]"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","name":"tokenInfosArg","type":"tuple[]","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"internalType":"address[]","name":"swappableTokens","type":"address[]"},{"internalType":"uint24[]","name":"swappableTokenPoolFeeTiers","type":"uint24[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"}],"type":"error","name":"FailedToChargeTokens"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InvalidOracleDecimals"},{"inputs":[],"type":"error","name":"InvalidPaymasterMode"},{"inputs":[],"type":"error","name":"InvalidPriceExpiryDuration"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"InvalidTokenAddress"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"OraclePriceExpired"},{"inputs":[],"type":"error","name":"OraclePriceNotPositive"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"type":"error","name":"SafeERC20FailedOperation"},{"inputs":[],"type":"error","name":"TokenNotSupported"},{"inputs":[],"type":"error","name":"TokensAndAmountsLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndInfoLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndPoolsLengthMismatch"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"type":"error","name":"UniswapReverted"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"UnwrappingReverted"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"contract IOracle","name":"oracle","type":"address","indexed":true},{"internalType":"uint8","name":"decimals","type":"uint8","indexed":false}],"type":"event","name":"AddedToTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"userOpSender","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false},{"internalType":"uint256","name":"tokenCharge","type":"uint256","indexed":false},{"internalType":"uint32","name":"priceMarkup","type":"uint32","indexed":false},{"internalType":"uint256","name":"tokenPrice","type":"uint256","indexed":false},{"internalType":"bytes32","name":"userOpHash","type":"bytes32","indexed":false}],"type":"event","name":"PaidGasInTokens","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true}],"type":"event","name":"RemovedFromTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]","indexed":true}],"type":"event","name":"SwappableTokensAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address","indexed":false},{"internalType":"uint256","name":"amountIn","type":"uint256","indexed":false},{"internalType":"bytes","name":"reason","type":"bytes","indexed":false}],"type":"event","name":"SwappingReverted","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"uint256","name":"tokenAmount","type":"uint256","indexed":true},{"internalType":"uint256","name":"amountOut","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensSwappedAndRefilledEntryPoint","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedFeeCollector","anonymous":false},{"inputs":[{"internalType":"uint32","name":"oldValue","type":"uint32","indexed":true},{"internalType":"uint32","name":"newValue","type":"uint32","indexed":true}],"type":"event","name":"UpdatedFixedPriceMarkup","anonymous":false},{"inputs":[{"internalType":"contract IOracle","name":"oldOracle","type":"address","indexed":true},{"internalType":"contract IOracle","name":"newOracle","type":"address","indexed":true}],"type":"event","name":"UpdatedNativeAssetOracle","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedPriceExpiryDuration","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedUnaccountedGas","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedVerifyingSigner","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo","name":"tokenInfo","type":"tuple","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]}],"stateMutability":"payable","type":"function","name":"addToTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"uint32","name":"appliedPriceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceExpiryDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceMarkup","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"independentTokenDirectory","outputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"nativeAssetToUsdOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"payable","type":"function","name":"removeFromTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"}],"stateMutability":"payable","type":"function","name":"setNativeAssetToUsdOracle"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"newPriceExpiryDuration","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setPriceExpiryDurationForToken"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint32","name":"newIndependentPriceMarkup","type":"uint32"}],"stateMutability":"payable","type":"function","name":"setPriceMarkupForToken"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"uint256","name":"newUnaccountedGas","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setUniswapRouter"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"minEthAmountRecevied","type":"uint256"}],"stateMutability":"payable","type":"function","name":"swapTokenAndDeposit"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"tokenToPools","outputs":[{"internalType":"uint24","name":"","type":"uint24"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"uniswapRouter","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"uint24[]","name":"poolFeeTiers","type":"uint24[]"}],"stateMutability":"payable","type":"function","name":"updateSwappableTokens"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawERC20Full"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20Full"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"view","type":"function","name":"wrappedNative","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"addToTokenDirectory(address,(address,uint32,uint256))":{"details":"Set or update a TokenInfo entry in the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to add or update in directory","tokenInfo":"The TokenInfo struct to add or update"}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"constructor":{"details":"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model "},"getPrice(address)":{"details":"Get the price of a token in USD","params":{"tokenAddress":"The address of the token to get the price of"},"returns":{"_0":"price The price of the token in USD"}},"independentPriceExpiryDuration(address)":{"details":"Get the price expiry duration for a token","params":{"tokenAddress":"The address of the token to get the price expiry duration of"},"returns":{"_0":"priceExpiryDuration The price expiry duration for the token"}},"independentPriceMarkup(address)":{"details":"Get the price markup for a token","params":{"tokenAddress":"The address of the token to get the price markup of"},"returns":{"_0":"priceMarkup The price markup for the token"}},"isTokenSupported(address)":{"details":"Check if a token is supported","params":{"tokenAddress":"The address of the token to check"},"returns":{"_0":"bool True if the token is supported, false otherwise"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"removeFromTokenDirectory(address)":{"details":"Remove a token from the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to remove from directory"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setNativeAssetToUsdOracle(address)":{"details":"Update the native oracle address","params":{"oracle":"The new native asset oracle"}},"setPriceExpiryDurationForToken(address,uint256)":{"details":"Set a new price expiry duration.","params":{"newPriceExpiryDuration":"The new value to be set as the price expiry duration"}},"setPriceMarkupForToken(address,uint32)":{"details":"Set a new priceMarkup value.","params":{"newIndependentPriceMarkup":"The new value to be set as the price markup"}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedEPGasOverhead value.","params":{"newUnaccountedGas":"The new value to be set as the unaccounted gas value"}},"swapTokenAndDeposit(address,uint256,uint256)":{"details":"Swap a token in the paymaster for ETH and deposit the amount received into the entry point","params":{"minEthAmountRecevied":"The minimum amount of ETH amount recevied post-swap","tokenAddress":"The token address of the token to swap","tokenAmount":"The amount of the token to swap"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"updateSwappableTokens(address[],uint24[])":{"details":"Update or add a swappable token to the Uniswapper","params":{"poolFeeTiers":"The pool fee tiers for the corresponding token address to use","tokenAddresses":"The token address to add/update to/for uniswapper"}},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawERC20Full(address,address)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the token deposit to withdraw"}},"withdrawEth(address,uint256)":{"details":"Withdraw ETH from the paymaster","params":{"amount":"The amount of ETH to withdraw","recipient":"The address to send the ETH to"}},"withdrawMultipleERC20(address[],address,uint256[])":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amounts to withdraw","target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawMultipleERC20Full(address[],address)":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"details":"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.","params":{"amount":"The amount of gas tokens to withdraw.","withdrawAddress":"The address to which the gas tokens should be transferred."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"addToTokenDirectory(address,(address,uint32,uint256))":{"notice":"only to be called by the owner of the contract."},"deposit()":{"notice":"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"removeFromTokenDirectory(address)":{"notice":"only to be called by the owner of the contract."},"setNativeAssetToUsdOracle(address)":{"notice":"only to be called by the owner of the contract."},"setPriceExpiryDurationForToken(address,uint256)":{"notice":"only to be called by the owner of the contract."},"setPriceMarkupForToken(address,uint32)":{"notice":"only to be called by the owner of the contract."},"setSigner(address)":{"notice":"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"swapTokenAndDeposit(address,uint256,uint256)":{"notice":"only to be called by the owner of the contract."},"uniswapRouter()":{"notice":"The Uniswap V3 SwapRouter contract"},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"updateSwappableTokens(address[],uint24[])":{"notice":"only to be called by the owner of the contract."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"wrappedNative()":{"notice":"The ERC-20 token that wraps the native asset for current chain"}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/token/BiconomyTokenPaymaster.sol":"BiconomyTokenPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"keccak256":"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116","urls":["bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7","dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"keccak256":"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8","urls":["bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced","dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR"],"license":"GPL-3.0"},"contracts/interfaces/oracles/IOracle.sol":{"keccak256":"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b","urls":["bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88","dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e"],"license":"MIT"},"contracts/libraries/TokenPaymasterParserLib.sol":{"keccak256":"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf","urls":["bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1","dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG"],"license":"GPL-3.0"},"contracts/token/BiconomyTokenPaymaster.sol":{"keccak256":"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269","urls":["bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3","dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX"],"license":"GPL-3.0"},"contracts/token/swaps/Uniswapper.sol":{"keccak256":"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be","urls":["bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914","dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310","urls":["bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862","dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"keccak256":"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c","urls":["bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9","dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"keccak256":"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69","urls":["bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652","dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"keccak256":"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274","urls":["bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407","dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp"],"license":"GPL-2.0-or-later"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":8} \ No newline at end of file diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index d0ba262..b61cf55 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -385,6 +385,8 @@ contract DeployGasdaddy is Script { new IBiconomyTokenPaymaster.TokenInfo[](0) ); + // SKIP BERACHAIN AS THERE's NO ETH/USD PRICE FEED THERE + // ANVIL MockOracle mockNativeOracle; if (block.chainid == 31337) { From 43f1521676af078347dccbe591728c7b7136df97 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 12:35:20 +0300 Subject: [PATCH 11/16] test salts --- scripts/foundry/DeployGasdaddy.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index b61cf55..104b708 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -27,8 +27,8 @@ contract DeployGasdaddy is Script { } // SALTS - bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x3e81534a95d3368136d6c49522f8e20ada0b768931512a65c785c15a83178526; // PM Address => 0x00000028d034c96fb11b5cfc856535f84866035b - bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xf5516e76713013dc560228c61d8ad21680be770b25fcaed28edf3071e09bbd25; // PM Address => 0x00000023f4bb8e932538360023e6d8da15fb9711 + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x3e81534a95d3368136d6c49522f8e20ada0b768931512a65c785c15a83178777; // + bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xf5516e76713013dc560228c61d8ad21680be770b25fcaed28edf3071e09bb777; // // CREATE3 DEPLOYER ADDRESS address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; From 31350107770e53a2f5eeb1f671456f4262051a6c Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 14:35:40 +0300 Subject: [PATCH 12/16] log predeploy --- .../BiconomySponsorshipPaymaster.json | 2 +- .../BiconomyTokenPaymaster/BiconomyTokenPaymaster.json | 2 +- scripts/bash-deploy/deploy-gasdaddy.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json index b11e16c..d56201e 100644 --- a/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json +++ b/scripts/bash-deploy/artifacts/BiconomySponsorshipPaymaster/BiconomySponsorshipPaymaster.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0611f96803803809161001c826100b9565b60a039126100b55761006c60a05161003381610116565b60c05161003f81610116565b60e05161004b81610116565b6101005161005881610116565b610120519161014051936101605195610127565b604051611c6690816103308239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b60a0601f91909101601f19168101906001600160401b038211908210176100df57604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176100df57604052565b6001600160a01b038116036100b557565b95949291959390938060601b15610240576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b6004820152916020836024816001600160a01b0389165afa90811561023557610204976101ff966101c36101f5946101fa975f91610206575b506102e3565b6080526101d184838361024d565b5f55600180546001600160a01b0319166001600160a01b0392909216919091179055565b600255565b600355565b600455565b565b610228915060203d60201161022e575b61022081836100f3565b8101906102cb565b5f6101bd565b503d610216565b6040513d5f823e3d90fd5b637448fbae5f526004601cfd5b6001600160a01b03811661026a576381618de160e01b5f5260045ffd5b3b1561027f5763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661029c57633fd0943d60e11b5f5260045ffd5b3b156102b157631f47525f60e21b5f5260045ffd5b620186a0106102bc57565b63313db2a560e11b5f5260045ffd5b908160209103126100b5575180151581036100b55790565b156102ea57565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:7:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:7;;;;;-1:-1:-1;1529:19054:7;;;;;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1529:19054:7;;;;;:::o;2588:694::-;;;;;;;;;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:130;-1:-1:-1;;5710:347:130;;;-1:-1:-1;5710:347:130;-1:-1:-1;;5710:347:130;1529:19054:7;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;1529:19054:7;;;;3843:80:0;1529:19054:7;-1:-1:-1;;;;;1529:19054:7;;3843:80:0;;;;;;;3249:26:7;3843:80:0;3181:58:7;3843:80:0;3822:157;3097:30:7;3843:80:0;3137:34:7;3843:80:0;-1:-1:-1;3843:80:0;;;2588:694:7;3822:157:0;;:::i;:::-;1159:26;;2963:17:7;;;;;:::i;:::-;-1:-1:-1;2991:97:7;1529:19054;;;-1:-1:-1;;;;;;1529:19054:7;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;3097:30;3137:34;1529:19054;;3137:34;3181:58;1529:19054;;3181:58;3843:80:0;1529:19054:7;;3249:26;2588:694::o;3843:80:0:-;;;;1529:19054:7;3843:80:0;1529:19054:7;3843:80:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1529:19054:7;;;-1:-1:-1;1529:19054:7;;;;;198:181:10;;;;;;;19381:708:7;-1:-1:-1;;;;;1529:19054:7;;;;19625:29;;;19600:1;19625:29;;19600:1;19625:29;19566:517;6221:74:0;6311:8;19675:31:7;;19729:33;;;19600:1;19729:33;;19600:1;19729:33;19671:412;-1:-1:-1;;;;;1529:19054:7;;;;19835:26;;;19600:1;19835:26;;19600:1;19835:26;19779:304;6221:74:0;6311:8;19882:28:7;;19933:30;;;19600:1;19933:30;;19600:1;19933:30;19878:205;2371:7;-1:-1:-1;19980:103:7;;19381:708::o;19980:103::-;20049:23;;;19600:1;20049:23;;19600:1;20049:23;1529:19054;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1529:19054:7;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:7:-:0;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;;3351:9;1529:19054;;3330:31;1529:19054;3339:10;3330:31;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;11885:237:130;;;;;1529:19054:7;11885:237:130;;;;1529:19054:7;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:130;;;:::i;:::-;5431:37:7;;;5427:71;;5513:9;5524:23;;;;;;1529:19054;;;5549:3;5608:10;;;;;:::i;:::-;1529:19054;5588:15;;;;;;:::i;:::-;1529:19054;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;5568:19;1529:19054;;5568:50;1529:19054;;;;;;5568:50;:::i;:::-;1529:19054;;;5513:9;;1529:19054;;;;5427:71;-1:-1:-1;;;5477:21:7;;1529:19054;5477:21;;1529:19054;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;-1:-1:-1;;;;;1529:19054:7;;:::i;:::-;;;;11357:19;1529:19054;;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1529:19054:7;;8479:183:130;;;;1529:19054:7;8479:183:130;;1529:19054:7;;;;;;;;;;;;;;1935:41;1529:19054;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;10506:526;;;;;;1529:19054:7;10506:526:130;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1529:19054:7;10506:526:130;;1529:19054:7;;;;;;;;;;;;;10560:10;1529:19054;;10550:9;1529:19054;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;10586:41;1529:19054;;;10560:10;1529:19054;;10586:41;1529:19054;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8070:22:7;;1529:19054;;8070:22;1529:19054;;;;;;;;;;;;;;-1:-1:-1;;;;;1867:27:7;1529:19054;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;1529:19054:7;3569:35:0;;1529:19054:7;;;3569:35:0;1529:19054:7;3569:10:0;-1:-1:-1;;;;;1529:19054:7;3569:35:0;;;;;;;;;;;1529:19054:7;;;;;;;;;3569:35:0;;;1529:19054:7;3569:35:0;;1529:19054:7;3569:35:0;;;;;;1529:19054:7;3569:35:0;;;:::i;:::-;;;1529:19054:7;;;;;;;;3569:35:0;;;;;;-1:-1:-1;3569:35:0;;;1529:19054:7;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;1529:19054:7;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;1529:19054:7;;;;;;;;;;;;;2107:41:0;;1529:19054:7;;2107:41:0;;1529:19054:7;2107:41:0;;;;;;;;1529:19054:7;;2107:41:0;;;;;:::i;:::-;1529:19054:7;;2107:41:0;1529:19054:7;2107:41:0;1529:19054:7;;;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;1529:19054:7;1770:24:0;;;;;1529:19054:7;;;;;;;;;;;;;1770:24:0;;;;;;;;;;1529:19054:7;;1770:24:0;1529:19054:7;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;1529:19054:7;;;;;;;;;;;;;;;;;;1900:29;1529:19054;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;-1:-1:-1;;;;;1529:19054:7;;:::i;:::-;1181:103:49;;:::i;:::-;1529:19054:7;3686:25;;3682:63;;3759:9;:14;3755:48;;1529:19054;;;3817:19;1529:19054;;3817:44;3759:9;1529:19054;;;;3817:44;:::i;:::-;1529:19054;;-1:-1:-1;3813:82:7;;1529:19054;;;3817:19;1529:19054;;;;;3905:45;3759:9;1529:19054;;3905:45;:::i;:::-;1529:19054;;3960:10;-1:-1:-1;;;;;3960:10:7;1529:19054;3960:55;;;;;1529:19054;3960:55;1529:19054;;;;;;;;;;3960:55;;4009:4;1529:19054;3960:55;;1529:19054;3759:9;3960:55;;;;;;;;;1529:19054;3759:9;;;4030:36;;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;3960:55;;;;;:::i;:::-;1529:19054;;3960:55;;;;3813:82;-1:-1:-1;;;3883:12:7;;1529:19054;3883:12;;3755:48;-1:-1:-1;;;3782:21:7;;1529:19054;3782:21;;3682:63;-1:-1:-1;;;3720:25:7;;1529:19054;6030:25;3720;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;7105:71:7;;-1:-1:-1;;;;;1529:19054:7;7190:29;;7186:68;;7290:12;1529:19054;;;-1:-1:-1;;1529:19054:7;;;7290:12;1529:19054;-1:-1:-1;;;;;7411:10:7;1529:19054;;7357:65;;;;1529:19054;;7186:68;-1:-1:-1;;;7228:26:7;;1529:19054;7228:26;;7105:71;-1:-1:-1;;;7146:30:7;;1529:19054;7146:30;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;12478:70:130;;:::i;:::-;1529:19054:7;;;6537:44;;;;1529:19054;;;;;;;;;;;;;;;;;;6813:405:130;;11523:61;-1:-1:-1;;;;;1529:19054:7;;;;;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:130;;;:::i;:::-;1529:19054:7;5996:25;;;5992:63;;1529:19054;;;6069:20;1529:19054;;;;;;;;;;;6069:46;6065:186;;1529:19054;;;6065:186;1529:19054;6195:45;1529:19054;;;;6069:20;1529:19054;;;;;;;;;;;;;;;;;;;;;6195:45;6065:186;;1529:19054;;;5992:63;-1:-1:-1;;;6030:25:7;;1529:19054;6030:25;;1529:19054;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2192:298:0;;;;;;:::i;:::-;14714:47:7;;1529:19054;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;15131:31;2134:3;15053:27;14926:56;14943:38;1529:19054;;14943:14;1529:19054;14943:38;:::i;:::-;1529:19054;;14926:56;:::i;:::-;15053:27;;;:::i;:::-;1529:19054;15131:31;;;:::i;:::-;1529:19054;-1:-1:-1;;;;;1529:19054:7;;;;;15225:19;1529:19054;;;;;15225:44;1529:19054;;;15225:44;:::i;:::-;1529:19054;;15284:34;;;;;;;15419;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15382:72;1529:19054;;;;;;15382:72;:::i;:::-;1529:19054;;15280:369;15785:57;;;;1529:19054;;15280:369;15587:34;;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15550:72;1529:19054;;;;;;15550:72;:::i;:::-;1529:19054;;15280:369;;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;12478:70:130;;:::i;:::-;2371:7:7;7708:30;;7704:91;;7823:14;1529:19054;;7823:14;1529:19054;7884:38;;;;1529:19054;;7704:91;-1:-1:-1;;;7761:23:7;;1529:19054;7761:23;;1529:19054;;;;;;;;;;12478:70:130;;:::i;:::-;6813:405;;;;;;;;;;;;1529:19054:7;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;12478:70:130;;:::i;:::-;6221:74:0;;4550:77:7;;-1:-1:-1;;;;;1529:19054:7;;4641:32;;4637:99;;-1:-1:-1;;;;;1529:19054:7;;;4790:97;;;4955:10;4901:65;;;;;1529:19054;;4637:99;-1:-1:-1;;;4696:29:7;;1529:19054;4696:29;;4550:77;-1:-1:-1;;;4594:33:7;;1529:19054;4594:33;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;;8804:29;;8800:71;;8885:11;;8881:50;;8986:10;1529:19054;;8966:19;1529:19054;;;;;;9011:23;;9007:64;;9234:51;1529:19054;;;;;;;;:::i;:::-;;;;;;9117:102;;1529:19054;;;9117:102;;;9201:15;;1529:19054;;8986:10;1529:19054;;9081:9;1529:19054;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;9234:51;1529:19054;;9007:64;-1:-1:-1;;;9043:28:7;;1529:19054;9043:28;;8881:50;-1:-1:-1;;;8905:26:7;;1529:19054;10118:26;8905;8800:71;-1:-1:-1;;;8842:29:7;;1529:19054;20401:29;8842;1529:19054;;;;;;;;;;9831:339:130;;;;;;;;;;;;;;;;1529:19054:7;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;16671:2704;1529:19054;2737:22:0;;;:::i;:::-;1529:19054:7;;;;;16671:2704;:::i;:::-;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;:::i;:::-;;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;20372:20;;;20368:62;;13252:754:134;;;;;;;;1529:19054:7;13252:754:134;1529:19054:7;13252:754:134;;;;;;1529:19054:7;13252:754:134;;;;;;;1529:19054:7;13252:754:134;;;;20515:59:7;1529:19054;;;20563:10;1529:19054;;20515:59;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;13252:754:134;;;;;;;;;;;;;;;;;1529:19054:7;13252:754:134;;20368:62:7;-1:-1:-1;;;20401:29:7;;1529:19054;20401:29;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;1181:103:49;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;;;;;9643:9;1529:19054;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;9679:34;9675:67;;1529:19054;9781:54;;9813:22;;;:::i;:::-;9781:54;;:::i;:::-;9849:15;;:36;9845:89;;-1:-1:-1;1529:19054:7;;;9969:19;1529:19054;;;;;;;;10024:27;;;;;;:57;;;1529:19054;;;10094:15;10091:53;;1529:19054;;10189:27;;;:::i;:::-;1529:19054;;;9969:19;1529:19054;;;;;;;;;9643:9;1529:19054;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;10265:10;-1:-1:-1;;;;;10265:10:7;1529:19054;-1:-1:-1;;;;;1529:19054:7;;;;;10265:50;;;;;;1529:19054;;;;;;;;;;;;;10265:50;;1529:19054;10265:50;;1529:19054;;;;;10265:50;;;;;;;;10024:57;1529:19054;;-1:-1:-1;;;;;1529:19054:7;;;;;10330:45;;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;10265:50;;;;;:::i;:::-;1529:19054;;10265:50;;;;10091:53;-1:-1:-1;;;10118:26:7;;1529:19054;10118:26;;10024:57;;;9845:89;-1:-1:-1;;;9894:40:7;;1529:19054;;;9894:40;;9675:67;-1:-1:-1;;;9722:20:7;;1529:19054;9722:20;;1529:19054;;;;;;;;;;9239:383:130;;;;;;7972:9;9132:15;1529:19054:7;9239:383:130;;;;;;;;;1529:19054:7;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;11086:22:7;;;1529:19054;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:7;;12478:70:130;;;:::i;:::-;1181:103:49;;:::i;:::-;1529:19054:7;10772:35;;;;;;;;1529:19054;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;10821:8;10817:64;;10895:31;;;;3550:68:51;637:66:49;3550:68:51;1529:19054:7;;10817:64;-1:-1:-1;;;10852:18:7;;1529:19054;10852:18;;1529:19054;;;;-1:-1:-1;1529:19054:7;;-1:-1:-1;;1529:19054:7;;;;;;;;;;;;;;12478:70:130;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;1529:19054:7;1496:56:0;;;;;;1529:19054:7;;1496:56:0;1529:19054:7;;;;;;;;;1496:56:0;;1529:19054:7;1496:56:0;;1529:19054:7;1524:9:0;1496:56;;;;;;;;;1529:19054:7;;;1496:56:0;;;;1529:19054:7;1496:56:0;;:::i;:::-;1529:19054:7;1496:56:0;1529:19054:7;;;;;;;;;1496:56:0;1529:19054:7;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:7;;;;;-1:-1:-1;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1529:19054:7;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2255:22::-;;;;;-1:-1:-1;;;;;;2255:22:7;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2255:22:7;;;;;;;;;1529:19054;2255:22;;;:::o;12816:1250::-;;;;2255:22;1529:19054;2255:22;;;490:2:68;2255:22:7;;;;;13383:69;2255:22;1529:19054;2255:22;;;13376:77;2255:22;1529:19054;2255:22;;13376:77;:::i;:::-;2255:22;;13495:69;2255:22;1529:19054;2255:22;;;13488:77;2255:22;1529:19054;2255:22;;13488:77;:::i;:::-;2255:22;;13608:69;2255:22;1529:19054;2255:22;;;1529:19054;2255:22;;;;1529:19054;;13674:2;2255:22;-1:-1:-1;2255:22:7;;13337:2;2255:22;;875:44:0;;;;490:2:68;2255:22:7;-1:-1:-1;2255:22:7;;13674:2;2255:22;;875:44:0;;;;1529:19054:7;2255:22;;-1:-1:-1;;2255:22:7;;12816:1250::o;1529:19054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:7;;;;;;:::o;11810:1000::-;;;;;1529:19054;12311:15;;;;;;:::i;:::-;1529:19054;;;:::i;:::-;12271:12;1529:19054;;;;12301:26;12355:15;1529:19054;12355:15;;;;;;:::i;1529:19054::-;12271:12;1529:19054;;;;12345:26;12446:23;;;;;;;:::i;:::-;490:2:68;2255:22:7;;;12311:15;1529:19054;12219:574;12271:12;12219:574;;823:61:68;;;-1:-1:-1;;;;;1529:19054:7;;;12271:12;;;1529:19054;12311:15;1529:19054;;;12355:15;1529:19054;;;12389:23;1529:19054;;;12389:23;;;1529:19054;12546:25;1529:19054;;;372:2:68;2255:22:7;1529:19054;12589:14;1529:19054;;;12546:25;;;1529:19054;12446:23;1529:19054;;;12589:14;;1529:19054;;;;;12621:13;1529:19054;;;;12660:4;1529:19054;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;12219:574;;;;;;:::i;:::-;1529:19054;12196:607;;11810:1000;:::o;1529:19054::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:130;-1:-1:-1;;7390:251:130;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:49;637:66;3321:69:51;1413:93:49;;1624:4;637:66;3550:68:51;1290:346:49:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:49;;-1:-1:-1;1465:30:49;20095:179:7;-1:-1:-1;;;;;1529:19054:7;;;20181:20;1529:19054;;;;;;;;20177:47;;20241:26;1529:19054;20095:179;:::o;20177:47::-;1529:19054;20216:8;:::o;5930:135:0:-;-1:-1:-1;;;;;6021:10:0;1529:19054:7;5999:10:0;:33;1529:19054:7;;5930:135:0:o;1529:19054:7:-;;;-1:-1:-1;;;1529:19054:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16671:2704::-;;;1529:19054;16890:22;17244:23;;;;17222:46;17244:23;;;;:::i;:::-;17222:46;;:::i;:::-;17581:2;17561:22;;;;;;;;;;;;;;:48;;;16671:2704;17557:110;;17681:14;1529:19054;4143:23:68;;;;;:::i;:::-;490:2;2255:22:7;;;434:2:68;2255:22:7;875:44:0;;;17681:46:7;;17677:106;;1529:19054;17824:65;;;;;;;;;:::i;:::-;13414:265:131;;;1529:19054:7;13414:265:131;;;;1529:19054:7;;;;:::i;:::-;17823:144;1529:19054;8517:1041:131;17581:2:7;8517:1041:131;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;17809:187;:202;;;;8517:1041:131;17809:202:7;18100:9;18096:102;;1529:19054;;18246:17;18260:3;18246:17;;:38;;;;17809:202;18242:96;;18526:23;;;;:::i;:::-;490:2:68;2255:22:7;;;434:2:68;-1:-1:-1;;;;;18518:85:7;2255:22;875:44:0;;;;-1:-1:-1;;;;;875:44:0;18462:23:7;;1529:19054;;;-1:-1:-1;;;;;1529:19054:7;;;;-1:-1:-1;;;;;18621:2:7;1529:19054;;;;-1:-1:-1;;;;;1529:19054:7;;;;;;;18755:62;18754:78;3382:14:68;18773:44:7;2134:3;3382:14:68;18666:3:7;18428:225;-1:-1:-1;;;;;3382:14:68;;;;1529:19054:7;;18428:225;;;:::i;:::-;1529:19054;18773:44;;:::i;18755:62::-;18754:78;:::i;:::-;1529:19054;-1:-1:-1;;;;;18870:26:7;;;;:::i;:::-;1529:19054;;;;;;18899:19;13414:265:131;1529:19054:7;17581:2;1529:19054;;;-1:-1:-1;18866:132:7;;-1:-1:-1;;;19045:26:7;;-1:-1:-1;;;;;;19045:26:7;;;:::i;:::-;1529:19054;;;18899:19;13414:265:131;1529:19054:7;19008:64;17581:2;1529:19054;;;;;19008:64;:::i;:::-;1529:19054;;17581:2;1529:19054;19093:51;13414:265:131;19093:51:7;;1529:19054;17581:2;2134:3;;1529:19054;;2134:3;;1529:19054;;19093:51;;;875:44:0;19093:51:7;;:::i;:::-;2683:8:64;1529:19054:7;;;2643:3:64;1529:19054:7;;2589:104:64;16671:2704:7;:::o;18866:132::-;18954:33;;;1529:19054;18954:33;13414:265:131;1529:19054:7;18954:33;18242:96;18307:20;;;1529:19054;18307:20;13414:265:131;1529:19054:7;18307:20;18246:38;18267:17;18281:3;18267:17;;18246:38;;18096:102;18137:49;;;8517:1041:131;18137:49:7;;;-1:-1:-1;;;18137:49:7;;-1:-1:-1;;;;;;18137:49:7;;2683:8:64;1529:19054:7;;;2643:3:64;1529:19054:7;;2589:104:64;;1529:19054:7;17581:2;1529:19054;;13414:265:131;1529:19054:7;;:::i;:::-;;;;18125:62;;:::o;17809:202::-;1529:19054;17809:202;;8517:1041:131;;;;;1529:19054:7;8517:1041:131;13414:265;8517:1041;17581:2:7;8517:1041:131;;;;;;-1:-1:-1;8517:1041:131;;;1529:19054:7;8517:1041:131;;17581:2:7;8517:1041:131;13414:265;17581:2:7;875:44:0;1529:19054:7;8517:1041:131;;;;1529:19054:7;8517:1041:131;;;;;;17581:2:7;8517:1041:131;;;;;;;;;;;;17581:2:7;8517:1041:131;;;;;;;13414:265;8517:1041;;;;;;17677:106:7;17750:22;;;1529:19054;17750:22;;1529:19054;17750:22;17557:110;17632:24;;;1529:19054;17632:24;;1529:19054;17632:24;17561:48;17587:22;17607:2;17587:22;;;17561:48;;6145:1089:130;-1:-1:-1;;;;;6813:405:130;;;;;;-1:-1:-1;6813:405:130;;-1:-1:-1;;6813:405:130;6145:1089::o","linkReferences":{},"immutableReferences":{"17":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480\",\"dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290","urls":["bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480","dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"entryPointArg","type":"address","internalType":"contract IEntryPoint"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"feeCollectorArg","type":"address","internalType":"address"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"paymasterIdWithdrawalDelayArg","type":"uint256","internalType":"uint256"},{"name":"minDepositArg","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelWithdrawalRequest","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"depositFor","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"executeWithdrawalRequest","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"feeCollector","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getBalance","inputs":[{"name":"paymasterId","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"minDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"parsePaymasterAndData","inputs":[{"name":"paymasterAndData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"paymasterValidationGasLimit","type":"uint128","internalType":"uint128"},{"name":"paymasterPostOpGasLimit","type":"uint128","internalType":"uint128"},{"name":"signature","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"paymasterIdBalances","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"paymasterIdWithdrawalDelay","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"refundBalances","inputs":[{"name":"paymasterIds","type":"address[]","internalType":"address[]"},{"name":"amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setFeeCollector","inputs":[{"name":"newFeeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setMinDeposit","inputs":[{"name":"newMinDeposit","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setTrustedPaymasterId","inputs":[{"name":"paymasterId","type":"address","internalType":"address"},{"name":"isTrusted","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"submitWithdrawalRequest","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"FeeCollectorChanged","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"FixedPriceMarkupChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasBalanceDeducted","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_charge","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"_premium","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasDeposited","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"GasWithdrawn","inputs":[{"name":"_paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"_to","type":"address","indexed":true,"internalType":"address"},{"name":"_value","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"MinDepositChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedPaymasterIdSet","inputs":[{"name":"paymasterId","type":"address","indexed":true,"internalType":"address"},{"name":"isTrusted","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"UnaccountedGasChanged","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"VerifyingSignerChanged","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestCancelledFor","inputs":[{"name":"paymasterId","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"WithdrawalRequestSubmitted","inputs":[{"name":"withdrawAddress","type":"address","indexed":false,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"CanNotWithdrawZeroAmount","inputs":[]},{"type":"error","name":"DepositCanNotBeZero","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeContract","inputs":[]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InsufficientFunds","inputs":[]},{"type":"error","name":"InsufficientFundsForPaymasterId","inputs":[]},{"type":"error","name":"InsufficientFundsInGasTank","inputs":[]},{"type":"error","name":"InvalidArrayLengths","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"LowDeposit","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"NoRequestSubmitted","inputs":[]},{"type":"error","name":"PaymasterIdCanNotBeZero","inputs":[]},{"type":"error","name":"PostOpGasLimitTooLow","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"RequestNotClearedYet","inputs":[{"name":"clearanceTime","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"SubmitRequestInstead","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UseDepositForInstead","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x60a0604052346100b55760e0611f96803803809161001c826100b9565b60a039126100b55761006c60a05161003381610116565b60c05161003f81610116565b60e05161004b81610116565b6101005161005881610116565b610120519161014051936101605195610127565b604051611c6690816103308239608051818181610528015281816105d90152818161066e015281816106dd0152818161079301528181611161015281816113f7015261187a0152f35b5f80fd5b60a0601f91909101601f19168101906001600160401b038211908210176100df57604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176100df57604052565b6001600160a01b038116036100b557565b95949291959390938060601b15610240576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b6004820152916020836024816001600160a01b0389165afa90811561023557610204976101ff966101c36101f5946101fa975f91610206575b506102e3565b6080526101d184838361024d565b5f55600180546001600160a01b0319166001600160a01b0392909216919091179055565b600255565b600355565b600455565b565b610228915060203d60201161022e575b61022081836100f3565b8101906102cb565b5f6101bd565b503d610216565b6040513d5f823e3d90fd5b637448fbae5f526004601cfd5b6001600160a01b03811661026a576381618de160e01b5f5260045ffd5b3b1561027f5763edc30c2760e01b5f5260045ffd5b6001600160a01b03811661029c57633fd0943d60e11b5f5260045ffd5b3b156102b157631f47525f60e21b5f5260045ffd5b620186a0106102bc57565b63313db2a560e11b5f5260045ffd5b908160209103126100b5575180151581036100b55790565b156102ea57565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fdfe60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:11:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:11;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:11;;;;;-1:-1:-1;1529:19054:11;;;;;;-1:-1:-1;;1529:19054:11;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1529:19054:11;;;;;:::o;2588:694::-;;;;;;;;;198:181:17;;;;;;-1:-1:-1;;;;;5710:347:158;-1:-1:-1;;5710:347:158;;;-1:-1:-1;5710:347:158;-1:-1:-1;;5710:347:158;1529:19054:11;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;1529:19054:11;;;;3843:80:0;1529:19054:11;-1:-1:-1;;;;;1529:19054:11;;3843:80:0;;;;;;;3249:26:11;3843:80:0;3181:58:11;3843:80:0;3822:157;3097:30:11;3843:80:0;3137:34:11;3843:80:0;-1:-1:-1;3843:80:0;;;2588:694:11;3822:157:0;;:::i;:::-;1159:26;;2963:17:11;;;;;:::i;:::-;-1:-1:-1;2991:97:11;1529:19054;;;-1:-1:-1;;;;;;1529:19054:11;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;3097:30;3137:34;1529:19054;;3137:34;3181:58;1529:19054;;3181:58;3843:80:0;1529:19054:11;;3249:26;2588:694::o;3843:80:0:-;;;;1529:19054:11;3843:80:0;1529:19054:11;3843:80:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1529:19054:11;;;-1:-1:-1;1529:19054:11;;;;;198:181:17;;;;;;;19381:708:11;-1:-1:-1;;;;;1529:19054:11;;;;19625:29;;;19600:1;19625:29;;19600:1;19625:29;19566:517;6221:74:0;6311:8;19675:31:11;;19729:33;;;19600:1;19729:33;;19600:1;19729:33;19671:412;-1:-1:-1;;;;;1529:19054:11;;;;19835:26;;;19600:1;19835:26;;19600:1;19835:26;19779:304;6221:74:0;6311:8;19882:28:11;;19933:30;;;19600:1;19933:30;;19600:1;19933:30;19878:205;2371:7;-1:-1:-1;19980:103:11;;19381:708::o;19980:103::-;20049:23;;;19600:1;20049:23;;19600:1;20049:23;1529:19054;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1529:19054:11;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610046575b3615610018575f80fd5b6040513481527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587460203392a2005b5f5f3560e01c80630396cb60146113c75780631b9a91a414611302578063205c2878146112d857806323d9ac9b146112b257806325692962146112675780633261fd581461107557806341b3d1851461105757806344004cc114610f5057806352b7512c14610ecb57806354d1f13d14610e8557806359ffb13014610d845780636c19e78314610cfc578063715018a614610cb157806373acf54214610c525780637c627b2114610b005780638c253a3914610a4c5780638da5cb5b14610a215780638fcc9cfb146109db57806394d4ad6014610917578063a40a7ddc146102ef578063a42dce8014610874578063aa67c9191461071f578063ab94cad714610701578063b0d691fe146106bd578063bb9fe6bf1461064a578063c23a5cea146105ac578063c399ec88146104fc578063c415b95c146104d5578063d0e30db0146104ba578063def042571461042a578063e714a028146103d2578063f04e283e14610384578063f0c12a3214610366578063f2fde38b14610327578063f8b2cb4f146102ef578063f8cf826d1461021d5763fee81cf4146101e8575061000e565b3461021a57602036600319011261021a57610201611467565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50604036600319011261021a5760043567ffffffffffffffff81116102eb5761024a9036906004016114c1565b9060243567ffffffffffffffff81116102e75761026b9036906004016114c1565b906102746117d3565b8184036102d857845b848110610288578580f35b6102938184846117af565b35906102a08187876117af565b35916001600160a01b0383168093036102d457600192885260056020526102cc60408920918254611560565b90550161027d565b8780fd5b63a9854bc960e01b8552600485fd5b8380fd5b5080fd5b503461021a57602036600319011261021a5760406020916001600160a01b03610316611467565b168152600583522054604051908152f35b50602036600319011261021a5761033c611467565b6103446117d3565b8060601b156103595761035690611c1b565b80f35b637448fbae82526004601cfd5b503461021a578060031936011261021a576020600354604051908152f35b50602036600319011261021a57610399611467565b6103a16117d3565b63389a75e1600c528082526020600c20805442116103c55790826103569255611c1b565b636f5e881883526004601cfd5b503461021a578060031936011261021a5733815260076020525f60026040832082815582600182015501557fe227a0e51918df92c3a9837808b4825847fa7c14cbacd937b650c337e91712416020604051338152a180f35b503461021a5760a036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb5761046561147d565b6044359065ffffffffffff821682036102e7576064359265ffffffffffff841684036104b6576084359463ffffffff8616860361021a5760206104ae87878787876004016116b3565b604051908152f35b8480fd5b508060031936011261021a5763302076c960e01b8152600490fd5b503461021a578060031936011261021a5760206001600160a01b0360015416604051908152f35b503461021a578060031936011261021a576040516370a0823160e01b81523060048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105a157829161056b575b602082604051908152f35b90506020813d602011610599575b8161058660209383611522565b810103126102eb5760209150515f610560565b3d9150610579565b6040513d84823e3d90fd5b503461021a57602036600319011261021a57806105c7611467565b6105cf6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15610646576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af180156105a1576106355750f35b8161063f91611522565b61021a5780f35b5050fd5b503461021a578060031936011261021a576106636117d3565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156106ba5781809160046040518094819363bb9fe6bf60e01b83525af180156105a1576106355750f35b50fd5b503461021a578060031936011261021a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021a578060031936011261021a576020600254604051908152f35b50602036600319011261021a576001600160a01b0361073c611467565b6107446117ef565b168015610865573415610856578082526005602052610767346040842054611560565b6004541161084757808252600560205260408220610786348254611560565b9055816001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156102eb57816024916040519283809263b760faf960e01b825230600483015234905af180156105a157610832575b505034907f1dbbf474736d6415d6a265fabee708fe6e988f6fd0c9d870ded36cab380898dd8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161083c91611522565b6102eb57815f6107e4565b6305d163b560e11b8252600482fd5b6333a6177160e11b8252600482fd5b63016e7bd760e61b8252600482fd5b50602036600319011261021a57610889611467565b6108916117d3565b803b610908576001600160a01b031680156108f957600154908073ffffffffffffffffffffffffffffffffffffffff198316176001556001600160a01b033392167fc6bc29e495f43077b898bfa29b8be68f4c836ccf780f9f7782f916dfd3874f158480a480f35b633fd0943d60e11b8252600482fd5b631f47525f60e21b8252600482fd5b503461021a57602036600319011261021a5760043567ffffffffffffffff81116102eb57610949903690600401611493565b610952916115c4565b959794938694604094929451996001600160a01b038b9a168a5265ffffffffffff1660208a015265ffffffffffff16604089015263ffffffff1660608801526001600160801b031660808701526001600160801b031660a086015260c0850160e090528160e08601526101008501378183016101000152601f1990601f01168101036101000190f35b50602036600319011261021a576004356109f36117d3565b806004547fcacd94bd1e7bb1185c816a740d9439bc8eff8159f6f4ffad8d306b5aca2ebd928480a360045580f35b503461021a578060031936011261021a576020638b78c6d819546001600160a01b0360405191168152f35b50604036600319011261021a57610a61611467565b60243590811515809203610afc576001600160a01b0390610a806117d3565b16908115610aed5781835260066020528060ff604085205416151503610aa4578280f35b60207fd20b41feac4c77c85eaf676a2d91056dc1b6ba4cc02253745a3152ca4f23d87991838552600682526040852060ff1981541660ff8316179055604051908152a25f808280f35b63016e7bd760e61b8352600483fd5b8280fd5b503461021a57608036600319011261021a576003600435101561021a5760243567ffffffffffffffff81116102eb57610b3f6060913690600401611493565b90809291610b4b611870565b810103126102eb578035906001600160a01b038216809203610afc5760208101359063ffffffff82168092036102e7576040013591610bb2620f4240610baa610ba3610b9b6064356002546118e7565b604435611560565b94856118e7565b049283611581565b926001600160a01b03600154168552600560205260408520610bd5858254611560565b90558280821115610c2a57610be991611581565b8185526005602052610c0060408620918254611560565b90555b7f683b3fc4c8726e960b5b0aa3838c1071e2a9b7045fcd4dfc953fc1092923f5378480a480f35b90610c3491611581565b8185526005602052610c4b60408620918254611581565b9055610c03565b50602036600319011261021a57600435610c6a6117d3565b620186a08111610ca257600254816002557f33ddf610723ec48e858790576fb3294cc312fcbd937c1475d53e3673145488eb8380a380f35b63313db2a560e11b8252600482fd5b508060031936011261021a57610cc56117d3565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b50602036600319011261021a57610d11611467565b610d196117d3565b803b610d75576001600160a01b0381168015610d66576001600160a01b0383541691835533917fe1f62c0e6d7bb6d470828565415bf2e87dbfea50e52d2d753788b529bd0c6d628480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b503461021a57604036600319011261021a57610d9e611467565b6001600160a01b03166024358115610e76578015610e6757338352600560205260408320548111610e58577fe1a007fa1edbdbd989490b46b37c8a7342e8f2f1162a20078a80a9528ab0a149916040918251610df9816114f2565b818152600260208201848152858301904282523389526007602052868920935184556001600160a01b036001850191511673ffffffffffffffffffffffffffffffffffffffff198254161790555191015582519182526020820152a180f35b6345f34ee560e01b8352600483fd5b6339d3420560e11b8352600483fd5b6392bc9df360e01b8352600483fd5b508060031936011261021a5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b503461021a57606036600319011261021a5760043567ffffffffffffffff81116102eb5761012060031982360301126102eb576020610f1a606092610f0e611870565b604435906004016118fa565b604092919251948593604085528051938491826040880152018686015e8383018501526020830152601f01601f19168101030190f35b503461021a57606036600319011261021a576004356001600160a01b0381168091036102eb57610f7e61147d565b60443591610f8a6117d3565b610f926117ef565b6001600160a01b03821691821561104857601452826034526fa9059cbb00000000000000000000000084526020846044601082855af1806001865114161561102a575b50836034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b3d823b1517101561103b575f610fd5565b6390b8ec1884526004601cfd5b6392bc9df360e01b8552600485fd5b503461021a578060031936011261021a576020600454604051908152f35b503461021a57602036600319011261021a5761108f611467565b6110976117ef565b6001600160a01b03811690818352600760205260408320604051916110bb836114f2565b8154835260026001600160a01b036001840154169260208501938452015460408401908082521561125857516110fa916110f49061184a565b90611560565b8042106112465750828452600560205260408420548251818111156112415750805b8084521561123257825161112f91611581565b8385526005602052604085205582845260076020525f6002604086208281558260018201550155836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166001600160a01b038351168451823b156102e7576044849283604051958694859363040b850f60e31b8552600485015260248401525af180156105a15761121d575b50506001600160a01b039051169051917f926a144b6fffc1d73f115b81af7ec66a7c12aed0ff73197c39a683753fc1d9258480a4807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b8161122791611522565b6102e757835f6111c3565b6339d3420560e11b8552600485fd5b61111c565b63fb817d3d60e01b8552600452602484fd5b6336fbdb4f60e01b8652600486fd5b508060031936011261021a5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461021a578060031936011261021a576001600160a01b036020915416604051908152f35b503461021a57604036600319011261021a576004906112f5611467565b5063ad42eb9960e01b8152fd5b50604036600319011261021a57611317611467565b6001600160a01b036024359161132b6117d3565b6113336117ef565b168280808085855af13d156113c2573d61134c81611544565b9061135a6040519283611522565b81528460203d92013e5b156113b3577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3807f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d80f35b6327fcd9d160e01b8352600483fd5b611364565b5060203660031901126114635760043563ffffffff8116809103611463576113ed6117d3565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b15611463575f90602460405180948193621cb65b60e51b8352600483015234905af180156114585761144a575080f35b61145691505f90611522565b005b6040513d5f823e3d90fd5b5f80fd5b600435906001600160a01b038216820361146357565b602435906001600160a01b038216820361146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020838186019501011161146357565b9181601f840112156114635782359167ffffffffffffffff8311611463576020808501948460051b01011161146357565b6060810190811067ffffffffffffffff82111761150e57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761150e57604052565b67ffffffffffffffff811161150e57601f01601f191660200190565b9190820180921161156d57565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161156d57565b919091356001600160d01b0319811692600681106115aa575050565b6001600160d01b0319929350829060060360031b1b161690565b9190918260481161146357603481013560601c9280604e11611463576115ee60066048840161158e565b60d01c9281605411611463576116086006604e850161158e565b60d01c928260581161146357605481013560e01c926024811061146357601482013560801c926034821061146357602483013560801c92605801916057190190565b903590601e1981360301821215611463570180359067ffffffffffffffff82116114635760200191813603831361146357565b92919261168982611544565b916116976040519384611522565b829481845281830111611463578281602093845f960137010152565b929093916116ce6116c7604086018661164a565b369161167d565b60208151910120946116e66116c7606087018761164a565b60208151910120946116fb60e082018261164a565b6034116114635760405196602088019883356001600160a01b03168a52602084013560408a015260608901526080880152608082013560a08801526014013560c087015260a081013560e087015260c0013561010086015246610120860152306101408601526001600160a01b031661016085015265ffffffffffff1661018084015265ffffffffffff166101a083015263ffffffff166101c08201526101c081526117a96101e082611522565b51902090565b91908110156117bf5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b638b78c6d8195433036117e257565b6382b429005f526004601cfd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c61183b5760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005d565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b03165f52600660205260ff60405f20541661186c5760035490565b5f90565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036118a257565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b8181029291811591840414171561156d57565b919060609260e0810190611917611911838361164a565b906115c4565b60409198969a95979c9350809250141580611c10575b611c01576002549661193f898761164a565b603411611463576024013560801c8811611bf2576119949061196585898f8e908b6116b3565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042092369161167d565b915f92604051926020820191805180604014611bb457604114611b7e5750505050505b6001600160a01b03805f54169116145f14611b785760015b15611b385763ffffffff1694621e848086118015611b2c575b611b1d576119f6908361164a565b6034116114635760246001600160801b0391013560801c166001600160801b03608084013516016001600160801b03811161156d576001600160801b03600a911602916001600160801b03831692830361156d57611a7b611a80926110f4620f4240956064611a746001600160801b0360c08d9801351680936118e7565b04986118e7565b6118e7565b046001600160a01b03611a938483611560565b971696875f52600560205260405f205410611b0e5765ffffffffffff60a01b93611ac66001600160d01b03199483611560565b885f526005602052611add60405f20918254611581565b90556040519760208901526040880152606087015260608652611b01608087611522565b60d01b169160a01b161790565b632771c53960e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b50620f424086106119e8565b505050600194955065ffffffffffff60a01b92506001600160d01b0319915060d01b169160a01b16171790604051611b71602082611522565b5f81529190565b5f6119cf565b808401515f1a60205260400151835292935090915b5f52516040526020604060805f60015afa505f81523d1851906040526119b7565b507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91929394955060400151601b8160ff1c01602052168352611b93565b630359a00f60e01b5f5260045ffd5b634be6321b60e01b5f5260045ffd5b50604181141561192d565b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea164736f6c634300081b000a","sourceMap":"1529:19054:11:-:0;;;;;;;;;-1:-1:-1;1529:19054:11;;;;;;;;;;3351:9;1529:19054;;3330:31;1529:19054;3339:10;3330:31;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;11885:237:158;;;;;1529:19054:11;11885:237:158;;;;1529:19054:11;;;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;12478:70:158;;;:::i;:::-;5431:37:11;;;5427:71;;5513:9;5524:23;;;;;;1529:19054;;;5549:3;5608:10;;;;;:::i;:::-;1529:19054;5588:15;;;;;;:::i;:::-;1529:19054;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;5568:19;1529:19054;;5568:50;1529:19054;;;;;;5568:50;:::i;:::-;1529:19054;;;5513:9;;1529:19054;;;;5427:71;-1:-1:-1;;;5477:21:11;;1529:19054;5477:21;;1529:19054;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;-1:-1:-1;;;;;1529:19054:11;;:::i;:::-;;;;11357:19;1529:19054;;;;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;1529:19054:11;;8479:183:158;;;;1529:19054:11;8479:183:158;;1529:19054:11;;;;;;;;;;;;;;1935:41;1529:19054;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;10506:526;;;;;;1529:19054:11;10506:526:158;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;1529:19054:11;10506:526:158;;1529:19054:11;;;;;;;;;;;;;10560:10;1529:19054;;10550:9;1529:19054;;-1:-1:-1;1529:19054:11;;;;;;;;;;;;;;10586:41;1529:19054;;;10560:10;1529:19054;;10586:41;1529:19054;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8070:22:11;;1529:19054;;8070:22;1529:19054;;;;;;;;;;;;;;-1:-1:-1;;;;;1867:27:11;1529:19054;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;1529:19054:11;3569:35:0;;1529:19054:11;;;3569:35:0;1529:19054:11;3569:10:0;-1:-1:-1;;;;;1529:19054:11;3569:35:0;;;;;;;;;;;1529:19054:11;;;;;;;;;3569:35:0;;;1529:19054:11;3569:35:0;;1529:19054:11;3569:35:0;;;;;;1529:19054:11;3569:35:0;;;:::i;:::-;;;1529:19054:11;;;;;;;;3569:35:0;;;;;;-1:-1:-1;3569:35:0;;;1529:19054:11;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;1529:19054:11;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;1529:19054:11;;;;;;;;;;;;;2107:41:0;;1529:19054:11;;2107:41:0;;1529:19054:11;2107:41:0;;;;;;;;1529:19054:11;;2107:41:0;;;;;:::i;:::-;1529:19054:11;;2107:41:0;1529:19054:11;2107:41:0;1529:19054:11;;;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;1529:19054:11;1770:24:0;;;;;1529:19054:11;;;;;;;;;;;;;1770:24:0;;;;;;;;;;1529:19054:11;;1770:24:0;1529:19054:11;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;1529:19054:11;;;;;;;;;;;;;;;;;;1900:29;1529:19054;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;-1:-1:-1;;;;;1529:19054:11;;:::i;:::-;1181:103:57;;:::i;:::-;1529:19054:11;3686:25;;3682:63;;3759:9;:14;3755:48;;1529:19054;;;3817:19;1529:19054;;3817:44;3759:9;1529:19054;;;;3817:44;:::i;:::-;1529:19054;;-1:-1:-1;3813:82:11;;1529:19054;;;3817:19;1529:19054;;;;;3905:45;3759:9;1529:19054;;3905:45;:::i;:::-;1529:19054;;3960:10;-1:-1:-1;;;;;3960:10:11;1529:19054;3960:55;;;;;1529:19054;3960:55;1529:19054;;;;;;;;;;3960:55;;4009:4;1529:19054;3960:55;;1529:19054;3759:9;3960:55;;;;;;;;;1529:19054;3759:9;;;4030:36;;;;;3550:68:61;637:66:57;3550:68:61;1529:19054:11;;3960:55;;;;;:::i;:::-;1529:19054;;3960:55;;;;3813:82;-1:-1:-1;;;3883:12:11;;1529:19054;3883:12;;3755:48;-1:-1:-1;;;3782:21:11;;1529:19054;3782:21;;3682:63;-1:-1:-1;;;3720:25:11;;1529:19054;6030:25;3720;1529:19054;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;6221:74:0;;7105:71:11;;-1:-1:-1;;;;;1529:19054:11;7190:29;;7186:68;;7290:12;1529:19054;;;-1:-1:-1;;1529:19054:11;;;7290:12;1529:19054;-1:-1:-1;;;;;7411:10:11;1529:19054;;7357:65;;;;1529:19054;;7186:68;-1:-1:-1;;;7228:26:11;;1529:19054;7228:26;;7105:71;-1:-1:-1;;;7146:30:11;;1529:19054;7146:30;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;12478:70:158;;:::i;:::-;1529:19054:11;;;6537:44;;;;1529:19054;;;;;;;;;;;;;;;;;;6813:405:158;;11523:61;-1:-1:-1;;;;;1529:19054:11;;;;;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;12478:70:158;;;:::i;:::-;1529:19054:11;5996:25;;;5992:63;;1529:19054;;;6069:20;1529:19054;;;;;;;;;;;6069:46;6065:186;;1529:19054;;;6065:186;1529:19054;6195:45;1529:19054;;;;6069:20;1529:19054;;;;;;;;;;;;;;;;;;;;;6195:45;6065:186;;1529:19054;;;5992:63;-1:-1:-1;;;6030:25:11;;1529:19054;6030:25;;1529:19054;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2192:298:0;;;;;;:::i;:::-;14714:47:11;;1529:19054;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;;15131:31;2134:3;15053:27;14926:56;14943:38;1529:19054;;14943:14;1529:19054;14943:38;:::i;:::-;1529:19054;;14926:56;:::i;:::-;15053:27;;;:::i;:::-;1529:19054;15131:31;;;:::i;:::-;1529:19054;-1:-1:-1;;;;;1529:19054:11;;;;;15225:19;1529:19054;;;;;15225:44;1529:19054;;;15225:44;:::i;:::-;1529:19054;;15284:34;;;;;;;15419;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15382:72;1529:19054;;;;;;15382:72;:::i;:::-;1529:19054;;15280:369;15785:57;;;;1529:19054;;15280:369;15587:34;;;;:::i;:::-;1529:19054;;;15225:19;1529:19054;;15550:72;1529:19054;;;;;;15550:72;:::i;:::-;1529:19054;;15280:369;;1529:19054;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;12478:70:158;;:::i;:::-;2371:7:11;7708:30;;7704:91;;7823:14;1529:19054;;7823:14;1529:19054;7884:38;;;;1529:19054;;7704:91;-1:-1:-1;;;7761:23:11;;1529:19054;7761:23;;1529:19054;;;;;;;;;;12478:70:158;;:::i;:::-;6813:405;;;;;;;;;;;;1529:19054:11;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;6221:74:0;;4550:77:11;;-1:-1:-1;;;;;1529:19054:11;;4641:32;;4637:99;;-1:-1:-1;;;;;1529:19054:11;;;4790:97;;;4955:10;4901:65;;;;;1529:19054;;4637:99;-1:-1:-1;;;4696:29:11;;1529:19054;4696:29;;4550:77;-1:-1:-1;;;4594:33:11;;1529:19054;4594:33;;1529:19054;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:11;;;8804:29;;8800:71;;8885:11;;8881:50;;8986:10;1529:19054;;8966:19;1529:19054;;;;;;9011:23;;9007:64;;9234:51;1529:19054;;;;;;;;:::i;:::-;;;;;;9117:102;;1529:19054;;;9117:102;;;9201:15;;1529:19054;;8986:10;1529:19054;;9081:9;1529:19054;;;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;;9234:51;1529:19054;;9007:64;-1:-1:-1;;;9043:28:11;;1529:19054;9043:28;;8881:50;-1:-1:-1;;;8905:26:11;;1529:19054;10118:26;8905;8800:71;-1:-1:-1;;;8842:29:11;;1529:19054;20401:29;8842;1529:19054;;;;;;;;;;9831:339:158;;;;;;;;;;;;;;;;1529:19054:11;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;16671:2704;1529:19054;2737:22:0;;;:::i;:::-;1529:19054:11;;;;;16671:2704;:::i;:::-;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;:::i;:::-;;;12478:70:158;;;:::i;:::-;1181:103:57;;:::i;:::-;-1:-1:-1;;;;;1529:19054:11;;20372:20;;;20368:62;;13252:754:162;;;;;;;;1529:19054:11;13252:754:162;1529:19054:11;13252:754:162;;;;;;1529:19054:11;13252:754:162;;;;;;;1529:19054:11;13252:754:162;;;;20515:59:11;1529:19054;;;20563:10;1529:19054;;20515:59;3550:68:61;637:66:57;3550:68:61;1529:19054:11;;13252:754:162;;;;;;;;;;;;;;;;;1529:19054:11;13252:754:162;;20368:62:11;-1:-1:-1;;;20401:29:11;;1529:19054;20401:29;;1529:19054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;1181:103:57;;:::i;:::-;-1:-1:-1;;;;;1529:19054:11;;;;;;9643:9;1529:19054;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;9679:34;9675:67;;1529:19054;9781:54;;9813:22;;;:::i;:::-;9781:54;;:::i;:::-;9849:15;;:36;9845:89;;-1:-1:-1;1529:19054:11;;;9969:19;1529:19054;;;;;;;;10024:27;;;;;;:57;;;1529:19054;;;10094:15;10091:53;;1529:19054;;10189:27;;;:::i;:::-;1529:19054;;;9969:19;1529:19054;;;;;;;;;9643:9;1529:19054;;-1:-1:-1;1529:19054:11;;;;;;;;;;;;;;10265:10;-1:-1:-1;;;;;10265:10:11;1529:19054;-1:-1:-1;;;;;1529:19054:11;;;;;10265:50;;;;;;1529:19054;;;;;;;;;;;;;10265:50;;1529:19054;10265:50;;1529:19054;;;;;10265:50;;;;;;;;10024:57;1529:19054;;-1:-1:-1;;;;;1529:19054:11;;;;;10330:45;;;;;3550:68:61;637:66:57;3550:68:61;1529:19054:11;;10265:50;;;;;:::i;:::-;1529:19054;;10265:50;;;;10091:53;-1:-1:-1;;;10118:26:11;;1529:19054;10118:26;;10024:57;;;9845:89;-1:-1:-1;;;9894:40:11;;1529:19054;;;9894:40;;9675:67;-1:-1:-1;;;9722:20:11;;1529:19054;9722:20;;1529:19054;;;;;;;;;;9239:383:158;;;;;;7972:9;9132:15;1529:19054:11;9239:383:158;;;;;;;;;1529:19054:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;-1:-1:-1;;1529:19054:11;;;;;;;;:::i;:::-;-1:-1:-1;;;;11086:22:11;;;1529:19054;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;:::i;:::-;-1:-1:-1;;;;;1529:19054:11;;12478:70:158;;;:::i;:::-;1181:103:57;;:::i;:::-;1529:19054:11;10772:35;;;;;;;;1529:19054;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;10821:8;10817:64;;10895:31;;;;3550:68:61;637:66:57;3550:68:61;1529:19054:11;;10817:64;-1:-1:-1;;;10852:18:11;;1529:19054;10852:18;;1529:19054;;;;-1:-1:-1;1529:19054:11;;-1:-1:-1;;1529:19054:11;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;1529:19054:11;1496:56:0;;;;;;1529:19054:11;;1496:56:0;1529:19054:11;;;;;;;;;1496:56:0;;1529:19054:11;1496:56:0;;1529:19054:11;1524:9:0;1496:56;;;;;;;;;1529:19054:11;;;1496:56:0;;;;1529:19054:11;1496:56:0;;:::i;:::-;1529:19054:11;1496:56:0;1529:19054:11;;;;;;;;;1496:56:0;1529:19054:11;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1529:19054:11;;;;;-1:-1:-1;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1529:19054:11;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;2255:22::-;;;;;-1:-1:-1;;;;;;2255:22:11;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;;2255:22:11;;;;;;;;;1529:19054;2255:22;;;:::o;12816:1250::-;;;;2255:22;1529:19054;2255:22;;;490:2:92;2255:22:11;;;;;13383:69;2255:22;1529:19054;2255:22;;;13376:77;2255:22;1529:19054;2255:22;;13376:77;:::i;:::-;2255:22;;13495:69;2255:22;1529:19054;2255:22;;;13488:77;2255:22;1529:19054;2255:22;;13488:77;:::i;:::-;2255:22;;13608:69;2255:22;1529:19054;2255:22;;;1529:19054;2255:22;;;;1529:19054;;13674:2;2255:22;-1:-1:-1;2255:22:11;;13337:2;2255:22;;875:44:0;;;;490:2:92;2255:22:11;-1:-1:-1;2255:22:11;;13674:2;2255:22;;875:44:0;;;;1529:19054:11;2255:22;;-1:-1:-1;;2255:22:11;;12816:1250::o;1529:19054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1529:19054:11;;;;;;:::o;11810:1000::-;;;;;1529:19054;12311:15;;;;;;:::i;:::-;1529:19054;;;:::i;:::-;12271:12;1529:19054;;;;12301:26;12355:15;1529:19054;12355:15;;;;;;:::i;1529:19054::-;12271:12;1529:19054;;;;12345:26;12446:23;;;;;;;:::i;:::-;490:2:92;2255:22:11;;;12311:15;1529:19054;12219:574;12271:12;12219:574;;823:61:92;;;-1:-1:-1;;;;;1529:19054:11;;;12271:12;;;1529:19054;12311:15;1529:19054;;;12355:15;1529:19054;;;12389:23;1529:19054;;;12389:23;;;1529:19054;12546:25;1529:19054;;;372:2:92;2255:22:11;1529:19054;12589:14;1529:19054;;;12546:25;;;1529:19054;12446:23;1529:19054;;;12589:14;;1529:19054;;;;;12621:13;1529:19054;;;;12660:4;1529:19054;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;;12219:574;;;;;;:::i;:::-;1529:19054;12196:607;;11810:1000;:::o;1529:19054::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;7292:355:158;-1:-1:-1;;7390:251:158;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:57;637:66;3321:69:61;1413:93:57;;1624:4;637:66;3550:68:61;1290:346:57:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:57;;-1:-1:-1;1465:30:57;20095:179:11;-1:-1:-1;;;;;1529:19054:11;;;20181:20;1529:19054;;;;;;;;20177:47;;20241:26;1529:19054;20095:179;:::o;20177:47::-;1529:19054;20216:8;:::o;5930:135:0:-;-1:-1:-1;;;;;6021:10:0;1529:19054:11;5999:10:0;:33;1529:19054:11;;5930:135:0:o;1529:19054:11:-;;;-1:-1:-1;;;1529:19054:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16671:2704::-;;;1529:19054;16890:22;17244:23;;;;17222:46;17244:23;;;;:::i;:::-;17222:46;;:::i;:::-;17581:2;17561:22;;;;;;;;;;;;;;:48;;;16671:2704;17557:110;;17681:14;1529:19054;4143:23:92;;;;;:::i;:::-;490:2;2255:22:11;;;434:2:92;2255:22:11;875:44:0;;;17681:46:11;;17677:106;;1529:19054;17824:65;;;;;;;;;:::i;:::-;13414:265:159;;;1529:19054:11;13414:265:159;;;;1529:19054:11;;;;:::i;:::-;17823:144;1529:19054;8517:1041:159;17581:2:11;8517:1041:159;;13414:265;8517:1041;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;17809:187;:202;;;;8517:1041:159;17809:202:11;18100:9;18096:102;;1529:19054;;18246:17;18260:3;18246:17;;:38;;;;17809:202;18242:96;;18526:23;;;;:::i;:::-;490:2:92;2255:22:11;;;434:2:92;-1:-1:-1;;;;;18518:85:11;2255:22;875:44:0;;;;-1:-1:-1;;;;;875:44:0;18462:23:11;;1529:19054;;;-1:-1:-1;;;;;1529:19054:11;;;;-1:-1:-1;;;;;18621:2:11;1529:19054;;;;-1:-1:-1;;;;;1529:19054:11;;;;;;;18755:62;18754:78;3382:14:92;18773:44:11;2134:3;3382:14:92;18666:3:11;18428:225;-1:-1:-1;;;;;3382:14:92;;;;1529:19054:11;;18428:225;;;:::i;:::-;1529:19054;18773:44;;:::i;18755:62::-;18754:78;:::i;:::-;1529:19054;-1:-1:-1;;;;;18870:26:11;;;;:::i;:::-;1529:19054;;;;;;18899:19;13414:265:159;1529:19054:11;17581:2;1529:19054;;;-1:-1:-1;18866:132:11;;-1:-1:-1;;;19045:26:11;;-1:-1:-1;;;;;;19045:26:11;;;:::i;:::-;1529:19054;;;18899:19;13414:265:159;1529:19054:11;19008:64;17581:2;1529:19054;;;;;19008:64;:::i;:::-;1529:19054;;17581:2;1529:19054;19093:51;13414:265:159;19093:51:11;;1529:19054;17581:2;2134:3;;1529:19054;;2134:3;;1529:19054;;19093:51;;;875:44:0;19093:51:11;;:::i;:::-;2683:8:88;1529:19054:11;;;2643:3:88;1529:19054:11;;2589:104:88;16671:2704:11;:::o;18866:132::-;18954:33;;;1529:19054;18954:33;13414:265:159;1529:19054:11;18954:33;18242:96;18307:20;;;1529:19054;18307:20;13414:265:159;1529:19054:11;18307:20;18246:38;18267:17;18281:3;18267:17;;18246:38;;18096:102;18137:49;;;8517:1041:159;18137:49:11;;;-1:-1:-1;;;18137:49:11;;-1:-1:-1;;;;;;18137:49:11;;2683:8:88;1529:19054:11;;;2643:3:88;1529:19054:11;;2589:104:88;;1529:19054:11;17581:2;1529:19054;;13414:265:159;1529:19054:11;;:::i;:::-;;;;18125:62;;:::o;17809:202::-;1529:19054;17809:202;;8517:1041:159;;;;;1529:19054:11;8517:1041:159;13414:265;8517:1041;17581:2:11;8517:1041:159;;;;;;-1:-1:-1;8517:1041:159;;;1529:19054:11;8517:1041:159;;17581:2:11;8517:1041:159;13414:265;17581:2:11;875:44:0;1529:19054:11;8517:1041:159;;;;1529:19054:11;8517:1041:159;;;;;;17581:2:11;8517:1041:159;;;;;;;;;;;;17581:2:11;8517:1041:159;;;;;;;13414:265;8517:1041;;;;;;17677:106:11;17750:22;;;1529:19054;17750:22;;1529:19054;17750:22;17557:110;17632:24;;;1529:19054;17632:24;;1529:19054;17632:24;17561:48;17587:22;17607:2;17587:22;;;17561:48;;6145:1089:158;-1:-1:-1;;;;;6813:405:158;;;;;;-1:-1:-1;6813:405:158;;-1:-1:-1;;6813:405:158;6145:1089::o","linkReferences":{},"immutableReferences":{"17":[{"start":1320,"length":32},{"start":1497,"length":32},{"start":1646,"length":32},{"start":1757,"length":32},{"start":1939,"length":32},{"start":4449,"length":32},{"start":5111,"length":32},{"start":6266,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","cancelOwnershipHandover()":"54d1f13d","cancelWithdrawalRequest()":"e714a028","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","depositFor(address)":"aa67c919","entryPoint()":"b0d691fe","executeWithdrawalRequest(address)":"3261fd58","feeCollector()":"c415b95c","getBalance(address)":"f8b2cb4f","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":"def04257","minDeposit()":"41b3d185","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","parsePaymasterAndData(bytes)":"94d4ad60","paymasterIdBalances(address)":"a40a7ddc","paymasterIdWithdrawalDelay()":"f0c12a32","postOp(uint8,bytes,uint256,uint256)":"7c627b21","refundBalances(address[],uint256[])":"f8cf826d","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setFeeCollector(address)":"a42dce80","setMinDeposit(uint256)":"8fcc9cfb","setSigner(address)":"6c19e783","setTrustedPaymasterId(address,bool)":"8c253a39","setUnaccountedGas(uint256)":"73acf542","submitWithdrawalRequest(address,uint256)":"59ffb130","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","unlockStake()":"bb9fe6bf","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawEth(address,uint256)":"1b9a91a4","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPointArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymasterIdWithdrawalDelayArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositArg\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsForPaymasterId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFundsInGasTank\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLengths\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LowDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestSubmitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PaymasterIdCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PostOpGasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"clearanceTime\",\"type\":\"uint256\"}],\"name\":\"RequestNotClearedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitRequestInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UseDepositForInstead\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"FeeCollectorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"FixedPriceMarkupChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_charge\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_premium\",\"type\":\"uint256\"}],\"name\":\"GasBalanceDeducted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_paymasterId\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"GasWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"TrustedPaymasterIdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UnaccountedGasChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"VerifyingSignerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"WithdrawalRequestCancelledFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequestSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"executeWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"}],\"name\":\"parsePaymasterAndData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"paymasterValidationGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"paymasterPostOpGasLimit\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"paymasterIdBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymasterIdWithdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"paymasterIds\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"refundBalances\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinDeposit\",\"type\":\"uint256\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"paymasterId\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isTrusted\",\"type\":\"bool\"}],\"name\":\"setTrustedPaymasterId\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"submitWithdrawalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"livingrockrisesShivaanshK\",\"details\":\"This contract is used to sponsor the transaction fees of the user operations Uses a verifying signer to provide the signature if predetermined conditions are met regarding the user operation calldata. Also this paymaster is Singleton in nature which means multiple Dapps/Wallet clients willing to sponsor the transactions can share this paymaster. Maintains it's own accounting of the gas balance for each Dapp/Wallet client and Manages it's own deposit on the EntryPoint.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"cancelWithdrawalRequest()\":{\"details\":\"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"deposit()\":{\"details\":\"Override the default implementation.\"},\"depositFor(address)\":{\"details\":\"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees\",\"params\":{\"paymasterId\":\"dapp identifier for which deposit is being made\"}},\"executeWithdrawalRequest(address)\":{\"details\":\"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period\",\"params\":{\"paymasterId\":\"paymasterId (Dapp Depositor address)\"}},\"getBalance(address)\":{\"details\":\"get the current deposit for paymasterId (Dapp Depositor address)\",\"params\":{\"paymasterId\":\"dapp identifier\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"refundBalances(address[],uint256[])\":{\"details\":\"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.\",\"params\":{\"amounts\":\"The amounts to refund\",\"paymasterIds\":\"The paymasterIds to refund\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setFeeCollector(address)\":{\"details\":\"Set a new fee collector address. Can only be called by the owner of the contract.\",\"params\":{\"newFeeCollector\":\"The new address to be set as the fee collector.\"}},\"setMinDeposit(uint256)\":{\"details\":\"Set a new minimum deposit value. Can only be called by the owner of the contract.\",\"params\":{\"newMinDeposit\":\"The new minimum deposit value to be set.\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setTrustedPaymasterId(address,bool)\":{\"details\":\"Set a new trusted paymasterId. Can only be called by the owner of the contract.\",\"params\":{\"isTrusted\":\"Whether the paymasterId is trusted or not.\",\"paymasterId\":\"The paymasterId to be set as trusted.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedGas value.\",\"params\":{\"value\":\"The new value to be set as the unaccountedGas.\"}},\"submitWithdrawalRequest(address,uint256)\":{\"details\":\"Submit a withdrawal request for the paymasterId (Dapp Depositor address)\",\"params\":{\"amount\":\"amount to withdraw\",\"withdrawAddress\":\"address to send the funds to\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"params\":{\"amount\":\"- Amount to withdraw.\",\"withdrawAddress\":\"- Target to send to.\"}}},\"title\":\"BiconomySponsorshipPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"CanNotWithdrawZeroAmount()\":[{\"notice\":\"Throws when trying to withdraw zero amount\"}],\"DepositCanNotBeZero()\":[{\"notice\":\"Throws when the 0 has been provided as deposit\"}],\"FeeCollectorCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InsufficientFunds()\":[{\"notice\":\"Throws when insufficient funds to withdraw\"}],\"InsufficientFundsForPaymasterId()\":[{\"notice\":\"Throws when insufficient funds for paymasterid\"}],\"InsufficientFundsInGasTank()\":[{\"notice\":\"Thrown when trying to withdraw more than the balance\"}],\"InvalidArrayLengths()\":[{\"notice\":\"Thrown when the array lengths are not equal\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"LowDeposit()\":[{\"notice\":\"Thrown when deposit is too low to reach minDeposit\"}],\"NoRequestSubmitted()\":[{\"notice\":\"Throws when no request has been submitted\"}],\"PaymasterIdCanNotBeZero()\":[{\"notice\":\"Throws when the paymaster address provided is address(0)\"}],\"PostOpGasLimitTooLow()\":[{\"notice\":\"Throws when postOp gas limit is too low\"}],\"RequestNotClearedYet(uint256)\":[{\"notice\":\"Thrown when trying to execute withdrawal request before delay has passed\"}],\"SubmitRequestInstead()\":[{\"notice\":\"Thrown when trying to directly withdraw instead of submitting a request\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"UseDepositForInstead()\":[{\"notice\":\"Throws when calling deposit()\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"setFeeCollector(address)\":{\"notice\":\"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged.\"},\"setSigner(address)\":{\"notice\":\"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"withdrawTo(address,uint256)\":{\"notice\":\"Withdraw value from the deposit.\"}},\"notice\":\"Based on Infinitism's 'VerifyingPaymaster' contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":\"BiconomySponsorshipPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomySponsorshipPaymasterErrors.sol\":{\"keccak256\":\"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5\",\"dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB\"]},\"contracts/interfaces/IBiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc\",\"dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz\"]},\"contracts/sponsorship/BiconomySponsorshipPaymaster.sol\":{\"keccak256\":\"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480\",\"dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPointArg","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"address","name":"feeCollectorArg","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"paymasterIdWithdrawalDelayArg","type":"uint256"},{"internalType":"uint256","name":"minDepositArg","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[],"type":"error","name":"CanNotWithdrawZeroAmount"},{"inputs":[],"type":"error","name":"DepositCanNotBeZero"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeContract"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InsufficientFunds"},{"inputs":[],"type":"error","name":"InsufficientFundsForPaymasterId"},{"inputs":[],"type":"error","name":"InsufficientFundsInGasTank"},{"inputs":[],"type":"error","name":"InvalidArrayLengths"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"LowDeposit"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"NoRequestSubmitted"},{"inputs":[],"type":"error","name":"PaymasterIdCanNotBeZero"},{"inputs":[],"type":"error","name":"PostOpGasLimitTooLow"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"uint256","name":"clearanceTime","type":"uint256"}],"type":"error","name":"RequestNotClearedYet"},{"inputs":[],"type":"error","name":"SubmitRequestInstead"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[],"type":"error","name":"UseDepositForInstead"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"FeeCollectorChanged","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"FixedPriceMarkupChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_charge","type":"uint256","indexed":true},{"internalType":"uint256","name":"_premium","type":"uint256","indexed":true}],"type":"event","name":"GasBalanceDeducted","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasDeposited","anonymous":false},{"inputs":[{"internalType":"address","name":"_paymasterId","type":"address","indexed":true},{"internalType":"address","name":"_to","type":"address","indexed":true},{"internalType":"uint256","name":"_value","type":"uint256","indexed":true}],"type":"event","name":"GasWithdrawn","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"MinDepositChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":true},{"internalType":"bool","name":"isTrusted","type":"bool","indexed":false}],"type":"event","name":"TrustedPaymasterIdSet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UnaccountedGasChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"VerifyingSignerChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address","indexed":false}],"type":"event","name":"WithdrawalRequestCancelledFor","anonymous":false},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address","indexed":false},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"WithdrawalRequestSubmitted","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"cancelWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"payable","type":"function","name":"depositFor"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"executeWithdrawalRequest"},{"inputs":[],"stateMutability":"view","type":"function","name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"}],"stateMutability":"view","type":"function","name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"bytes","name":"paymasterAndData","type":"bytes"}],"stateMutability":"pure","type":"function","name":"parsePaymasterAndData","outputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint128","name":"paymasterValidationGasLimit","type":"uint128"},{"internalType":"uint128","name":"paymasterPostOpGasLimit","type":"uint128"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"paymasterIdBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"paymasterIdWithdrawalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address[]","name":"paymasterIds","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"refundBalances"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"stateMutability":"payable","type":"function","name":"setFeeCollector"},{"inputs":[{"internalType":"uint256","name":"newMinDeposit","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setMinDeposit"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"address","name":"paymasterId","type":"address"},{"internalType":"bool","name":"isTrusted","type":"bool"}],"stateMutability":"payable","type":"function","name":"setTrustedPaymasterId"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"submitWithdrawalRequest"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"cancelWithdrawalRequest()":{"details":"Cancel a withdrawal request for the paymasterId (Dapp Depositor address)"},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"deposit()":{"details":"Override the default implementation."},"depositFor(address)":{"details":"Add a deposit for this paymaster and given paymasterId (Dapp Depositor address), used for paying for transaction fees","params":{"paymasterId":"dapp identifier for which deposit is being made"}},"executeWithdrawalRequest(address)":{"details":"Execute a withdrawal request for the paymasterId (Dapp Depositor address) Request must be cleared by the withdrawal delay period","params":{"paymasterId":"paymasterId (Dapp Depositor address)"}},"getBalance(address)":{"details":"get the current deposit for paymasterId (Dapp Depositor address)","params":{"paymasterId":"dapp identifier"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"refundBalances(address[],uint256[])":{"details":"Refund balances for multiple paymasterIds PM charges more than it should to protect itself. This function is used to refund the extra amount when the real consumption is known.","params":{"amounts":"The amounts to refund","paymasterIds":"The paymasterIds to refund"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setFeeCollector(address)":{"details":"Set a new fee collector address. Can only be called by the owner of the contract.","params":{"newFeeCollector":"The new address to be set as the fee collector."}},"setMinDeposit(uint256)":{"details":"Set a new minimum deposit value. Can only be called by the owner of the contract.","params":{"newMinDeposit":"The new minimum deposit value to be set."}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setTrustedPaymasterId(address,bool)":{"details":"Set a new trusted paymasterId. Can only be called by the owner of the contract.","params":{"isTrusted":"Whether the paymasterId is trusted or not.","paymasterId":"The paymasterId to be set as trusted."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedGas value.","params":{"value":"The new value to be set as the unaccountedGas."}},"submitWithdrawalRequest(address,uint256)":{"details":"Submit a withdrawal request for the paymasterId (Dapp Depositor address)","params":{"amount":"amount to withdraw","withdrawAddress":"address to send the funds to"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"params":{"amount":"- Amount to withdraw.","withdrawAddress":"- Target to send to."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),address,uint48,uint48,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"setFeeCollector(address)":{"notice":"If _newFeeCollector is set to zero address, it will revert with an error. After setting the new fee collector address, it will emit an event FeeCollectorChanged."},"setSigner(address)":{"notice":"If _newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event VerifyingSignerChanged."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"withdrawTo(address,uint256)":{"notice":"Withdraw value from the deposit."}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":"BiconomySponsorshipPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomySponsorshipPaymasterErrors.sol":{"keccak256":"0xf7bfb4912e8d118a3f1f4f82a19834a686f105ad142afb7203adfa2ff38d7000","urls":["bzz-raw://88593bfdb72f8585853a91e675367ac718d1daf5e62c4192459d73cbaeeb07a5","dweb:/ipfs/QmXFRjaPKuS9d1GmMxvrS4JZN3KBmWWYt8VNJZxLGE2jkB"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomySponsorshipPaymaster.sol":{"keccak256":"0x37f183fefaab68aa36dba3045c2c232f757de24faba3db2e5b5b20baa6e4a6f5","urls":["bzz-raw://9fc1df58e44e9c3fd2c09d5d2f7bab83336d1cffde987c9d2575a4d82a04c7cc","dweb:/ipfs/QmWAjzjybXBztdnrnRhRYWSq7rQ56Lou5Amhf8C6wohCdz"],"license":"GPL-3.0"},"contracts/sponsorship/BiconomySponsorshipPaymaster.sol":{"keccak256":"0x8a37e63657c335f3967bbd230e03d8379132000d9ba9546de1c781e06cebc290","urls":["bzz-raw://33e2c736aff8eff527a19ba6f4d6056d7d37918abe81f18b12392229e583a480","dweb:/ipfs/QmbL4vCJ6r3XWicinxcqwT9cN7eGZqhzBMzKC9d9Ab8zqN"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":11} \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json index a6bb22e..914db5d 100644 --- a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json +++ b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"entryPoint","type":"address","internalType":"contract IEntryPoint"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetDecimalsArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetToUsdOracleArg","type":"address","internalType":"contract IOracle"},{"name":"nativeAssetPriceExpiryDurationArg","type":"uint256","internalType":"uint256"},{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"},{"name":"wrappedNativeArg","type":"address","internalType":"address"},{"name":"independentTokensArg","type":"address[]","internalType":"address[]"},{"name":"tokenInfosArg","type":"tuple[]","internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]},{"name":"swappableTokens","type":"address[]","internalType":"address[]"},{"name":"swappableTokenPoolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"addToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenInfo","type":"tuple","internalType":"struct IBiconomyTokenPaymaster.TokenInfo","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenPrice","type":"uint256","internalType":"uint256"},{"name":"appliedPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceExpiryDuration","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceMarkup","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"independentTokenDirectory","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isTokenSupported","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"nativeAssetToUsdOracle","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOracle"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setNativeAssetToUsdOracle","inputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceExpiryDurationForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newPriceExpiryDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceMarkupForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newIndependentPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"newUnaccountedGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUniswapRouter","inputs":[{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"swapTokenAndDeposit","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenAmount","type":"uint256","internalType":"uint256"},{"name":"minEthAmountRecevied","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"tokenToPools","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"uniswapRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IV3SwapRouter"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateSwappableTokens","inputs":[{"name":"tokenAddresses","type":"address[]","internalType":"address[]"},{"name":"poolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawERC20Full","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20Full","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"wrappedNative","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"AddedToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"oracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"PaidGasInTokens","inputs":[{"name":"userOpSender","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenCharge","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"priceMarkup","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"tokenPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"userOpHash","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"RemovedFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SwappableTokensAdded","inputs":[{"name":"tokenAddresses","type":"address[]","indexed":true,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"SwappingReverted","inputs":[{"name":"tokenIn","type":"address","indexed":false,"internalType":"address"},{"name":"amountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"reason","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"TokensSwappedAndRefilledEntryPoint","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"tokenAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amountOut","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFeeCollector","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFixedPriceMarkup","inputs":[{"name":"oldValue","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"newValue","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"UpdatedNativeAssetOracle","inputs":[{"name":"oldOracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"newOracle","type":"address","indexed":true,"internalType":"contract IOracle"}],"anonymous":false},{"type":"event","name":"UpdatedPriceExpiryDuration","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedUnaccountedGas","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedVerifyingSigner","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"FailedToChargeTokens","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidPaymasterMode","inputs":[]},{"type":"error","name":"InvalidPriceExpiryDuration","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidTokenAddress","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"OraclePriceExpired","inputs":[]},{"type":"error","name":"OraclePriceNotPositive","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TokenNotSupported","inputs":[]},{"type":"error","name":"TokensAndAmountsLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndInfoLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndPoolsLengthMismatch","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UniswapReverted","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"UnwrappingReverted","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x6101006040523461018757613156803803809161001b8261019f565b610100396101a0816101000191126101875761003561021a565b61004061012061022a565b61004b61014061022a565b610160516101805161005e6101a061022a565b6101c05161006d6101e061022a565b9161007961020061022a565b610220519094906001600160401b038111610187578a61009c916101000161024c565b610240519096906001600160401b038111610187578b6100bf91610100016102b3565b610260519098906001600160401b038111610187578c6100e2916101000161024c565b61028051909a906001600160401b0381116101875761010e9d6101089161010001610358565b9b61040e565b60405161285b90816108fb82396080518181816106b10152818161082d015281816108df01528181610c5c01528181610d04015281816118b001528181611a3001528181611b6901526121cc015260a0518181816102e00152818161172e0152611f74015260c05181610ebe015260e0518161207c0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b610100601f91909101601f19168101906001600160401b038211908210176101c657604052565b61018b565b606081019081106001600160401b038211176101c657604052565b601f909101601f19168101906001600160401b038211908210176101c657604052565b6001600160a01b0381160361018757565b610100519061022882610209565b565b519061022882610209565b6001600160401b0381116101c65760051b60200190565b9080601f8301121561018757815161026381610235565b9261027160405194856101e6565b81845260208085019260051b82010192831161018757602001905b8282106102995750505090565b6020809183516102a881610209565b81520191019061028c565b81601f82011215610187578051906102ca82610235565b926102d860405194856101e6565b8284526020606081860194028301019181831161018757602001925b828410610302575050505090565b6060848303126101875760405190610319826101cb565b845161032481610209565b825260208501519063ffffffff821682036101875782602092836060950152604087015160408201528152019301926102f4565b9080601f830112156101875781519061037082610235565b9261037e60405194856101e6565b82845260208085019360051b82010191821161018757602001915b8183106103a65750505090565b825162ffffff8116810361018757815260209283019201610399565b90816020910312610187575160ff811681036101875790565b6040513d5f823e3d90fd5b80518210156103fa5760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b92989c9b9193959697610424959a9b91986105de565b60c05260e052803b6105b7576001600160a01b038116156105a85762030d40821161059957855184510361058a5760405163313ce56760e01b81526020816004816001600160a01b0388165afa9081156105855760089160ff915f91610556575b501603610547576002556003556004555f5b835181101561054157806104b66104b0600193856103e6565b51610831565b61053b6104c382856103e6565b516104fa6104e16104d4858a6103e6565b516001600160a01b031690565b6001600160a01b03165f90815260056020526040902090565b81518154602084015163ffffffff60a01b60a09190911b166001600160a01b039092166001600160c01b031990911617178155604090910151600190910155565b01610497565b50509050565b631c5f5f5d60e11b5f5260045ffd5b610578915060203d60201161057e575b61057081836101e6565b8101906103c2565b5f610485565b503d610566565b6103db565b631b90532360e21b5f5260045ffd5b63313db2a560e11b5f5260045ffd5b6381618de160e01b5f5260045ffd5b63edc30c2760e01b5f5260045ffd5b90816020910312610187575180151581036101875790565b9193946105ed9193969561073b565b825185510361072c57600180546001600160a01b0319166001600160a01b0390921691909117905560a0525f5b81518110156105415780602061069161064961063d61063d6104d45f97896103e6565b6001600160a01b031690565b60015461065e906001600160a01b031661063d565b60405163095ea7b360e01b81526001600160a01b0390911660048201525f19602482015294859283919082906044820190565b03925af191821561058557600192610700575b506106fa6106be6106b583886103e6565b5162ffffff1690565b6106e76106ce6104d485886103e6565b6001600160a01b03165f90815260208190526040902090565b9062ffffff1662ffffff19825416179055565b0161061a565b6107209060203d8111610725575b61071881836101e6565b8101906105c6565b6106a4565b503d61070e565b63552a04c960e01b5f5260045ffd5b8060601b15610824576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b60048201526020816024816001600160a01b0386165afa908115610585575f91610805575b50156107c057608052565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b61081e915060203d6020116107255761071881836101e6565b5f6107b5565b637448fbae5f526004601cfd5b805160049060209061084b906001600160a01b031661063d565b60405163313ce56760e01b815292839182905afa9081156105855760089160ff915f916108db575b5016036105475763ffffffff610890602083015163ffffffff1690565b16621e848081119081156108ce575b506108bf576040015142106108b057565b6347b4803b60e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b620f42409150105f61089f565b6108f4915060203d60201161057e5761057081836101e6565b5f61087356fe6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:8:-:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;:::o;:::-;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2174:25049:8;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;2870:7;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;2870:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;;2870:7;;;;;;;;3639:2172;;;;;;;;;;;;;;;;;:::i;:::-;4543:47;;4600:71;;6221:74:0;;4682:102:8;;-1:-1:-1;;;;;2174:25049:8;;4797:32;4793:99;;2870:7;4905:42;;4901:103;;2870:7;;;;5018:51;5014:118;;2174:25049;;-1:-1:-1;;;5145:36:8;;;2174:25049;5145:36;2174:25049;-1:-1:-1;;;;;2174:25049:8;;5145:36;;;;;;;5185:1;5145:36;2870:7;5145:36;4827:1;5145:36;;;3639:2172;2870:7;;5145:41;5141:179;;5361:231;;;;5145:36;5361:231;4827:1;5655:3;2870:7;;5622:31;;;;;5693:16;;;2870:7;5693:16;;;:::i;:::-;;;:::i;:::-;2870:7;5777:16;;;;:::i;:::-;;5724:50;5750:23;;;;;:::i;:::-;2870:7;-1:-1:-1;;;;;2174:25049:8;;2870:7;5750:23;-1:-1:-1;;;;;2174:25049:8;2870:7;;;;5724:25;2870:7;;;;;;;5724:50;2870:7;;;;;;;;-1:-1:-1;;;2174:25049:8;2870:7;;;;;-1:-1:-1;;;;;2174:25049:8;;;-1:-1:-1;;;;;;2870:7:8;;;;;;;;;;;;-1:-1:-1;2870:7:8;;;;;;;5607:13;;5622:31;;;;;3639:2172::o;5141:179::-;5286:23;;;4827:1;5286:23;5145:36;4827:1;5286:23;5145:36;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;5014:118::-;5092:29;;;4827:1;5092:29;;4827:1;5092:29;4901:103;4970:23;;;4827:1;4970:23;;4827:1;4970:23;4793:99;4852:29;;;4827:1;4852:29;;4827:1;4852:29;4682:102;4740:33;;;;;;;;2174:25049;;;;;;;;;;;;;;;;;;:::o;1264:723:9:-;;;;377:1683:48;1264:723:9;;;;377:1683:48;:::i;:::-;2870:7:8;;;;1446:41:9;1442:109;;2174:25049:8;2870:7;;-1:-1:-1;;;;;;2870:7:8;-1:-1:-1;;;;;2174:25049:8;;;2870:7;;;;;;1660:32:9;;-1:-1:-1;1742:3:9;2870:7:8;;1723:17:9;;;;;1768:9;1761:68;;:25;:17;1768:9;;-1:-1:-1;1768:9:9;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;;1761:25:9;1618:32;2174:25049:8;1787:22:9;;-1:-1:-1;;;;;2174:25049:8;;;1787:22:9;2174:25049:8;;-1:-1:-1;;;1761:68:9;;-1:-1:-1;;;;;2174:25049:8;;;1761:68:9;;;2174:25049:8;-1:-1:-1;;2174:25049:8;;;;;;;;;2870:7;2174:25049;;;;;;;1761:68:9;;;;;;;;;;1618:32;1761:68;;;1742:3;1894:20;1868:46;1894:20;;;;;:::i;:::-;2174:25049:8;;;;;1894:20:9;1868:23;1881:9;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;1720:1:9;2870:7:8;;;;;;;;;;;;1868:23:9;2174:25049:8;;;;;;;;;;;;1868:46:9;2870:7:8;1708:13:9;;1761:68;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;1442:109;1510:30;;;-1:-1:-1;1510:30:9;;-1:-1:-1;1510:30:9;1021:171:0;198:181:10;;;;;;-1:-1:-1;;;;;5710:347:129;-1:-1:-1;;5710:347:129;;;-1:-1:-1;5710:347:129;-1:-1:-1;;5710:347:129;2174:25049:8;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;2174:25049:8;;;3843:80:0;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;3843:80:0;;;;;;;-1:-1:-1;3843:80:0;;;1021:171;2174:25049:8;;;;1159:26:0;;1021:171::o;2174:25049:8:-;;;-1:-1:-1;;;2174:25049:8;;;3843:80:0;2174:25049:8;;;;3843:80:0;2174:25049:8;;;;;;;;;;;3843:80:0;;;;2174:25049:8;3843:80:0;2174:25049:8;3843:80:0;;;;;;;:::i;:::-;;;;198:181:10;;;;;;;24713:455:8;2870:7;;24797:27;;;;:25;;-1:-1:-1;;;;;2174:25049:8;2870:7;2174:25049;24797:25;2174:25049;;-1:-1:-1;;;24797:27:8;;2174:25049;;;;;24797:27;;;;;;;24828:1;24797:27;2870:7;24797:27;:16;:27;;;24713:455;2870:7;;24797:32;24793:93;;2174:25049;2870:7;24797:27;24899:21;;2870:7;2174:25049;;;;2870:7;2174:25049;3075:3;24899:41;;:87;;;;;24713:455;24895:145;;;2174:25049;25071:29;2870:7;25053:15;:47;25049:113;;24713:455::o;25049:113::-;25123:28;;;24797:16;25123:28;24797:27;:16;25123:28;24895:145;25009:20;;;24797:16;25009:20;24797:27;:16;25009:20;24899:87;2962:3;24944:42;;;24899:87;;;24797:27;;;;;;;;;;;;;;:::i;:::-;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:8:-:0;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;11885:237:129;;;;;2174:25049:8;11885:237:129;;;;2174:25049:8;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;2174:25049:8;;8479:183:129;;;;2174:25049:8;8479:183:129;;2174:25049:8;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;10506:526;;;;;;2174:25049:8;10506:526:129;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;2174:25049:8;10506:526:129;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;845:38:9;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;11937:17:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;11937:17;;;;;;;11958:1;11937:17;2174:25049;11937:17;;;;;2174:25049;;;11937:22;11933:140;;-1:-1:-1;;;;;2174:25049:8;;;12151:92;2174:25049;12151:92;12258:59;;;;2174:25049;;11933:140;-1:-1:-1;;;12039:23:8;;2174:25049;24852:23;12039;11937:17;;;;2174:25049;11937:17;2174:25049;11937:17;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2174:25049;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;24797:27;;;;;;;;;24828:1;24797:27;2174:25049;24797:27;;;;;2174:25049;;;24797:32;24793:93;;2174:25049;;;;3075:3;24899:41;;:87;;;;;2174:25049;24895:145;;;2174:25049;;25053:15;:47;25049:113;;-1:-1:-1;;;;;2174:25049:8;;;;;;;12788:25;2174:25049;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;2962:3;-1:-1:-1;;;;;;;2962:3:8;;;;;;;;;;;;2174:25049;;;;;;;-1:-1:-1;;;12909:39:8;;2174:25049;;;;12909:39;;;;;;;;12855:94;12909:39;2174:25049;12909:39;;;;;2174:25049;;;;;;;;;12855:94;2174:25049;;12909:39;;;;;;;;;;;;;;:::i;:::-;;;;25049:113;-1:-1:-1;;;25123:28:8;;2174:25049;11346:28;25123;24895:145;-1:-1:-1;;;25009:20:8;;2174:25049;10629:20;25009;24899:87;2962:3;24944:42;;;24899:87;;;24793:93;-1:-1:-1;;;24852:23:8;;2174:25049;24852:23;;24797:27;;;;2174:25049;24797:27;2174:25049;24797:27;;;;;;;:::i;:::-;;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1181:103:48;;:::i;:::-;15500:10:8;-1:-1:-1;;;;;15500:10:8;2174:25049;15500:55;;;;;2174:25049;15500:55;2174:25049;;;;;;;;;;15500:55;;15549:4;2174:25049;15500:55;;2174:25049;15529:9;15500:55;;;;;;;;;2174:25049;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;15500:55;;;;;:::i;:::-;2174:25049;;15500:55;;;;;2174:25049;;;;;;;;;15500:55;2174:25049;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;;;;;;;;;;12478:70:129;;:::i;:::-;3075:3:8;10465:45;;:95;;;;2174:25049;10461:199;;-1:-1:-1;;;;;2174:25049:8;;;;10704:25;2174:25049;;;;;;;;;;;;;;;;;2962:3;;-1:-1:-1;;;;2962:3:8;2174:25049;2962:3;;;-1:-1:-1;;;2962:3:8;;;;2174:25049;;;;10859:77;;;;2174:25049;;10461:199;-1:-1:-1;;;10629:20:8;;2174:25049;10629:20;;10465:95;10514:46;2962:3;10514:46;;10465:95;;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;2174:25049:8;3569:35:0;;2174:25049:8;;;;3569:35:0;2174:25049:8;3569:10:0;-1:-1:-1;;;;;2174:25049:8;3569:35:0;;;;;;;;;;2174:25049:8;;;;;;;;;3569:35:0;;2174:25049:8;3569:35:0;;2174:25049:8;3569:35:0;;;;;;2174:25049:8;3569:35:0;;;:::i;:::-;;;2174:25049:8;;;;;;;3569:35:0;;2174:25049:8;-1:-1:-1;2174:25049:8;;3569:35:0;;;-1:-1:-1;3569:35:0;;;2174:25049:8;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;2174:25049:8;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;2174:25049:8;;;;;;;;;;;;;2107:41:0;;2174:25049:8;;2107:41:0;;2174:25049:8;2107:41:0;;;;;;;;2174:25049:8;;2107:41:0;;;;;:::i;:::-;2174:25049:8;;2107:41:0;2174:25049:8;2107:41:0;2174:25049:8;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:129;;;;;:::i;:::-;2174:25049:8;;;;13882:44;13878:112;;14005:13;14047:3;2174:25049;;14020:25;;;;;14080:17;-1:-1:-1;;;;;14080:17:8;2174:25049;14080:17;;;:::i;:::-;2174:25049;;;14099:15;;;;:::i;:::-;2174:25049;;;-1:-1:-1;;;;;2174:25049:8;;;;;;4567:47:42;;;;2174:25049:8;;;4567:47:42;;;2174:25049:8;4567:47:42;;2174:25049:8;2132:17:9;;4567:47:42;2174:25049:8;;;4567:47:42;;;;;;;:::i;:::-;9138:199;;;;;;;;;;9353:80;;;14047:3:8;4629:45:42;;;4625:201;;14047:3:8;2174:25049;;;;;;;;;;;;;;;;;;;;14005:13;;4625:201:42;4717:43;4802:12;2174:25049:8;;;;;;;;4717:43:42;;;2174:25049:8;4717:43:42;;2174:25049:8;;4567:47:42;2174:25049:8;;;4567:47:42;4717:43;;;4567:47;4717:43;;:::i;:::-;;;:::i;:::-;4802:12;;:::i;:::-;4625:201;;;;9353:80;9365:67;;-1:-1:-1;9365:15:42;;9383:26;;;:30;;9365:67;9353:80;;;;9365:67;9416:16;;9365:67;;14020:25:8;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;14140:36;;;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;13878:112;-1:-1:-1;;;13949:30:8;;2174:25049;13949:30;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;12478:70:129;;:::i;:::-;-1:-1:-1;;3536:32:9;2174:25049:8;;;3536:32:9;2174:25049:8;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;2174:25049:8;1770:24:0;;;;;2174:25049:8;;;;;;;;;;;;;1770:24:0;;;;;;;;;;2174:25049:8;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;2174:25049:8;;;;;;;;;;;;;;;;;;2600:29;2174:25049;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;6813:405:129;;11523:61;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;19120:59;2174:25049;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;19120:25;2174:25049;;;19120:59;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2192:298:0;;;:::i;:::-;2174:25049:8;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;23033:290;;23515:15;23512:250;;2174:25049;;24151:109;2174:25049;24166:71;24182:55;24151:122;2174:25049;24184:27;2174:25049;;;;;;;;24184:27;:::i;:::-;24182:55;:::i;:::-;24166:71;;:::i;24151:122::-;24285:22;:43;2174:25049;;;;;;;;;;;;;;;24151:178;;;;:::i;:::-;24344:91;2174:25049;10384:740:133;;;2174:25049:8;10384:740:133;24416:4:8;2174:25049;10384:740:133;;;;2174:25049:8;10384:740:133;;;;;;;2174:25049:8;10384:740:133;2174:25049:8;10384:740:133;;;;;;2174:25049:8;10384:740:133;;;;;;;2174:25049:8;10384:740:133;2174:25049:8;10384:740:133;;2174:25049:8;10384:740:133;24340:353:8;24344:91;;;2174:25049;;;;;24456:115;2174:25049;;;;;;;;;;;;;;;;;;;;;;;24456:115;2174:25049;;24340:353;24609:73;2174:25049;24609:73;;;;;;;;2174:25049;24609:73;;2174:25049;;;;;;;;;;;;;24609:73;10384:740:133;;;;;;;;;2174:25049:8;-1:-1:-1;;;2174:25049:8;;;;;;;;23512:250;23559:23;;;;;:::i;:::-;23676:15;;23512:250;23673:79;-1:-1:-1;;;23718:19:8;;2174:25049;;23718:19;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;8365:9:8;8376:16;;;;;;3550:68:50;;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;8365:9;8430:8;2174:25049;-1:-1:-1;;;;;8430:8:8;;2174:25049;8430:8;;;;:::i;:::-;;:::i;:::-;2174:25049;;;;;;;;;;8430:33;;8457:4;2174:25049;8430:33;;2174:25049;8430:33;;;;;;;;;;;8365:9;8496:8;8514:6;2174:25049;8496:8;;;;;;;;:::i;:::-;8514:6;:::i;:::-;2174:25049;8365:9;;8430:33;;;2174:25049;8430:33;;;;;;;;;2174:25049;8430:33;;;:::i;:::-;;;2174:25049;;;;;;;8514:6;8430:33;;;;;-1:-1:-1;8430:33:8;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::i;:::-;;;;18334:25;2174:25049;;;;;18334:69;;2174:25049;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;12478:70:129;;:::i;:::-;2870:7:8;9791:42;;9787:103;;9927:14;2174:25049;9951:95;9927:14;9951:95;10060:59;;;;2174:25049;;9787:103;-1:-1:-1;;;9856:23:8;;2174:25049;9856:23;;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;;;;1055:34:9;2174:25049:8;;;;;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;6813:405;;;;;;;;;;;;2174:25049:8;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;12478:70:129;;:::i;:::-;6221:74:0;;9049:77:8;;-1:-1:-1;;;;;2174:25049:8;;9140:32;;9136:99;;-1:-1:-1;;;;;9264:15:8;2174:25049;;9289:97;9264:15;9289:97;9454:10;9400:65;;;;;2174:25049;;9136:99;-1:-1:-1;;;9195:29:8;;2174:25049;9195:29;;9049:77;-1:-1:-1;;;9093:33:8;;2174:25049;9093:33;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;12478:70:129;;:::i;:::-;2174:25049:8;;;;13282:25;2174:25049;;;;;;;;;;;;13336:39;;;;2174:25049;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;18714:25;2174:25049;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;12478:70:129;;;;:::i;:::-;1181:103:48;;:::i;:::-;7659:29:8;;;7655:99;;7792:9;7803:16;;;;;;3550:68:50;;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;7792:9;7855:8;7873:9;7855:8;;2174:25049;7855:8;;;;:::i;:::-;7873:9;;;;;;:::i;:::-;2174:25049;7873:9;;:::i;:::-;2174:25049;7792:9;;7655:99;-1:-1:-1;;;7711:32:8;;2174:25049;7711:32;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;:::i;:::-;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;;-1:-1:-1;;;7098:30:8;;7122:4;2174:25049;7098:30;;2174:25049;;;;;;-1:-1:-1;;;;;2174:25049:8;;7098:30;;;;;;;;;;;2174:25049;7168:6;;;;:::i;:::-;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;7098:30;;;2174:25049;7098:30;;2174:25049;7098:30;;;;;;2174:25049;7098:30;;;:::i;:::-;;;2174:25049;;;;7168:6;2174:25049;;7098:30;;;;;;-1:-1:-1;7098:30:8;;2174:25049;;;;;;;;;;9831:339:129;;;;;;;;;;;;;;;;2174:25049:8;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;19501:2958;2737:22:0;;;:::i;:::-;2174:25049:8;;;;;19501:2958;:::i;:::-;2174:25049;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;;;;2705:62;2174:25049;;;2705:62;2174:25049;;2705:62;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;6288:6;2174:25049;;:::i;:::-;;;:::i;:::-;12478:70:129;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;;6288:6;;:::i;2174:25049::-;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;;;12478:70:129;;;:::i;:::-;11297:15:8;;:40;11294:80;;-1:-1:-1;;;;;2174:25049:8;;;;11417:25;2174:25049;;;;;;11417:59;2174:25049;;;;11417:25;2174:25049;;;;;;;11486:59;2174:25049;11585:74;;;;2174:25049;;11294:80;-1:-1:-1;;;11346:28:8;;2174:25049;11346:28;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:8;;;;;18019:23;2174:25049;;:::i;:::-;18019:23;:::i;2174:25049::-;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;1181:103:48;;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;;2425:26:9;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:393:9;;2627:13;;-1:-1:-1;;;;;2174:25049:8;;;;2536:393:9;;2174:25049:8;;;;2536:393:9;;2713:4;2174:25049:8;;2536:393:9;;;2174:25049:8;;;2536:393:9;;;2174:25049:8;;;;;2536:393:9;;;2174:25049:8;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;2944:38:9;;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;2944:38:9;;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;2944:38:9;;;;;2174:25049:8;2944:38:9;;;;;;;2174:25049:8;-1:-1:-1;2940:248:9;;3060:128;3107:43;2174:25049:8;3060:128:9;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3107:43:9;;;3164:13;2940:248;;14912:13:8;14909:203;;2940:248:9;15126:84:8;2174:25049;;;15199:10;2174:25049;;15126:84;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;14909:203;14987:9;;;:::i;:::-;15046:10;-1:-1:-1;;;;;15046:10:8;2174:25049;15046:55;;;;;2174:25049;;;;;;;;;;;;;15046:55;;2713:4:9;2174:25049:8;15046:55;;2174:25049;15046:55;;;;;;;;14909:203;;;;;15046:55;;;;;:::i;:::-;2174:25049;;15046:55;;;;2940:248:9;;;;2944:38;;;;2174:25049:8;2944:38:9;;2174:25049:8;2944:38:9;;;;;;2174:25049:8;2944:38:9;;;:::i;:::-;;;2174:25049:8;;;;;2944:38:9;;;;;;;-1:-1:-1;2944:38:9;;2174:25049:8;-1:-1:-1;;;2174:25049:8;;;;;;;;;-1:-1:-1;;;2174:25049:8;;;;;;;;;;;;;;;9239:383:129;;;;;;7972:9;9132:15;2174:25049:8;9239:383:129;;;;;;;;;2174:25049:8;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2506:30:8;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:8;;;;-1:-1:-1;;;;;2174:25049:8;;:::i;:::-;12478:70:129;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;15992:29;;15988:71;;16069:10;;-1:-1:-1;;;;;16069:10:8;2174:25049;16069:46;;;;;;2174:25049;;16069:46;2174:25049;;;;;;;;;;;;16069:46;;2174:25049;16069:46;;2174:25049;;;;;;;16069:46;;;;;;;;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;15988:71;-1:-1:-1;;;16030:29:8;;2174:25049;16030:29;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:8;;12478:70:129;;;:::i;:::-;1181:103:48;;:::i;:::-;2174:25049:8;6606:35;;;;;;;;;;:::i;:::-;;6655:8;6651:64;;6729:31;;;;3550:68:50;-1:-1:-1;;;;;;;;;;;3550:68:50;2174:25049:8;;6651:64;-1:-1:-1;;;6686:18:8;;2174:25049;6686:18;;2174:25049;-1:-1:-1;2174:25049:8;;-1:-1:-1;;2174:25049:8;;;;;;;;;;;;;;12478:70:129;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;2174:25049:8;1496:56:0;;;;;;2174:25049:8;;1496:56:0;2174:25049:8;;;;;;;;;1496:56:0;;2174:25049:8;1496:56:0;;2174:25049:8;1524:9:0;1496:56;;;;;;;;;2174:25049:8;;;1496:56:0;;;;2174:25049:8;1496:56:0;;:::i;:::-;2174:25049:8;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;;;-1:-1:-1;;2174:25049:8;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;2174:25049:8;;;;;-1:-1:-1;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;2174:25049:8;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2174:25049:8;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:8;;;;;;:::o;16671:1072::-;;;;;;;2174:25049;17208:15;;;;;;:::i;:::-;2174:25049;;;:::i;:::-;17168:12;2174:25049;;;;17198:26;17252:15;2174:25049;17252:15;;;;;;:::i;2174:25049::-;17168:12;2174:25049;;;;17242:26;17343:23;;;;;;;:::i;:::-;490:2:67;976:38:0;;;372:2:67;976:38:0;;17208:15:8;2174:25049;17116:610;17168:12;17116:610;;823:61:67;;;-1:-1:-1;;;;;2174:25049:8;;;17168:12;;;2174:25049;17208:15;976:38:0;;2174:25049:8;17252:15;976:38:0;;2174:25049:8;17286:23;976:38:0;;2174:25049:8;17286:23;;;2174:25049;17443:25;976:38:0;;2174:25049:8;17486:14;976:38:0;;2174:25049:8;17443:25;;;2174:25049;17343:23;976:38:0;;2174:25049:8;17486:14;;2174:25049;976:38:0;;;2174:25049:8;17518:13;976:38:0;;;2174:25049:8;17557:4;976:38:0;;;2174:25049:8;;;976:38:0;;;;2174:25049:8;;976:38:0;;;;-1:-1:-1;;;;;2174:25049:8;976:38:0;;;2174:25049:8;976:38:0;;;2174:25049:8;;;976:38:0;;;2174:25049:8;976:38:0;17116:610:8;;;;;;:::i;:::-;2174:25049;17093:643;;16671:1072;:::o;2174:25049::-;;;;;;;;;;;;;;;;;;:::o;7292:355:129:-;-1:-1:-1;;7390:251:129;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:48;-1:-1:-1;;;;;;;;;;;3321:69:50;1413:93:48;;1624:4;-1:-1:-1;;;;;;;;;;;3550:68:50;1290:346:48:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:48;;-1:-1:-1;1465:30:48;3200:252:9;3259:11;;3256:23;;3269:1;2174:25049:8;;;3335:52:9;;;;;;;;;;;;;2174:25049:8;3335:52:9;;;;;;;:::i;:::-;3307:81;3315:13;;;3307:81;;;;:::i;:::-;;3402:8;3398:47;;3200:252;:::o;3398:47::-;3419:26;;;3269:1;3419:26;3335:52;2174:25049:8;3335:52:9;3269:1;3419:26;3256:23;3272:7;:::o;2174:25049:8:-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;25293:770;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;2174:25049:8;25461:25;2174:25049;;;-1:-1:-1;2174:25049:8;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;;;25515:39;25511:152;;-1:-1:-1;;;;;25754:60:8;2174:25049;;;;;25754:60;;:::i;:::-;25863:22;2174:25049;25851:72;-1:-1:-1;;;;;2174:25049:8;;;25887:35;25851:72;;:::i;:::-;2174:25049;;;;;;;;;;26003:39;;;;;;;;2174:25049;26003:39;-1:-1:-1;26003:39:8;;;25293:770;2174:25049;;;;;;;25979:77;2174:25049;25980:62;2174:25049;;;25980:62;;:::i;:::-;25979:77;:::i;:::-;25293:770;:::o;26003:39::-;;;;2174:25049;26003:39;2174:25049;26003:39;;;;;;;:::i;:::-;;;;25511:152;2174:25049;;;-1:-1:-1;25633:19:8;;-1:-1:-1;25633:19:8;26920:301;;-1:-1:-1;;;;;2174:25049:8;;27012:20;;;27008:62;;-1:-1:-1;;;;;2174:25049:8;13252:754:133;;;;;;;27030:1:8;13252:754:133;;27030:1:8;13252:754:133;;;;;;;;27030:1:8;13252:754:133;;;;;;26920:301:8;13252:754:133;27030:1:8;13252:754:133;;27155:59:8;13252:754:133;2174:25049:8;;27203:10;2174:25049;;27155:59;26920:301::o;13252:754:133:-;;;;;;;;;;;;;;;27030:1:8;13252:754:133;;;;27008:62:8;16030:29;;;27030:1;27041:29;;27030:1;27041:29;5930:135:0;-1:-1:-1;;;;;6021:10:0;2174:25049:8;5999:10:0;:33;2174:25049:8;;5930:135:0:o;2174:25049:8:-;;;-1:-1:-1;;;2174:25049:8;;;;;;;;;;;;;;;;;;;;19501:2958;;;2174:25049;;19806:23;;;;2174:25049;19806:23;;19501:2958;19806:23;:::i;:::-;374:38:6;;;;490:2:67;374:38:6;;;;490:2:67;374:38:6;;717:39;374:38;;2174:25049:8;;;;;;;976:38:0;2174:25049:8;976:38:0;;;2174:25049:8;976:38:0;;;;;;;2174:25049:8;833:1:6;19868:15:8;;19864:75;;20066:23;;;;:::i;:::-;490:2:67;976:38:0;;;434:2:67;976:38:0;875:44;20002:23:8;875:44:0;2174:25049:8;20002:23;;;2174:25049;;875:44:0;2174:25049:8;875:44:0;;;;2174:25049:8;20165:2;2174:25049;;875:44:0;2174:25049:8;;;875:44:0;;;;;20172:3:8;875:44:0;;2174:25049:8;;;20190:30;;;976:38:0;;;;1267:1:6;976:38:0;;;2174:25049:8;;;;1327:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:8;;;;1393:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:8;;;;1457:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;;;1527:2:6;976:38:0;;;2174:25049:8;976:38:0;;;;2174:25049:8;19806:23;2174:25049;976:38:0;;2174:25049:8;976:38:0;;;;;;2174:25049:8;:::i;:::-;;;1457:2:6;20724:22:8;;;:48;;;;20186:2267;20720:118;;;20868:255;2174:25049;;20978:86;2174:25049;;;;-1:-1:-1;;;;;2174:25049:8;;;20978:86;;;:::i;:::-;1393:2:6;13414:265:130;;-1:-1:-1;13414:265:130;;976:38:0;13414:265:130;20868:255:8;;:::i;:::-;21220:9;21216:110;;21378:13;-1:-1:-1;;;21378:13:8;;;-1:-1:-1;;;;;21378:13:8;2174:25049;21378:13;;;:::i;:::-;2174:25049;;1457:2:6;2174:25049:8;21350:208;2174:25049;1393:2:6;21350:208:8;;2174:25049;;1457:2:6;875:44:0;;2174:25049:8;;875:44:0;;2174:25049:8;20002:23;875:44:0;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;21350:208:8;;;19806:23;21350:208;;:::i;:::-;21589:50;2174:25049;;;;875:44:0;2174:25049:8;;2589:104:63;20186:2267:8;19501:2958::o;21216:110::-;21261:49;;;;;;-1:-1:-1;;;2174:25049:8;833:1:6;21261:49:8;;2174:25049;;;;2643:3:63;2174:25049:8;;2589:104:63;;2174:25049:8;1457:2:6;2174:25049:8;;1393:2:6;2174:25049:8;;:::i;:::-;-1:-1:-1;2174:25049:8;;21249:62;;:::o;20720:118::-;20799:24;;;-1:-1:-1;20799:24:8;976:38:0;-1:-1:-1;20799:24:8;20724:48;20770:2;20750:22;;;;20724:48;;;20186:2267;2174:25049;;;;;833:1:6;2174:25049:8;;;;;;21698:33;21694:759;;20186:2267;;;;;;19501:2958::o;21694:759::-;976:38:0;;;;;;;;;1809:2:6;976:38:0;;;2174:25049:8;;;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;;21929:29:8;21925:96;;22073:13;;;:::i;:::-;2174:25049;;-1:-1:-1;2174:25049:8;22260:25;2174:25049;;-1:-1:-1;;;;;2174:25049:8;;-1:-1:-1;2174:25049:8;;;;;;;;;22045:312;2174:25049;;22045:312;;2174:25049;;;875:44:0;;2174:25049:8;875:44:0;;2174:25049:8;-1:-1:-1;20002:23:8;875:44:0;;2174:25049:8;;875:44:0;;2174:25049:8;875:44:0;;;2174:25049:8;875:44:0;22045:312:8;;;19806:23;22045:312;;:::i;:::-;22371:18;-1:-1:-1;21694:759:8;;;;;;;;21925:96;21985:21;;;-1:-1:-1;21985:21:8;;-1:-1:-1;21985:21:8;19864:75;19906:22;;;-1:-1:-1;19906:22:8;;-1:-1:-1;19906:22:8;2174:25049;;;;;;;;;;;;6145:1089:129;-1:-1:-1;;;;;6813:405:129;;;;;;-1:-1:-1;6813:405:129;;-1:-1:-1;;6813:405:129;6145:1089::o;2174:25049:8:-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;26497:417::-;;26652:24;-1:-1:-1;;;;;26497:417:8;26652:24;2174:25049;;;;;;;;;26652:24;;2174:25049;26652:24;;;;;;;-1:-1:-1;;;26652:24:8;;;26497:417;26690:11;-1:-1:-1;26690:11:8;;;26686:73;;26784:15;2174:25049;26784:15;;2174:25049;;;;26772:49;26768:107;;26497:417;:::o;26768:107::-;26844:20;;;-1:-1:-1;26844:20:8;26652:24;-1:-1:-1;26844:20:8;26686:73;26724:24;;;-1:-1:-1;26724:24:8;26652;-1:-1:-1;26724:24:8;26652;;;;;;;;;;;;;;;;;;;:::i;:::-;;;2174:25049;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;26652:24;;;;;;;;-1:-1:-1;26652:24:8;;1974:1926:134;;;2174:25049:8;;-1:-1:-1;;;;;2174:25049:8;;2136:20:134;2132:40;;2225:1669;;;;;;;;;;;;;;;;;;;;1974:1926;;;;:::o;2225:1669::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2225:1669:134;;;;;;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;2174:25049:8;2225:1669:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:40;-1:-1:-1;2174:25049:8;;-1:-1:-1;;;2158:14:134:o;7738:720:42:-;;-1:-1:-1;7875:421:42;7738:720;7875:421;;;;;;;;;;;;-1:-1:-1;7875:421:42;;8310:15;;2174:25049:8;-1:-1:-1;;;;;2174:25049:8;;8328:26:42;:31;8310:68;8306:146;;7738:720;:::o;8306:146::-;-1:-1:-1;;;;;8401:40:42;;;;-1:-1:-1;8401:40:42;2174:25049:8;8401:40:42;2174:25049:8;;-1:-1:-1;8401:40:42;8310:68;8377:1;8362:16;;8310:68;","linkReferences":{},"immutableReferences":{"17":[{"start":1713,"length":32},{"start":2093,"length":32},{"start":2271,"length":32},{"start":3164,"length":32},{"start":3332,"length":32},{"start":6320,"length":32},{"start":6704,"length":32},{"start":7017,"length":32},{"start":8652,"length":32}],"2303":[{"start":3774,"length":32}],"2305":[{"start":8316,"length":32}],"3683":[{"start":736,"length":32},{"start":5934,"length":32},{"start":8052,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","addToTokenDirectory(address,(address,uint32,uint256))":"e0d873f2","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","entryPoint()":"b0d691fe","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":"dab0f762","getPrice(address)":"41976e09","independentPriceExpiryDuration(address)":"889e1468","independentPriceMarkup(address)":"61dcc50f","independentTokenDirectory(address)":"50f6ab10","isTokenSupported(address)":"75151b63","nativeAssetToUsdOracle()":"a6e12780","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","postOp(uint8,bytes,uint256,uint256)":"7c627b21","removeFromTokenDirectory(address)":"6adf4742","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setNativeAssetToUsdOracle(address)":"e5a29e18","setPriceExpiryDurationForToken(address,uint256)":"4230aa9e","setPriceMarkupForToken(address,uint32)":"c87558cb","setSigner(address)":"6c19e783","setUnaccountedGas(uint256)":"73acf542","setUniswapRouter(address)":"bea9849e","swapTokenAndDeposit(address,uint256,uint256)":"40663794","tokenToPools(address)":"bacb4b7c","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","uniswapRouter()":"735de9f7","unlockStake()":"bb9fe6bf","updateSwappableTokens(address[],uint24[])":"c23461a9","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawERC20Full(address,address)":"5deef2aa","withdrawEth(address,uint256)":"1b9a91a4","withdrawMultipleERC20(address[],address,uint256[])":"617d057a","withdrawMultipleERC20Full(address[],address)":"78b1da23","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878","wrappedNative()":"eb6d3a11"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetDecimalsArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IOracle\",\"name\":\"nativeAssetToUsdOracleArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetPriceExpiryDurationArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"wrappedNativeArg\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"independentTokensArg\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo[]\",\"name\":\"tokenInfosArg\",\"type\":\"tuple[]\"},{\"internalType\":\"address[]\",\"name\":\"swappableTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"swappableTokenPoolFeeTiers\",\"type\":\"uint24[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"FailedToChargeTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleDecimals\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPaymasterMode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceExpiryDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndAmountsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndInfoLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndPoolsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"UniswapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnwrappingReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"AddedToTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userOpSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasCostBeforePostOpAndPenalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCharge\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"PaidGasInTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RemovedFromTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"SwappableTokensAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SwappingReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensSwappedAndRefilledEntryPoint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedFeeCollector\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"oldValue\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"newValue\",\"type\":\"uint32\"}],\"name\":\"UpdatedFixedPriceMarkup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oldOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"UpdatedNativeAssetOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedPriceExpiryDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedUnaccountedGas\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedVerifyingSigner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"}],\"name\":\"addToTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"appliedPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceMarkup\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"independentTokenDirectory\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeAssetToUsdOracle\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"removeFromTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"setNativeAssetToUsdOracle\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newPriceExpiryDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceExpiryDurationForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newIndependentPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"setPriceMarkupForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newUnaccountedGas\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"}],\"name\":\"setUniswapRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEthAmountRecevied\",\"type\":\"uint256\"}],\"name\":\"swapTokenAndDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPools\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapRouter\",\"outputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"poolFeeTiers\",\"type\":\"uint24[]\"}],\"name\":\"updateSwappableTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"}],\"name\":\"withdrawMultipleERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawMultipleERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"ShivaanshKlivingrockrises\",\"details\":\"A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund model to handle gas remittances. Currently, the paymaster supports two modes: 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner). 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode doesn't require a signature and is \\\"always available\\\" to use. The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments applied, and how to manage the assets received by the paymaster.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"details\":\"Set or update a TokenInfo entry in the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to add or update in directory\",\"tokenInfo\":\"The TokenInfo struct to add or update\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"constructor\":{\"details\":\"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink\\u2019s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \"},\"getPrice(address)\":{\"details\":\"Get the price of a token in USD\",\"params\":{\"tokenAddress\":\"The address of the token to get the price of\"},\"returns\":{\"_0\":\"price The price of the token in USD\"}},\"independentPriceExpiryDuration(address)\":{\"details\":\"Get the price expiry duration for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price expiry duration of\"},\"returns\":{\"_0\":\"priceExpiryDuration The price expiry duration for the token\"}},\"independentPriceMarkup(address)\":{\"details\":\"Get the price markup for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price markup of\"},\"returns\":{\"_0\":\"priceMarkup The price markup for the token\"}},\"isTokenSupported(address)\":{\"details\":\"Check if a token is supported\",\"params\":{\"tokenAddress\":\"The address of the token to check\"},\"returns\":{\"_0\":\"bool True if the token is supported, false otherwise\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"removeFromTokenDirectory(address)\":{\"details\":\"Remove a token from the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to remove from directory\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setNativeAssetToUsdOracle(address)\":{\"details\":\"Update the native oracle address\",\"params\":{\"oracle\":\"The new native asset oracle\"}},\"setPriceExpiryDurationForToken(address,uint256)\":{\"details\":\"Set a new price expiry duration.\",\"params\":{\"newPriceExpiryDuration\":\"The new value to be set as the price expiry duration\"}},\"setPriceMarkupForToken(address,uint32)\":{\"details\":\"Set a new priceMarkup value.\",\"params\":{\"newIndependentPriceMarkup\":\"The new value to be set as the price markup\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedEPGasOverhead value.\",\"params\":{\"newUnaccountedGas\":\"The new value to be set as the unaccounted gas value\"}},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"details\":\"Swap a token in the paymaster for ETH and deposit the amount received into the entry point\",\"params\":{\"minEthAmountRecevied\":\"The minimum amount of ETH amount recevied post-swap\",\"tokenAddress\":\"The token address of the token to swap\",\"tokenAmount\":\"The amount of the token to swap\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"updateSwappableTokens(address[],uint24[])\":{\"details\":\"Update or add a swappable token to the Uniswapper\",\"params\":{\"poolFeeTiers\":\"The pool fee tiers for the corresponding token address to use\",\"tokenAddresses\":\"The token address to add/update to/for uniswapper\"}},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawERC20Full(address,address)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawEth(address,uint256)\":{\"details\":\"Withdraw ETH from the paymaster\",\"params\":{\"amount\":\"The amount of ETH to withdraw\",\"recipient\":\"The address to send the ETH to\"}},\"withdrawMultipleERC20(address[],address,uint256[])\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amounts to withdraw\",\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawMultipleERC20Full(address[],address)\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"details\":\"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.\",\"params\":{\"amount\":\"The amount of gas tokens to withdraw.\",\"withdrawAddress\":\"The address to which the gas tokens should be transferred.\"}}},\"title\":\"BiconomyTokenPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"FailedToChargeTokens(address,address,uint256,bytes32)\":[{\"notice\":\"Throws when PM was not able to charge user\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InvalidOracleDecimals()\":[{\"notice\":\"Throws when oracle decimals aren't equal to 8\"}],\"InvalidPaymasterMode()\":[{\"notice\":\"Throws when invalid PaymasterMode specified in paymasterAndData\"}],\"InvalidPriceExpiryDuration()\":[{\"notice\":\"Throws when price expiry duration is in the past\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when external signer's signature has invalid length\"}],\"InvalidTokenAddress()\":[{\"notice\":\"Throws when token address to pay with is invalid\"}],\"OraclePriceExpired()\":[{\"notice\":\"Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\"}],\"OraclePriceNotPositive()\":[{\"notice\":\"Throws when oracle returns invalid price\"}],\"TokensAndAmountsLengthMismatch()\":[{\"notice\":\"Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\"}],\"TokensAndInfoLengthMismatch()\":[{\"notice\":\"Throws when each token doesnt have a corresponding oracle\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"notice\":\"only to be called by the owner of the contract.\"},\"deposit()\":{\"notice\":\"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"removeFromTokenDirectory(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setNativeAssetToUsdOracle(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceExpiryDurationForToken(address,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceMarkupForToken(address,uint32)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setSigner(address)\":{\"notice\":\"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"uniswapRouter()\":{\"notice\":\"The Uniswap V3 SwapRouter contract\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"updateSwappableTokens(address[],uint24[])\":{\"notice\":\"only to be called by the owner of the contract.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"wrappedNative()\":{\"notice\":\"The ERC-20 token that wraps the native asset for current chain\"}},\"notice\":\"Biconomy's Token Paymaster for Entry Point v0.7\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/BiconomyTokenPaymaster.sol\":\"BiconomyTokenPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomyTokenPaymasterErrors.sol\":{\"keccak256\":\"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7\",\"dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV\"]},\"contracts/interfaces/IBiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced\",\"dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR\"]},\"contracts/interfaces/oracles/IOracle.sol\":{\"keccak256\":\"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88\",\"dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e\"]},\"contracts/libraries/TokenPaymasterParserLib.sol\":{\"keccak256\":\"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1\",\"dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG\"]},\"contracts/token/BiconomyTokenPaymaster.sol\":{\"keccak256\":\"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3\",\"dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX\"]},\"contracts/token/swaps/Uniswapper.sol\":{\"keccak256\":\"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914\",\"dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\":{\"keccak256\":\"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9\",\"dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo\"]},\"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPoint","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"nativeAssetDecimalsArg","type":"uint256"},{"internalType":"contract IOracle","name":"nativeAssetToUsdOracleArg","type":"address"},{"internalType":"uint256","name":"nativeAssetPriceExpiryDurationArg","type":"uint256"},{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"},{"internalType":"address","name":"wrappedNativeArg","type":"address"},{"internalType":"address[]","name":"independentTokensArg","type":"address[]"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","name":"tokenInfosArg","type":"tuple[]","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"internalType":"address[]","name":"swappableTokens","type":"address[]"},{"internalType":"uint24[]","name":"swappableTokenPoolFeeTiers","type":"uint24[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"}],"type":"error","name":"FailedToChargeTokens"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InvalidOracleDecimals"},{"inputs":[],"type":"error","name":"InvalidPaymasterMode"},{"inputs":[],"type":"error","name":"InvalidPriceExpiryDuration"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"InvalidTokenAddress"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"OraclePriceExpired"},{"inputs":[],"type":"error","name":"OraclePriceNotPositive"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"type":"error","name":"SafeERC20FailedOperation"},{"inputs":[],"type":"error","name":"TokenNotSupported"},{"inputs":[],"type":"error","name":"TokensAndAmountsLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndInfoLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndPoolsLengthMismatch"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"type":"error","name":"UniswapReverted"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"UnwrappingReverted"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"contract IOracle","name":"oracle","type":"address","indexed":true},{"internalType":"uint8","name":"decimals","type":"uint8","indexed":false}],"type":"event","name":"AddedToTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"userOpSender","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false},{"internalType":"uint256","name":"tokenCharge","type":"uint256","indexed":false},{"internalType":"uint32","name":"priceMarkup","type":"uint32","indexed":false},{"internalType":"uint256","name":"tokenPrice","type":"uint256","indexed":false},{"internalType":"bytes32","name":"userOpHash","type":"bytes32","indexed":false}],"type":"event","name":"PaidGasInTokens","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true}],"type":"event","name":"RemovedFromTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]","indexed":true}],"type":"event","name":"SwappableTokensAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address","indexed":false},{"internalType":"uint256","name":"amountIn","type":"uint256","indexed":false},{"internalType":"bytes","name":"reason","type":"bytes","indexed":false}],"type":"event","name":"SwappingReverted","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"uint256","name":"tokenAmount","type":"uint256","indexed":true},{"internalType":"uint256","name":"amountOut","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensSwappedAndRefilledEntryPoint","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedFeeCollector","anonymous":false},{"inputs":[{"internalType":"uint32","name":"oldValue","type":"uint32","indexed":true},{"internalType":"uint32","name":"newValue","type":"uint32","indexed":true}],"type":"event","name":"UpdatedFixedPriceMarkup","anonymous":false},{"inputs":[{"internalType":"contract IOracle","name":"oldOracle","type":"address","indexed":true},{"internalType":"contract IOracle","name":"newOracle","type":"address","indexed":true}],"type":"event","name":"UpdatedNativeAssetOracle","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedPriceExpiryDuration","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedUnaccountedGas","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedVerifyingSigner","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo","name":"tokenInfo","type":"tuple","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]}],"stateMutability":"payable","type":"function","name":"addToTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"uint32","name":"appliedPriceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceExpiryDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceMarkup","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"independentTokenDirectory","outputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"nativeAssetToUsdOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"payable","type":"function","name":"removeFromTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"}],"stateMutability":"payable","type":"function","name":"setNativeAssetToUsdOracle"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"newPriceExpiryDuration","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setPriceExpiryDurationForToken"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint32","name":"newIndependentPriceMarkup","type":"uint32"}],"stateMutability":"payable","type":"function","name":"setPriceMarkupForToken"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"uint256","name":"newUnaccountedGas","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setUniswapRouter"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"minEthAmountRecevied","type":"uint256"}],"stateMutability":"payable","type":"function","name":"swapTokenAndDeposit"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"tokenToPools","outputs":[{"internalType":"uint24","name":"","type":"uint24"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"uniswapRouter","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"uint24[]","name":"poolFeeTiers","type":"uint24[]"}],"stateMutability":"payable","type":"function","name":"updateSwappableTokens"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawERC20Full"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20Full"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"view","type":"function","name":"wrappedNative","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"addToTokenDirectory(address,(address,uint32,uint256))":{"details":"Set or update a TokenInfo entry in the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to add or update in directory","tokenInfo":"The TokenInfo struct to add or update"}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"constructor":{"details":"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model "},"getPrice(address)":{"details":"Get the price of a token in USD","params":{"tokenAddress":"The address of the token to get the price of"},"returns":{"_0":"price The price of the token in USD"}},"independentPriceExpiryDuration(address)":{"details":"Get the price expiry duration for a token","params":{"tokenAddress":"The address of the token to get the price expiry duration of"},"returns":{"_0":"priceExpiryDuration The price expiry duration for the token"}},"independentPriceMarkup(address)":{"details":"Get the price markup for a token","params":{"tokenAddress":"The address of the token to get the price markup of"},"returns":{"_0":"priceMarkup The price markup for the token"}},"isTokenSupported(address)":{"details":"Check if a token is supported","params":{"tokenAddress":"The address of the token to check"},"returns":{"_0":"bool True if the token is supported, false otherwise"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"removeFromTokenDirectory(address)":{"details":"Remove a token from the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to remove from directory"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setNativeAssetToUsdOracle(address)":{"details":"Update the native oracle address","params":{"oracle":"The new native asset oracle"}},"setPriceExpiryDurationForToken(address,uint256)":{"details":"Set a new price expiry duration.","params":{"newPriceExpiryDuration":"The new value to be set as the price expiry duration"}},"setPriceMarkupForToken(address,uint32)":{"details":"Set a new priceMarkup value.","params":{"newIndependentPriceMarkup":"The new value to be set as the price markup"}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedEPGasOverhead value.","params":{"newUnaccountedGas":"The new value to be set as the unaccounted gas value"}},"swapTokenAndDeposit(address,uint256,uint256)":{"details":"Swap a token in the paymaster for ETH and deposit the amount received into the entry point","params":{"minEthAmountRecevied":"The minimum amount of ETH amount recevied post-swap","tokenAddress":"The token address of the token to swap","tokenAmount":"The amount of the token to swap"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"updateSwappableTokens(address[],uint24[])":{"details":"Update or add a swappable token to the Uniswapper","params":{"poolFeeTiers":"The pool fee tiers for the corresponding token address to use","tokenAddresses":"The token address to add/update to/for uniswapper"}},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawERC20Full(address,address)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the token deposit to withdraw"}},"withdrawEth(address,uint256)":{"details":"Withdraw ETH from the paymaster","params":{"amount":"The amount of ETH to withdraw","recipient":"The address to send the ETH to"}},"withdrawMultipleERC20(address[],address,uint256[])":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amounts to withdraw","target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawMultipleERC20Full(address[],address)":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"details":"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.","params":{"amount":"The amount of gas tokens to withdraw.","withdrawAddress":"The address to which the gas tokens should be transferred."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"addToTokenDirectory(address,(address,uint32,uint256))":{"notice":"only to be called by the owner of the contract."},"deposit()":{"notice":"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"removeFromTokenDirectory(address)":{"notice":"only to be called by the owner of the contract."},"setNativeAssetToUsdOracle(address)":{"notice":"only to be called by the owner of the contract."},"setPriceExpiryDurationForToken(address,uint256)":{"notice":"only to be called by the owner of the contract."},"setPriceMarkupForToken(address,uint32)":{"notice":"only to be called by the owner of the contract."},"setSigner(address)":{"notice":"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"swapTokenAndDeposit(address,uint256,uint256)":{"notice":"only to be called by the owner of the contract."},"uniswapRouter()":{"notice":"The Uniswap V3 SwapRouter contract"},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"updateSwappableTokens(address[],uint24[])":{"notice":"only to be called by the owner of the contract."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"wrappedNative()":{"notice":"The ERC-20 token that wraps the native asset for current chain"}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/token/BiconomyTokenPaymaster.sol":"BiconomyTokenPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"keccak256":"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116","urls":["bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7","dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"keccak256":"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8","urls":["bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced","dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR"],"license":"GPL-3.0"},"contracts/interfaces/oracles/IOracle.sol":{"keccak256":"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b","urls":["bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88","dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e"],"license":"MIT"},"contracts/libraries/TokenPaymasterParserLib.sol":{"keccak256":"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf","urls":["bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1","dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG"],"license":"GPL-3.0"},"contracts/token/BiconomyTokenPaymaster.sol":{"keccak256":"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269","urls":["bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3","dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX"],"license":"GPL-3.0"},"contracts/token/swaps/Uniswapper.sol":{"keccak256":"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be","urls":["bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914","dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310","urls":["bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862","dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"keccak256":"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c","urls":["bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9","dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"keccak256":"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69","urls":["bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652","dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"keccak256":"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274","urls":["bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407","dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp"],"license":"GPL-2.0-or-later"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":8} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"verifyingSignerArg","type":"address","internalType":"address"},{"name":"entryPoint","type":"address","internalType":"contract IEntryPoint"},{"name":"unaccountedGasArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetDecimalsArg","type":"uint256","internalType":"uint256"},{"name":"nativeAssetToUsdOracleArg","type":"address","internalType":"contract IOracle"},{"name":"nativeAssetPriceExpiryDurationArg","type":"uint256","internalType":"uint256"},{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"},{"name":"wrappedNativeArg","type":"address","internalType":"address"},{"name":"independentTokensArg","type":"address[]","internalType":"address[]"},{"name":"tokenInfosArg","type":"tuple[]","internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]},{"name":"swappableTokens","type":"address[]","internalType":"address[]"},{"name":"swappableTokenPoolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"addStake","inputs":[{"name":"unstakeDelaySec","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"addToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenInfo","type":"tuple","internalType":"struct IBiconomyTokenPaymaster.TokenInfo","components":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"entryPoint","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IEntryPoint"}],"stateMutability":"view"},{"type":"function","name":"getDeposit","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getHash","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"validUntil","type":"uint48","internalType":"uint48"},{"name":"validAfter","type":"uint48","internalType":"uint48"},{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenPrice","type":"uint256","internalType":"uint256"},{"name":"appliedPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceExpiryDuration","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"independentPriceMarkup","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"independentTokenDirectory","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"},{"name":"priceMarkup","type":"uint32","internalType":"uint32"},{"name":"priceExpiryDuration","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isTokenSupported","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"nativeAssetToUsdOracle","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IOracle"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"postOp","inputs":[{"name":"mode","type":"uint8","internalType":"enum IPaymaster.PostOpMode"},{"name":"context","type":"bytes","internalType":"bytes"},{"name":"actualGasCost","type":"uint256","internalType":"uint256"},{"name":"actualUserOpFeePerGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setNativeAssetToUsdOracle","inputs":[{"name":"oracle","type":"address","internalType":"contract IOracle"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceExpiryDurationForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newPriceExpiryDuration","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setPriceMarkupForToken","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"newIndependentPriceMarkup","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setSigner","inputs":[{"name":"newVerifyingSigner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUnaccountedGas","inputs":[{"name":"newUnaccountedGas","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"setUniswapRouter","inputs":[{"name":"uniswapRouterArg","type":"address","internalType":"contract IV3SwapRouter"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"swapTokenAndDeposit","inputs":[{"name":"tokenAddress","type":"address","internalType":"address"},{"name":"tokenAmount","type":"uint256","internalType":"uint256"},{"name":"minEthAmountRecevied","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"tokenToPools","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"unaccountedGas","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"uniswapRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IV3SwapRouter"}],"stateMutability":"view"},{"type":"function","name":"unlockStake","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateSwappableTokens","inputs":[{"name":"tokenAddresses","type":"address[]","internalType":"address[]"},{"name":"poolFeeTiers","type":"uint24[]","internalType":"uint24[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"validatePaymasterUserOp","inputs":[{"name":"userOp","type":"tuple","internalType":"struct PackedUserOperation","components":[{"name":"sender","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"initCode","type":"bytes","internalType":"bytes"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"accountGasLimits","type":"bytes32","internalType":"bytes32"},{"name":"preVerificationGas","type":"uint256","internalType":"uint256"},{"name":"gasFees","type":"bytes32","internalType":"bytes32"},{"name":"paymasterAndData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}]},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"},{"name":"maxCost","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"context","type":"bytes","internalType":"bytes"},{"name":"validationData","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"verifyingSigner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"withdrawERC20","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawERC20Full","inputs":[{"name":"token","type":"address","internalType":"contract IERC20"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawEth","inputs":[{"name":"recipient","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"},{"name":"amount","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawMultipleERC20Full","inputs":[{"name":"token","type":"address[]","internalType":"contract IERC20[]"},{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"withdrawStake","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"withdrawTo","inputs":[{"name":"withdrawAddress","type":"address","internalType":"address payable"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"wrappedNative","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"AddedToTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"oracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"decimals","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"type":"event","name":"EthWithdrawn","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"PaidGasInTokens","inputs":[{"name":"userOpSender","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"tokenCharge","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"priceMarkup","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"tokenPrice","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"userOpHash","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"RemovedFromTokenDirectory","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SwappableTokensAdded","inputs":[{"name":"tokenAddresses","type":"address[]","indexed":true,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"SwappingReverted","inputs":[{"name":"tokenIn","type":"address","indexed":false,"internalType":"address"},{"name":"amountIn","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"reason","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"TokensSwappedAndRefilledEntryPoint","inputs":[{"name":"tokenAddress","type":"address","indexed":true,"internalType":"address"},{"name":"tokenAmount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amountOut","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TokensWithdrawn","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"actor","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFeeCollector","inputs":[{"name":"oldFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"newFeeCollector","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"UpdatedFixedPriceMarkup","inputs":[{"name":"oldValue","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"newValue","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"UpdatedNativeAssetOracle","inputs":[{"name":"oldOracle","type":"address","indexed":true,"internalType":"contract IOracle"},{"name":"newOracle","type":"address","indexed":true,"internalType":"contract IOracle"}],"anonymous":false},{"type":"event","name":"UpdatedPriceExpiryDuration","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedUnaccountedGas","inputs":[{"name":"oldValue","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"newValue","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"UpdatedVerifyingSigner","inputs":[{"name":"oldSigner","type":"address","indexed":true,"internalType":"address"},{"name":"newSigner","type":"address","indexed":true,"internalType":"address"},{"name":"actor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"CanNotWithdrawToZeroAddress","inputs":[]},{"type":"error","name":"FailedToChargeTokens","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"userOpHash","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"FeeCollectorCanNotBeZero","inputs":[]},{"type":"error","name":"InvalidOracleDecimals","inputs":[]},{"type":"error","name":"InvalidPaymasterMode","inputs":[]},{"type":"error","name":"InvalidPriceExpiryDuration","inputs":[]},{"type":"error","name":"InvalidPriceMarkup","inputs":[]},{"type":"error","name":"InvalidSignatureLength","inputs":[]},{"type":"error","name":"InvalidTokenAddress","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"OraclePriceExpired","inputs":[]},{"type":"error","name":"OraclePriceNotPositive","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TokenNotSupported","inputs":[]},{"type":"error","name":"TokensAndAmountsLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndInfoLengthMismatch","inputs":[]},{"type":"error","name":"TokensAndPoolsLengthMismatch","inputs":[]},{"type":"error","name":"UnaccountedGasTooHigh","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]},{"type":"error","name":"UniswapReverted","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"UnwrappingReverted","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"VerifyingSignerCanNotBeContract","inputs":[]},{"type":"error","name":"VerifyingSignerCanNotBeZero","inputs":[]},{"type":"error","name":"WithdrawalFailed","inputs":[]}],"bytecode":{"object":"0x6101006040523461018757613156803803809161001b8261019f565b610100396101a0816101000191126101875761003561021a565b61004061012061022a565b61004b61014061022a565b610160516101805161005e6101a061022a565b6101c05161006d6101e061022a565b9161007961020061022a565b610220519094906001600160401b038111610187578a61009c916101000161024c565b610240519096906001600160401b038111610187578b6100bf91610100016102b3565b610260519098906001600160401b038111610187578c6100e2916101000161024c565b61028051909a906001600160401b0381116101875761010e9d6101089161010001610358565b9b61040e565b60405161285b90816108fb82396080518181816106b10152818161082d015281816108df01528181610c5c01528181610d04015281816118b001528181611a3001528181611b6901526121cc015260a0518181816102e00152818161172e0152611f74015260c05181610ebe015260e0518161207c0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b610100601f91909101601f19168101906001600160401b038211908210176101c657604052565b61018b565b606081019081106001600160401b038211176101c657604052565b601f909101601f19168101906001600160401b038211908210176101c657604052565b6001600160a01b0381160361018757565b610100519061022882610209565b565b519061022882610209565b6001600160401b0381116101c65760051b60200190565b9080601f8301121561018757815161026381610235565b9261027160405194856101e6565b81845260208085019260051b82010192831161018757602001905b8282106102995750505090565b6020809183516102a881610209565b81520191019061028c565b81601f82011215610187578051906102ca82610235565b926102d860405194856101e6565b8284526020606081860194028301019181831161018757602001925b828410610302575050505090565b6060848303126101875760405190610319826101cb565b845161032481610209565b825260208501519063ffffffff821682036101875782602092836060950152604087015160408201528152019301926102f4565b9080601f830112156101875781519061037082610235565b9261037e60405194856101e6565b82845260208085019360051b82010191821161018757602001915b8183106103a65750505090565b825162ffffff8116810361018757815260209283019201610399565b90816020910312610187575160ff811681036101875790565b6040513d5f823e3d90fd5b80518210156103fa5760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b92989c9b9193959697610424959a9b91986105de565b60c05260e052803b6105b7576001600160a01b038116156105a85762030d40821161059957855184510361058a5760405163313ce56760e01b81526020816004816001600160a01b0388165afa9081156105855760089160ff915f91610556575b501603610547576002556003556004555f5b835181101561054157806104b66104b0600193856103e6565b51610831565b61053b6104c382856103e6565b516104fa6104e16104d4858a6103e6565b516001600160a01b031690565b6001600160a01b03165f90815260056020526040902090565b81518154602084015163ffffffff60a01b60a09190911b166001600160a01b039092166001600160c01b031990911617178155604090910151600190910155565b01610497565b50509050565b631c5f5f5d60e11b5f5260045ffd5b610578915060203d60201161057e575b61057081836101e6565b8101906103c2565b5f610485565b503d610566565b6103db565b631b90532360e21b5f5260045ffd5b63313db2a560e11b5f5260045ffd5b6381618de160e01b5f5260045ffd5b63edc30c2760e01b5f5260045ffd5b90816020910312610187575180151581036101875790565b9193946105ed9193969561073b565b825185510361072c57600180546001600160a01b0319166001600160a01b0390921691909117905560a0525f5b81518110156105415780602061069161064961063d61063d6104d45f97896103e6565b6001600160a01b031690565b60015461065e906001600160a01b031661063d565b60405163095ea7b360e01b81526001600160a01b0390911660048201525f19602482015294859283919082906044820190565b03925af191821561058557600192610700575b506106fa6106be6106b583886103e6565b5162ffffff1690565b6106e76106ce6104d485886103e6565b6001600160a01b03165f90815260208190526040902090565b9062ffffff1662ffffff19825416179055565b0161061a565b6107209060203d8111610725575b61071881836101e6565b8101906105c6565b6106a4565b503d61070e565b63552a04c960e01b5f5260045ffd5b8060601b15610824576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36040516301ffc9a760e01b815263122a0e9b60e31b60048201526020816024816001600160a01b0386165afa908115610585575f91610805575b50156107c057608052565b60405162461bcd60e51b815260206004820152601e60248201527f49456e747279506f696e7420696e74657266616365206d69736d6174636800006044820152606490fd5b61081e915060203d6020116107255761071881836101e6565b5f6107b5565b637448fbae5f526004601cfd5b805160049060209061084b906001600160a01b031661063d565b60405163313ce56760e01b815292839182905afa9081156105855760089160ff915f916108db575b5016036105475763ffffffff610890602083015163ffffffff1690565b16621e848081119081156108ce575b506108bf576040015142106108b057565b6347b4803b60e01b5f5260045ffd5b630a02dbf760e21b5f5260045ffd5b620f42409150105f61089f565b6108f4915060203d60201161057e5761057081836101e6565b5f61087356fe6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:12:-:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:12;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;:::o;:::-;;;;;-1:-1:-1;;2174:25049:12;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;2174:25049:12;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;2870:7;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;2870:7;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;2174:25049;;;2870:7;;;;;;;;3639:2172;;;;;;;;;;;;;;;;;:::i;:::-;4543:47;;4600:71;;6221:74:0;;4682:102:12;;-1:-1:-1;;;;;2174:25049:12;;4797:32;4793:99;;2870:7;4905:42;;4901:103;;2870:7;;;;5018:51;5014:118;;2174:25049;;-1:-1:-1;;;5145:36:12;;;2174:25049;5145:36;2174:25049;-1:-1:-1;;;;;2174:25049:12;;5145:36;;;;;;;5185:1;5145:36;2870:7;5145:36;4827:1;5145:36;;;3639:2172;2870:7;;5145:41;5141:179;;5361:231;;;;5145:36;5361:231;4827:1;5655:3;2870:7;;5622:31;;;;;5693:16;;;2870:7;5693:16;;;:::i;:::-;;;:::i;:::-;2870:7;5777:16;;;;:::i;:::-;;5724:50;5750:23;;;;;:::i;:::-;2870:7;-1:-1:-1;;;;;2174:25049:12;;2870:7;5750:23;-1:-1:-1;;;;;2174:25049:12;2870:7;;;;5724:25;2870:7;;;;;;;5724:50;2870:7;;;;;;;;-1:-1:-1;;;2174:25049:12;2870:7;;;;;-1:-1:-1;;;;;2174:25049:12;;;-1:-1:-1;;;;;;2870:7:12;;;;;;;;;;;;-1:-1:-1;2870:7:12;;;;;;;5607:13;;5622:31;;;;;3639:2172::o;5141:179::-;5286:23;;;4827:1;5286:23;5145:36;4827:1;5286:23;5145:36;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;5014:118::-;5092:29;;;4827:1;5092:29;;4827:1;5092:29;4901:103;4970:23;;;4827:1;4970:23;;4827:1;4970:23;4793:99;4852:29;;;4827:1;4852:29;;4827:1;4852:29;4682:102;4740:33;;;;;;;;2174:25049;;;;;;;;;;;;;;;;;;:::o;1264:723:14:-;;;;377:1683:57;1264:723:14;;;;377:1683:57;:::i;:::-;2870:7:12;;;;1446:41:14;1442:109;;2174:25049:12;2870:7;;-1:-1:-1;;;;;;2870:7:12;-1:-1:-1;;;;;2174:25049:12;;;2870:7;;;;;;1660:32:14;;-1:-1:-1;1742:3:14;2870:7:12;;1723:17:14;;;;;1768:9;1761:68;;:25;:17;1768:9;;-1:-1:-1;1768:9:14;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:12;;;1761:25:14;1618:32;2174:25049:12;1787:22:14;;-1:-1:-1;;;;;2174:25049:12;;;1787:22:14;2174:25049:12;;-1:-1:-1;;;1761:68:14;;-1:-1:-1;;;;;2174:25049:12;;;1761:68:14;;;2174:25049:12;-1:-1:-1;;2174:25049:12;;;;;;;;;2870:7;2174:25049;;;;;;;1761:68:14;;;;;;;;;;1618:32;1761:68;;;1742:3;1894:20;1868:46;1894:20;;;;;:::i;:::-;2174:25049:12;;;;;1894:20:14;1868:23;1881:9;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:12;1720:1:14;2870:7:12;;;;;;;;;;;;1868:23:14;2174:25049:12;;;;;;;;;;;;1868:46:14;2870:7:12;1708:13:14;;1761:68;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;1442:109;1510:30;;;-1:-1:-1;1510:30:14;;-1:-1:-1;1510:30:14;1021:171:0;198:181:17;;;;;;-1:-1:-1;;;;;5710:347:158;-1:-1:-1;;5710:347:158;;;-1:-1:-1;5710:347:158;-1:-1:-1;;5710:347:158;2174:25049:12;;-1:-1:-1;;;3843:80:0;;-1:-1:-1;;;3843:80:0;;;2174:25049:12;;;3843:80:0;2174:25049:12;-1:-1:-1;;;;;2174:25049:12;;3843:80:0;;;;;;;-1:-1:-1;3843:80:0;;;1021:171;2174:25049:12;;;;1159:26:0;;1021:171::o;2174:25049:12:-;;;-1:-1:-1;;;2174:25049:12;;;3843:80:0;2174:25049:12;;;;3843:80:0;2174:25049:12;;;;;;;;;;;3843:80:0;;;;2174:25049:12;3843:80:0;2174:25049:12;3843:80:0;;;;;;;:::i;:::-;;;;198:181:17;;;;;;;24713:455:12;2870:7;;24797:27;;;;:25;;-1:-1:-1;;;;;2174:25049:12;2870:7;2174:25049;24797:25;2174:25049;;-1:-1:-1;;;24797:27:12;;2174:25049;;;;;24797:27;;;;;;;24828:1;24797:27;2870:7;24797:27;:16;:27;;;24713:455;2870:7;;24797:32;24793:93;;2174:25049;2870:7;24797:27;24899:21;;2870:7;2174:25049;;;;2870:7;2174:25049;3075:3;24899:41;;:87;;;;;24713:455;24895:145;;;2174:25049;25071:29;2870:7;25053:15;:47;25049:113;;24713:455::o;25049:113::-;25123:28;;;24797:16;25123:28;24797:27;:16;25123:28;24895:145;25009:20;;;24797:16;25009:20;24797:27;:16;25009:20;24899:87;2962:3;24944:42;;;24899:87;;;24797:27;;;;;;;;;;;;;;:::i;:::-;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f5f3560e01c80630396cb6014611b395780631b9a91a414611aab578063205c2878146119eb57806323d9ac9b146119c4578063256929621461197957806340663794146116b257806341976e091461168e5780634230aa9e1461160657806344004cc1146115cd57806350f6ab101461157157806352b7512c1461150457806354d1f13d146114be5780635deef2aa14611409578063617d057a1461134257806361dcc50f146113015780636adf4742146112a05780636c19e78314611216578063715018a6146111cb578063735de9f7146111a457806373acf5421461114557806375151b631461110957806378b1da23146110085780637c627b2114610dd3578063889e146814610d985780638da5cb5b14610d6d578063a6e1278014610d46578063ab94cad714610d28578063b0d691fe14610ce4578063bacb4b7c14610ca8578063bb9fe6bf14610c38578063bea9849e14610be9578063c23461a914610950578063c23a5cea146108b2578063c399ec8814610800578063c87558cb14610738578063d0e30db014610692578063dab0f762146105f1578063e0d873f2146103de578063e5a29e1814610304578063eb6d3a11146102c0578063f04e283e14610272578063f2fde38b146102335763fee81cf4146101fe575061000e565b3461023057602036600319011261023057610217611bd3565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261023057610248611bd3565b610250611eef565b8060601b1561026557610262906125b0565b80f35b637448fbae82526004601cfd5b50602036600319011261023057610287611bd3565b61028f611eef565b63389a75e1600c528082526020600c20805442116102b357908261026292556125b0565b636f5e881883526004601cfd5b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50602036600319011261023057610319611bd3565b610321611eef565b60405163313ce56760e01b81526001600160a01b0382169190602081600481865afa9081156103d35760089160ff9186916103a4575b501603610395576001600160a01b0360045416906004557f5575976ac84cfdef78545577f730cc9e1d97e34b91ce2821248c40f315c2c0ab8380a380f35b631c5f5f5d60e11b8352600483fd5b6103c6915060203d6020116103cc575b6103be8183611c98565b810190611ed6565b5f610357565b503d6103b4565b6040513d86823e3d90fd5b506080366003190112610230576103f3611bd3565b60603660231901126105ed576040519061040c82611c68565b610414611bfd565b82526044359163ffffffff831683036105e9576020810192835260408101916064358352610440611eef565b600460206001600160a01b038451166040519283809263313ce56760e01b82525afa9081156105de5760089160ff9188916105bf575b5016036105b05763ffffffff845116621e848081119081156105a3575b506105945782514210610585576001600160a01b036001911692838652600560205261050d63ffffffff6001600160a01b0360408920955116968773ffffffffffffffffffffffffffffffffffffffff198754161786555116849063ffffffff60a01b1963ffffffff60a01b83549260a01b169116179055565b5191015560405163313ce56760e01b8152602081600481855afa9081156103d3577f84f87257a86c08a530e687f37b67e004d58505bbd85491a49281af661e831d62916020918691610568575b5060ff60405191168152a380f35b61057f9150823d84116103cc576103be8183611c98565b5f61055a565b6347b4803b60e01b8552600485fd5b630a02dbf760e21b8552600485fd5b620f42409150105f610493565b631c5f5f5d60e11b8552600485fd5b6105d8915060203d6020116103cc576103be8183611c98565b5f610476565b6040513d88823e3d90fd5b8380fd5b5080fd5b50346102305760c03660031901126102305760043567ffffffffffffffff81116105ed5761012060031982360301126105ed5760243565ffffffffffff8116810361068e5760443565ffffffffffff811681036105e957606435916001600160a01b038316830361068a5760a4359463ffffffff861686036102305760206106828760843587878760048c01611dd2565b604051908152f35b8480fd5b8280fd5b5080600319360112610230576106a6611f0b565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561073557816024916040519283809263b760faf960e01b825230600483015234905af1801561072a57610715575b505f51602061282f5f395f51905f525d80f35b8161071f91611c98565b61023057805f610702565b6040513d84823e3d90fd5b50fd5b5060403660031901126102305761074d611bd3565b60243563ffffffff8116918282036105e957610767611eef565b621e8480831180156107f4575b6107e5576001600160a01b0316808452600560208181526040808720549387529190528420805463ffffffff60a01b191660a093841b63ffffffff60a01b16179055901c63ffffffff167facc62dff631d64bb26e99854b6fd5a402f6b86db87bec882490e9227b569301d8380a380f35b630a02dbf760e21b8452600484fd5b50620f42408310610774565b50346102305780600319360112610230576040516370a0823160e01b8152306004820152906020826024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156108a6579061086f575b602090604051908152f35b506020813d60201161089e575b8161088960209383611c98565b8101031261089a5760209051610864565b5f80fd5b3d915061087c565b604051903d90823e3d90fd5b503461023057602036600319011261023057806108cd611bd3565b6108d5611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c576001600160a01b036024849283604051958694859363611d2e7560e11b85521660048401525af1801561072a5761093b5750f35b8161094591611c98565b6102305780f35b5050fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57366023820112156105ed5780600401359061098982611cba565b906109976040519283611c98565b828252602082016024819460051b83010191368311610be557602401905b828210610bcd575050506024359067ffffffffffffffff82116105e957366023830112156105e95781600401356109eb81611cba565b926109f96040519485611c98565b8184526024602085019260051b82010190368211610bc957602401915b818310610ba957505050610a28611eef565b8051825103610b9a57835b8151811015610b3457806001600160a01b03610a5160019385611d55565b511662ffffff610a618387611d55565b5116906001600160a01b0384541660405160208a81830163095ea7b360e01b81528460248501525f19604485015260448452610a9e606485611c98565b83519082875af18a513d82610b19575b505015610ad4575b5050875286602052604087209062ffffff1982541617905501610a33565b610b0c610b12926040519063095ea7b360e01b602083015260248201528b604482015260448152610b06606482611c98565b846127da565b826127da565b5f80610ab6565b909150610b2d5750823b15155b5f80610aae565b8614610b26565b8484836040519182839251909190855b818110610b78575050500390207f8da1eee856eda075166c17f15b4618bd1c46fce796c12d70b4c8f6057c20a7788280a280f35b82516001600160a01b0316845285945060209384019390920191600101610b44565b63552a04c960e01b8452600484fd5b823562ffffff81168103610bc557815260209283019201610a16565b8780fd5b8680fd5b60208091610bda84611be9565b8152019101906109b5565b8580fd5b5034610230576020366003190112610230576004356001600160a01b0381168091036105ed57610c17611eef565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5034610230578060031936011261023057610c51611eef565b806001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156107355781809160046040518094819363bb9fe6bf60e01b83525af1801561072a5761093b5750f35b50346102305760203660031901126102305762ffffff60406020926001600160a01b03610cd3611bd3565b168152808452205416604051908152f35b503461023057806003193601126102305760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102305780600319360112610230576020600354604051908152f35b503461023057806003193601126102305760206001600160a01b0360045416604051908152f35b50346102305780600319360112610230576020638b78c6d819546001600160a01b0360405191168152f35b503461023057602036600319011261023057600160406020926001600160a01b03610dc1611bd3565b16815260058452200154604051908152f35b503461023057608036600319011261023057600360043510156102305760243567ffffffffffffffff81116105ed57366023820112156105ed57806004013567ffffffffffffffff811161068e57810136602482011161068e5760c060443591610e3b6121c2565b8390031261068e57610e4f60248301611be9565b90610e5c60448401611be9565b91608484013560a485013563ffffffff8116809103610bc95760c4860135926001600160a01b038082169616968315610fe8575b83610eb184610eb1610eb6610ebc95610eb1606480359201356003546125ee565b611fbb565b8a6125ee565b7f000000000000000000000000000000000000000000000000000000000000000090620f4240820291808304620f42401490151715610fd45790610eff91611fe2565b906040519082606052306040526bffffffffffffffffffffffff199060601b16602c526f23b872dd000000000000000000000000600c526020896064601c828c5af18060018b51141615610fc9575b89606052816040525f14610fa357509160a093917f9b02391759649674b016374b782fbd862605050c75d26c3e4c0b385e75bc1c4895936040519485526020850152604084015260608301526080820152a380f35b84608492898963590bc6cb60e11b85526004850152602484015260448301526064820152fd5b3d893b151710610f4e565b634e487b7160e01b8a52601160045260248afd5b9250610ff387612000565b9283610e9057633dd1b30560e01b8952600489fd5b5060403660031901126102305760043567ffffffffffffffff81116105ed57611035903690600401611c37565b61103d611bfd565b90611046611eef565b61104e611f0b565b835b81811061106b5784805f51602061282f5f395f51905f525d80f35b8060206001600160a01b0361108b611086602495878a611d1d565b611d41565b16604051938480926370a0823160e01b82523060048301525afa9182156105de5786926110d4575b506110ce600192856110c961108685888b611d1d565b612116565b01611050565b91506020823d8211611101575b816110ee60209383611c98565b8101031261089a579051906110ce6110b3565b3d91506110e1565b5034610230576020366003190112610230576001600160a01b03604060209282611131611bd3565b168152600584522054161515604051908152f35b5060203660031901126102305760043561115d611eef565b62030d40811161119557600354816003557f2fcf69360e1d372881528eb806fae2b9226a258176570a4aef1d87cb811b0eb28380a380f35b63313db2a560e11b8252600482fd5b503461023057806003193601126102305760206001600160a01b0360015416604051908152f35b5080600319360112610230576111df611eef565b80638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380638b78c6d8195580f35b5060203660031901126102305761122b611bd3565b611233611eef565b803b611291576001600160a01b0381168015611282576001600160a01b03600254169160025533917f0789b50c6940fa8935aaafcb17af50f66128e76c1c12c984884d6cf35411c3d98480a480f35b6381618de160e01b8352600483fd5b63edc30c2760e01b8252600482fd5b506020366003190112610230576001600160a01b036112bd611bd3565b6112c5611eef565b1680825260056020528160016040822082815501557f70cf61416226155841dbe8e5007a92de878a678754db8abd48a2b34d039693638280a280f35b50346102305760203660031901126102305763ffffffff60406020926001600160a01b0361132d611bd3565b16815260058452205460a01c16604051908152f35b5060603660031901126102305760043567ffffffffffffffff81116105ed5761136f903690600401611c37565b611377611bfd565b60443567ffffffffffffffff811161068a57611397903690600401611c37565b90926113a1611eef565b6113a9611f0b565b8181036113fa57855b8181106113cd5786805f51602061282f5f395f51905f525d80f35b806113f46113e1611086600194868b611d1d565b866113ed84888b611d1d565b3591612116565b016113b2565b630483384360e11b8652600486fd5b5060403660031901126102305761141e611bd3565b611426611bfd565b9061142f611eef565b611437611f0b565b6040516370a0823160e01b8152306004820152916020836024816001600160a01b0386165afa9182156103d3578492611488575b6114759350612116565b805f51602061282f5f395f51905f525d80f35b91506020833d6020116114b6575b816114a360209383611c98565b8101031261089a5761147592519161146b565b3d9150611496565b50806003193601126102305763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b5034610230576060366003190112610230576004359067ffffffffffffffff821161023057610120600319833603011261023057611567611553836115476121c2565b60243590600401612239565b604051928392604084526040840190611c13565b9060208301520390f35b50346102305760203660031901126102305760406060916001600160a01b03611598611bd3565b1681526005602052206001815491015463ffffffff604051926001600160a01b038116845260a01c1660208301526040820152f35b506060366003190112610230576114756115e5611bd3565b6115ed611bfd565b6115f5611eef565b6115fd611f0b565b60443591612116565b5060403660031901126102305761161b611bd3565b60243590611627611eef565b81421061167f576001600160a01b03168083526005602052600160408420015490835260056020528160016040852001557f5c6422fd0fdb3c8a87212d2f3d69bd50d985fe20413fa4025e589ae32d7882a98380a380f35b6347b4803b60e01b8352600483fd5b50346102305760203660031901126102305760206106826116ad611bd3565b612000565b506060366003190112610230576116c7611bd3565b6001600160a01b03602435916116db611f0b565b16908183528260205262ffffff6040842054161561196a578183528260205262ffffff60408420541660405160e0810181811067ffffffffffffffff8211176119565790859160405284815260208101927f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316845260408201908152606082013081526080830186815260a0840190604435825260c08501928684526001546001600160a01b0316946040519889976304e45aaf60e01b8952516001600160a01b03166004890152516001600160a01b031660248801525162ffffff166044870152516001600160a01b031660648601525160848501525160a4840152516001600160a01b031660c4830152815a9360e492602095f1849181611922575b5061191c57507f0cba6018de7a308d62a909cf070bd4adce14183eecb0e81896a7a2166381f281611853611833611cee565b604051918291868352856020840152606060408401526060830190611c13565b0390a182915b8261189c575b7f1167bb4d1b193b67a7db44fae87314c8dd5df00b345b9c62d0436599755e93316020604051338152a4805f51602061282f5f395f51905f525d80f35b6118a583611f40565b836001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b156105ed5781859160246040518094819363b760faf960e01b83523060048401525af1801561072a57611907575b505061185f565b8161191191611c98565b6105e957835f611900565b91611859565b9091506020813d60201161194e575b8161193e60209383611c98565b8101031261089a5751905f611801565b3d9150611931565b634e487b7160e01b86526041600452602486fd5b633dd1b30560e01b8352600483fd5b50806003193601126102305763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b503461023057806003193601126102305760206001600160a01b0360025416604051908152f35b5034610230576040366003190112610230576001600160a01b03611a0d611bd3565b611a15611eef565b611a1d611f0b565b168015611a9c5781906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561094c57829160448392604051948593849263040b850f60e31b8452600484015260243560248401525af1801561072a5761071557505f51602061282f5f395f51905f525d80f35b6392bc9df360e01b8252600482fd5b50604036600319011261023057611ac0611bd3565b6001600160a01b0360243591611ad4611eef565b611adc611f0b565b168280808085855af1611aed611cee565b5015611b2a577f8455ae6be5d92f1df1c3c1484388e247a36c7e60d72055ae216dbc258f257d4b8380a3805f51602061282f5f395f51905f525d80f35b6327fcd9d160e01b8352600483fd5b50602036600319011261089a5760043563ffffffff811680910361089a57611b5f611eef565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561089a575f90602460405180948193621cb65b60e51b8352600483015234905af18015611bc857611bbc575080f35b61001891505f90611c98565b6040513d5f823e3d90fd5b600435906001600160a01b038216820361089a57565b35906001600160a01b038216820361089a57565b602435906001600160a01b038216820361089a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9181601f8401121561089a5782359167ffffffffffffffff831161089a576020808501948460051b01011161089a57565b6060810190811067ffffffffffffffff821117611c8457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117611c8457604052565b67ffffffffffffffff8111611c845760051b60200190565b67ffffffffffffffff8111611c8457601f01601f191660200190565b3d15611d18573d90611cff82611cd2565b91611d0d6040519384611c98565b82523d5f602084013e565b606090565b9190811015611d2d5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b038116810361089a5790565b8051821015611d2d5760209160051b010190565b903590601e198136030182121561089a570180359067ffffffffffffffff821161089a5760200191813603831361089a57565b929192611da882611cd2565b91611db66040519384611c98565b82948184528183011161089a578281602093845f960137010152565b939194929094611def611de86040870187611d69565b3691611d9c565b6020815191012095611e07611de86060880188611d69565b6020815191012095611e1c60e0820182611d69565b60341161089a576014013560405197602089019983356001600160a01b03168b52602084013560408b015260608a01526080890152608082013560a089015260c088015260a081013560e088015260c00135610100870152466101208701523061014087015265ffffffffffff1661016086015265ffffffffffff166101808501526001600160a01b03166101a08401526101c083015263ffffffff166101e08201526101e08152611ed061020082611c98565b51902090565b9081602091031261089a575160ff8116810361089a5790565b638b78c6d819543303611efe57565b6382b429005f526004601cfd5b5f51602061282f5f395f51905f525c611f315760015f51602061282f5f395f51905f525d565b633ee5aeb560e01b5f5260045ffd5b8015611fb8575f806040516020810190632e1a7d4d60e01b825284602482015260248152611f6f604482611c98565b5190827f00000000000000000000000000000000000000000000000000000000000000005af1611f9d611cee565b5015611fa65750565b637bd5213f60e11b5f5260045260245ffd5b50565b81810292918115918404141715611fce57565b634e487b7160e01b5f52601160045260245ffd5b8115611fec570490565b634e487b7160e01b5f52601260045260245ffd5b6001600160a01b0316805f52600560205260405f206040519061202282611c68565b600181549163ffffffff6001600160a01b0384169384865260a01c1660208501520154906040830191825215612107576001600160a01b03612068925116905190612612565b600460206120a16001600160a01b038354167f000000000000000000000000000000000000000000000000000000000000000090612612565b936040519283809263313ce56760e01b82525afa8015611bc85760ff915f916120e8575b5016604d8111611fce576120e5926120e091600a0a90611fbb565b611fe2565b90565b612101915060203d6020116103cc576103be8183611c98565b5f6120c5565b633dd1b30560e01b5f5260045ffd5b906001600160a01b0381169182156121b3576001600160a01b031690601452826034526fa9059cbb0000000000000000000000005f5260205f6044601082855af18060015f51141615612195575b505f6034527f4e5ba90310f16273bb12f3c33f23905e573b86df58a2895a525285d083bf043f6020604051338152a4565b3d823b151710156121a6575f612164565b6390b8ec185f526004601cfd5b6392bc9df360e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036121f457565b60405162461bcd60e51b815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e7400000000000000000000006044820152606490fd5b919060609060e08401905f61224e8387611d69565b9390918460341015611d2d57603483013560f81c95600287101561259c578560351161089a5760358401916034198701936001891161258d57612291908b611d69565b60341161089a576024013560801c6fffffffffffffffffffffffffffffffff60808c013516016fffffffffffffffffffffffffffffffff8111611fce576fffffffffffffffffffffffffffffffff600a9116026fffffffffffffffffffffffffffffffff8116908103611fce57606490046fffffffffffffffffffffffffffffffff1697806124d6575050508160061161089a573560d01c94600c821061089a57603b83013560d01c976020831061089a57604184013560601c956040841061089a5760558501359360441161089a5761237d90607586013560e01c9560793692607819019101611d9c565b8051604081141590816124ca575b506124bb576123dc90886123af87878b8f6001600160a01b03600254169589611dd2565b6020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c600420906126d3565b15612465579165ffffffffffff60a01b9593916001600160a01b036124227fffffffffffff00000000000000000000000000000000000000000000000000009795611d41565b9581604051971660208801521660408601526060850152608084015260a083015260c082015260c0815261245760e082611c98565b9460d01b169160a01b161790565b50505050505065ffffffffffff60a01b7fffffffffffff00000000000000000000000000000000000000000000000000006001939460d01b169160a01b161717906040516124b4602082611c98565b5f81529190565b634be6321b60e01b5f5260045ffd5b6041915014155f61238b565b90989794506001919993959650146124f0575b5050505050565b90919280949597965060141161089a5735851c6001600160a01b0316926013190161257e5761251e90611d41565b93825f5260056020526001600160a01b0363ffffffff60405f205460a01c169381604051971660208801521660408601528401525f608084015260a083015260c082015260c0815261257160e082611c98565b905f905f808080806124e9565b630f58058360e11b5f5260045ffd5b63817c70e760e01b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b91908201809211611fce57565b519069ffffffffffffffffffff8216820361089a57565b9060a06001600160a01b0392600460405180958193633fabe5a360e21b8352165afa908115611bc8575f925f9261267d575b505f83131561266e57420390428211611fce571061265f5790565b63757ee0c360e11b5f5260045ffd5b631319f4b960e11b5f5260045ffd5b9250905060a0823d60a0116126cb575b8161269a60a09383611c98565b8101031261089a576126ab826125fb565b5060208201516126c26080606085015194016125fb565b5091905f612644565b3d915061268d565b92915f936001600160a01b038116156127d2576040519282518060401461279657604114612756575b8515612709575b50505050565b602093949550630b135d3f60e11b855260048501526024840193849260408452805185019081604484019160045afa5060443d01915afa9051630b135d3f60e11b1416905f808080612703565b945060608201515f1a60205260408201516060525b845f5260208201516040526020600160805f825afa51811860601b3d11945f606052836040526126fc565b5094507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040830151601b8160ff1c016020521660605261276b565b505f93505050565b905f602091828151910182855af115611bc8575f513d61282557506001600160a01b0381163b155b6128095750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001141561280256fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081b000a","sourceMap":"2174:25049:12:-:0;;;;;;;;;-1:-1:-1;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;11885:237:158;;;;;2174:25049:12;11885:237:158;;;;2174:25049:12;;;;;;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;:::-;2174:25049:12;;8479:183:158;;;;2174:25049:12;8479:183:158;;2174:25049:12;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;10506:526;;;;;;2174:25049:12;10506:526:158;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;10506:526::-;;;;2174:25049:12;10506:526:158;;2174:25049:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;845:38:14;2174:25049:12;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;2174:25049:12;;-1:-1:-1;;;11937:17:12;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;11937:17;;;;;;;11958:1;11937:17;2174:25049;11937:17;;;;;2174:25049;;;11937:22;11933:140;;-1:-1:-1;;;;;2174:25049:12;;;12151:92;2174:25049;12151:92;12258:59;;;;2174:25049;;11933:140;-1:-1:-1;;;12039:23:12;;2174:25049;24852:23;12039;11937:17;;;;2174:25049;11937:17;2174:25049;11937:17;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2174:25049;;;;;;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;;;-1:-1:-1;;2174:25049:12;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;2174:25049:12;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;24797:27;;;;;;;;;24828:1;24797:27;2174:25049;24797:27;;;;;2174:25049;;;24797:32;24793:93;;2174:25049;;;;3075:3;24899:41;;:87;;;;;2174:25049;24895:145;;;2174:25049;;25053:15;:47;25049:113;;-1:-1:-1;;;;;2174:25049:12;;;;;;;12788:25;2174:25049;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;;2962:3;-1:-1:-1;;;;;;;2962:3:12;;;;;;;;;;;;2174:25049;;;;;;;-1:-1:-1;;;12909:39:12;;2174:25049;;;;12909:39;;;;;;;;12855:94;12909:39;2174:25049;12909:39;;;;;2174:25049;;;;;;;;;12855:94;2174:25049;;12909:39;;;;;;;;;;;;;;:::i;:::-;;;;25049:113;-1:-1:-1;;;25123:28:12;;2174:25049;11346:28;25123;24895:145;-1:-1:-1;;;25009:20:12;;2174:25049;10629:20;25009;24899:87;2962:3;24944:42;;;24899:87;;;24793:93;-1:-1:-1;;;24852:23:12;;2174:25049;24852:23;;24797:27;;;;2174:25049;24797:27;2174:25049;24797:27;;;;;;;:::i;:::-;;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1181:103:57;;:::i;:::-;15500:10:12;-1:-1:-1;;;;;15500:10:12;2174:25049;15500:55;;;;;2174:25049;15500:55;2174:25049;;;;;;;;;;15500:55;;15549:4;2174:25049;15500:55;;2174:25049;15529:9;15500:55;;;;;;;;;2174:25049;3550:68:61;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;15500:55;;;;;:::i;:::-;2174:25049;;15500:55;;;;;2174:25049;;;;;;;;;15500:55;2174:25049;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;;;;;;;;;;;;12478:70:158;;:::i;:::-;3075:3:12;10465:45;;:95;;;;2174:25049;10461:199;;-1:-1:-1;;;;;2174:25049:12;;;;10704:25;2174:25049;;;;;;;;;;;;;;;;;2962:3;;-1:-1:-1;;;;2962:3:12;2174:25049;2962:3;;;-1:-1:-1;;;2962:3:12;;;;2174:25049;;;;10859:77;;;;2174:25049;;10461:199;-1:-1:-1;;;10629:20:12;;2174:25049;10629:20;;10465:95;10514:46;2962:3;10514:46;;10465:95;;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;;3569:35:0;;3598:4;2174:25049:12;3569:35:0;;2174:25049:12;;;;3569:35:0;2174:25049:12;3569:10:0;-1:-1:-1;;;;;2174:25049:12;3569:35:0;;;;;;;;;;2174:25049:12;;;;;;;;;3569:35:0;;2174:25049:12;3569:35:0;;2174:25049:12;3569:35:0;;;;;;2174:25049:12;3569:35:0;;;:::i;:::-;;;2174:25049:12;;;;;;;3569:35:0;;2174:25049:12;-1:-1:-1;2174:25049:12;;3569:35:0;;;-1:-1:-1;3569:35:0;;;2174:25049:12;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;-1:-1:-1;;;;;2107:10:0;2174:25049:12;2107:41:0;;;;;;-1:-1:-1;;;;;2107:41:0;2174:25049:12;;;;;;;;;;;;;2107:41:0;;2174:25049:12;;2107:41:0;;2174:25049:12;2107:41:0;;;;;;;;2174:25049:12;;2107:41:0;;;;;:::i;:::-;2174:25049:12;;2107:41:0;2174:25049:12;2107:41:0;2174:25049:12;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12478:70:158;;;;;:::i;:::-;2174:25049:12;;;;13882:44;13878:112;;14005:13;14047:3;2174:25049;;14020:25;;;;;14080:17;-1:-1:-1;;;;;14080:17:12;2174:25049;14080:17;;;:::i;:::-;2174:25049;;;14099:15;;;;:::i;:::-;2174:25049;;;-1:-1:-1;;;;;2174:25049:12;;;;;;4567:47:51;;;;2174:25049:12;;;4567:47:51;;;2174:25049:12;4567:47:51;;2174:25049:12;2132:17:14;;4567:47:51;2174:25049:12;;;4567:47:51;;;;;;;:::i;:::-;9138:199;;;;;;;;;;9353:80;;;14047:3:12;4629:45:51;;;4625:201;;14047:3:12;2174:25049;;;;;;;;;;;;;;;;;;;;14005:13;;4625:201:51;4717:43;4802:12;2174:25049:12;;;;;;;;4717:43:51;;;2174:25049:12;4717:43:51;;2174:25049:12;;4567:47:51;2174:25049:12;;;4567:47:51;4717:43;;;4567:47;4717:43;;:::i;:::-;;;:::i;:::-;4802:12;;:::i;:::-;4625:201;;;;9353:80;9365:67;;-1:-1:-1;9365:15:51;;9383:26;;;:30;;9365:67;9353:80;;;;9365:67;9416:16;;9365:67;;14020:25:12;;;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;14140:36;;;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;-1:-1:-1;2174:25049:12;;;;;;;;;;;;;13878:112;-1:-1:-1;;;13949:30:12;;2174:25049;13949:30;;2174:25049;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;12478:70:158;;:::i;:::-;-1:-1:-1;;3536:32:14;2174:25049:12;;;3536:32:14;2174:25049:12;;;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;1770:10:0;-1:-1:-1;;;;;1770:10:0;2174:25049:12;1770:24:0;;;;;2174:25049:12;;;;;;;;;;;;;1770:24:0;;;;;;;;;;2174:25049:12;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;657:39:0;2174:25049:12;;;;;;;;;;;;;;;;;;2600:29;2174:25049;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;6813:405:158;;11523:61;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;19120:59;2174:25049;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;;;;19120:25;2174:25049;;;19120:59;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2192:298:0;;;:::i;:::-;2174:25049:12;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;23033:290;;23515:15;23512:250;;2174:25049;;24151:109;2174:25049;24166:71;24182:55;24151:122;2174:25049;24184:27;2174:25049;;;;;;;;24184:27;:::i;:::-;24182:55;:::i;:::-;24166:71;;:::i;24151:122::-;24285:22;:43;2174:25049;;;;;;;;;;;;;;;24151:178;;;;:::i;:::-;24344:91;2174:25049;10384:740:162;;;2174:25049:12;10384:740:162;24416:4:12;2174:25049;10384:740:162;;;;2174:25049:12;10384:740:162;;;;;;;2174:25049:12;10384:740:162;2174:25049:12;10384:740:162;;;;;;2174:25049:12;10384:740:162;;;;;;;2174:25049:12;10384:740:162;2174:25049:12;10384:740:162;;2174:25049:12;10384:740:162;24340:353:12;24344:91;;;2174:25049;;;;;24456:115;2174:25049;;;;;;;;;;;;;;;;;;;;;;;24456:115;2174:25049;;24340:353;24609:73;2174:25049;24609:73;;;;;;;;2174:25049;24609:73;;2174:25049;;;;;;;;;;;;;24609:73;10384:740:162;;;;;;;;;2174:25049:12;-1:-1:-1;;;2174:25049:12;;;;;;;;23512:250;23559:23;;;;;:::i;:::-;23676:15;;23512:250;23673:79;-1:-1:-1;;;23718:19:12;;2174:25049;;23718:19;2174:25049;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;12478:70:158;;;:::i;:::-;1181:103:57;;:::i;:::-;8365:9:12;8376:16;;;;;;3550:68:61;;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;8365:9;8430:8;2174:25049;-1:-1:-1;;;;;8430:8:12;;2174:25049;8430:8;;;;:::i;:::-;;:::i;:::-;2174:25049;;;;;;;;;;8430:33;;8457:4;2174:25049;8430:33;;2174:25049;8430:33;;;;;;;;;;;8365:9;8496:8;8514:6;2174:25049;8496:8;;;;;;;;:::i;:::-;8514:6;:::i;:::-;2174:25049;8365:9;;8430:33;;;2174:25049;8430:33;;;;;;;;;2174:25049;8430:33;;;:::i;:::-;;;2174:25049;;;;;;;8514:6;8430:33;;;;;-1:-1:-1;8430:33:12;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:12;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;:::i;:::-;;;;18334:25;2174:25049;;;;;18334:69;;2174:25049;;;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;12478:70:158;;:::i;:::-;2870:7:12;9791:42;;9787:103;;9927:14;2174:25049;9951:95;9927:14;9951:95;10060:59;;;;2174:25049;;9787:103;-1:-1:-1;;;9856:23:12;;2174:25049;9856:23;;2174:25049;;;;;;;;;;;;;;-1:-1:-1;;;;;1055:34:14;2174:25049:12;;;;;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;6813:405;;;;;;;;;;;;2174:25049:12;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;12478:70:158;;:::i;:::-;6221:74:0;;9049:77:12;;-1:-1:-1;;;;;2174:25049:12;;9140:32;;9136:99;;-1:-1:-1;;;;;9264:15:12;2174:25049;;9289:97;9264:15;9289:97;9454:10;9400:65;;;;;2174:25049;;9136:99;-1:-1:-1;;;9195:29:12;;2174:25049;9195:29;;9049:77;-1:-1:-1;;;9093:33:12;;2174:25049;9093:33;;2174:25049;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;12478:70:158;;:::i;:::-;2174:25049:12;;;;13282:25;2174:25049;;;;;;;;;;;;13336:39;;;;2174:25049;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;;;;18714:25;2174:25049;;;;;;;;;;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;12478:70:158;;;;:::i;:::-;1181:103:57;;:::i;:::-;7659:29:12;;;7655:99;;7792:9;7803:16;;;;;;3550:68:61;;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;7792:9;7855:8;7873:9;7855:8;;2174:25049;7855:8;;;;:::i;:::-;7873:9;;;;;;:::i;:::-;2174:25049;7873:9;;:::i;:::-;2174:25049;7792:9;;7655:99;-1:-1:-1;;;7711:32:12;;2174:25049;7711:32;;2174:25049;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;;;:::i;:::-;12478:70:158;;;:::i;:::-;1181:103:57;;:::i;:::-;2174:25049:12;;-1:-1:-1;;;7098:30:12;;7122:4;2174:25049;7098:30;;2174:25049;;;;;;-1:-1:-1;;;;;2174:25049:12;;7098:30;;;;;;;;;;;2174:25049;7168:6;;;;:::i;:::-;3550:68:61;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;7098:30;;;2174:25049;7098:30;;2174:25049;7098:30;;;;;;2174:25049;7098:30;;;:::i;:::-;;;2174:25049;;;;7168:6;2174:25049;;7098:30;;;;;;-1:-1:-1;7098:30:12;;2174:25049;;;;;;;;;;9831:339:158;;;;;;;;;;;;;;;;2174:25049:12;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;19501:2958;2737:22:0;;;:::i;:::-;2174:25049:12;;;;;19501:2958;:::i;:::-;2174:25049;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;;;;2705:62;2174:25049;;;2705:62;2174:25049;;2705:62;;2174:25049;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;6288:6;2174:25049;;:::i;:::-;;;:::i;:::-;12478:70:158;;:::i;:::-;1181:103:57;;:::i;:::-;2174:25049:12;;6288:6;;:::i;2174:25049::-;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;;;12478:70:158;;;:::i;:::-;11297:15:12;;:40;11294:80;;-1:-1:-1;;;;;2174:25049:12;;;;11417:25;2174:25049;;;;;;11417:59;2174:25049;;;;11417:25;2174:25049;;;;;;;11486:59;2174:25049;11585:74;;;;2174:25049;;11294:80;-1:-1:-1;;;11346:28:12;;2174:25049;11346:28;;2174:25049;;;;;;;-1:-1:-1;;2174:25049:12;;;;;18019:23;2174:25049;;:::i;:::-;18019:23;:::i;2174:25049::-;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:12;;1181:103:57;;;:::i;:::-;2174:25049:12;;;;;;;;;;;;;;2425:26:14;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:393:14;;2627:13;;-1:-1:-1;;;;;2174:25049:12;;;;2536:393:14;;2174:25049:12;;;;2536:393:14;;2713:4;2174:25049:12;;2536:393:14;;;2174:25049:12;;;2536:393:14;;;2174:25049:12;;;;;2536:393:14;;;2174:25049:12;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;2944:38:14;;2174:25049:12;-1:-1:-1;;;;;2174:25049:12;;2944:38:14;;2174:25049:12;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;2944:38:14;;;;;2174:25049:12;2944:38:14;;;;;;;2174:25049:12;-1:-1:-1;2940:248:14;;3060:128;3107:43;2174:25049:12;3060:128:14;;:::i;:::-;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3107:43:14;;;3164:13;2940:248;;14912:13:12;14909:203;;2940:248:14;15126:84:12;2174:25049;;;15199:10;2174:25049;;15126:84;3550:68:61;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;14909:203;14987:9;;;:::i;:::-;15046:10;-1:-1:-1;;;;;15046:10:12;2174:25049;15046:55;;;;;2174:25049;;;;;;;;;;;;;15046:55;;2713:4:14;2174:25049:12;15046:55;;2174:25049;15046:55;;;;;;;;14909:203;;;;;15046:55;;;;;:::i;:::-;2174:25049;;15046:55;;;;2940:248:14;;;;2944:38;;;;2174:25049:12;2944:38:14;;2174:25049:12;2944:38:14;;;;;;2174:25049:12;2944:38:14;;;:::i;:::-;;;2174:25049:12;;;;;2944:38:14;;;;;;;-1:-1:-1;2944:38:14;;2174:25049:12;-1:-1:-1;;;2174:25049:12;;;;;;;;;-1:-1:-1;;;2174:25049:12;;;;;;;;;;;;;;;9239:383:158;;;;;;7972:9;9132:15;2174:25049:12;9239:383:158;;;;;;;;;2174:25049:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2506:30:12;2174:25049;;;;;;;;;;;;;;;-1:-1:-1;;2174:25049:12;;;;-1:-1:-1;;;;;2174:25049:12;;:::i;:::-;12478:70:158;;:::i;:::-;1181:103:57;;:::i;:::-;2174:25049:12;15992:29;;15988:71;;16069:10;;-1:-1:-1;;;;;16069:10:12;2174:25049;16069:46;;;;;;2174:25049;;16069:46;2174:25049;;;;;;;;;;;;16069:46;;2174:25049;16069:46;;2174:25049;;;;;;;16069:46;;;;;;;;3550:68:61;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;15988:71;-1:-1:-1;;;16030:29:12;;2174:25049;16030:29;;2174:25049;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;:::i;:::-;-1:-1:-1;;;;;2174:25049:12;;12478:70:158;;;:::i;:::-;1181:103:57;;:::i;:::-;2174:25049:12;6606:35;;;;;;;;;;:::i;:::-;;6655:8;6651:64;;6729:31;;;;3550:68:61;-1:-1:-1;;;;;;;;;;;3550:68:61;2174:25049:12;;6651:64;-1:-1:-1;;;6686:18:12;;2174:25049;6686:18;;2174:25049;-1:-1:-1;2174:25049:12;;-1:-1:-1;;2174:25049:12;;;;;;;;;;;;;;12478:70:158;;:::i;:::-;-1:-1:-1;;;;;1496:10:0;2174:25049:12;1496:56:0;;;;;;2174:25049:12;;1496:56:0;2174:25049:12;;;;;;;;;1496:56:0;;2174:25049:12;1496:56:0;;2174:25049:12;1524:9:0;1496:56;;;;;;;;;2174:25049:12;;;1496:56:0;;;;2174:25049:12;1496:56:0;;:::i;:::-;2174:25049:12;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2174:25049:12;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:12;;;;;;;;-1:-1:-1;;2174:25049:12;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;2174:25049:12;;;;;-1:-1:-1;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;2174:25049:12;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2174:25049:12;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2174:25049:12;;;;;;:::o;16671:1072::-;;;;;;;2174:25049;17208:15;;;;;;:::i;:::-;2174:25049;;;:::i;:::-;17168:12;2174:25049;;;;17198:26;17252:15;2174:25049;17252:15;;;;;;:::i;2174:25049::-;17168:12;2174:25049;;;;17242:26;17343:23;;;;;;;:::i;:::-;490:2:92;976:38:0;;;372:2:92;976:38:0;;17208:15:12;2174:25049;17116:610;17168:12;17116:610;;823:61:92;;;-1:-1:-1;;;;;2174:25049:12;;;17168:12;;;2174:25049;17208:15;976:38:0;;2174:25049:12;17252:15;976:38:0;;2174:25049:12;17286:23;976:38:0;;2174:25049:12;17286:23;;;2174:25049;17443:25;976:38:0;;2174:25049:12;17486:14;976:38:0;;2174:25049:12;17443:25;;;2174:25049;17343:23;976:38:0;;2174:25049:12;17486:14;;2174:25049;976:38:0;;;2174:25049:12;17518:13;976:38:0;;;2174:25049:12;17557:4;976:38:0;;;2174:25049:12;;;976:38:0;;;;2174:25049:12;;976:38:0;;;;-1:-1:-1;;;;;2174:25049:12;976:38:0;;;2174:25049:12;976:38:0;;;2174:25049:12;;;976:38:0;;;2174:25049:12;976:38:0;17116:610:12;;;;;;:::i;:::-;2174:25049;17093:643;;16671:1072;:::o;2174:25049::-;;;;;;;;;;;;;;;;;;:::o;7292:355:158:-;-1:-1:-1;;7390:251:158;;;;;7292:355::o;7390:251::-;;;;;;;1290:346:57;-1:-1:-1;;;;;;;;;;;3321:69:61;1413:93:57;;1624:4;-1:-1:-1;;;;;;;;;;;3550:68:61;1290:346:57:o;1413:93::-;1465:30;;;-1:-1:-1;1465:30:57;;-1:-1:-1;1465:30:57;3200:252:14;3259:11;;3256:23;;3269:1;2174:25049:12;;;3335:52:14;;;;;;;;;;;;;2174:25049:12;3335:52:14;;;;;;;:::i;:::-;3307:81;3315:13;;;3307:81;;;;:::i;:::-;;3402:8;3398:47;;3200:252;:::o;3398:47::-;3419:26;;;3269:1;3419:26;3335:52;2174:25049:12;3335:52:14;3269:1;3419:26;3256:23;3272:7;:::o;2174:25049:12:-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;25293:770;-1:-1:-1;;;;;2174:25049:12;;-1:-1:-1;2174:25049:12;25461:25;2174:25049;;;-1:-1:-1;2174:25049:12;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2174:25049:12;;;;;;;;;;;;;;;;;;;;;;25515:39;25511:152;;-1:-1:-1;;;;;25754:60:12;2174:25049;;;;;25754:60;;:::i;:::-;25863:22;2174:25049;25851:72;-1:-1:-1;;;;;2174:25049:12;;;25887:35;25851:72;;:::i;:::-;2174:25049;;;;;;;;;;26003:39;;;;;;;;2174:25049;26003:39;-1:-1:-1;26003:39:12;;;25293:770;2174:25049;;;;;;;25979:77;2174:25049;25980:62;2174:25049;;;25980:62;;:::i;:::-;25979:77;:::i;:::-;25293:770;:::o;26003:39::-;;;;2174:25049;26003:39;2174:25049;26003:39;;;;;;;:::i;:::-;;;;25511:152;2174:25049;;;-1:-1:-1;25633:19:12;;-1:-1:-1;25633:19:12;26920:301;;-1:-1:-1;;;;;2174:25049:12;;27012:20;;;27008:62;;-1:-1:-1;;;;;2174:25049:12;13252:754:162;;;;;;;27030:1:12;13252:754:162;;27030:1:12;13252:754:162;;;;;;;;27030:1:12;13252:754:162;;;;;;26920:301:12;13252:754:162;27030:1:12;13252:754:162;;27155:59:12;13252:754:162;2174:25049:12;;27203:10;2174:25049;;27155:59;26920:301::o;13252:754:162:-;;;;;;;;;;;;;;;27030:1:12;13252:754:162;;;;27008:62:12;16030:29;;;27030:1;27041:29;;27030:1;27041:29;5930:135:0;-1:-1:-1;;;;;6021:10:0;2174:25049:12;5999:10:0;:33;2174:25049:12;;5930:135:0:o;2174:25049:12:-;;;-1:-1:-1;;;2174:25049:12;;;;;;;;;;;;;;;;;;;;19501:2958;;;2174:25049;;19806:23;;;;2174:25049;19806:23;;19501:2958;19806:23;:::i;:::-;374:38:6;;;;490:2:92;374:38:6;;;;490:2:92;374:38:6;;717:39;374:38;;2174:25049:12;;;;;;;976:38:0;2174:25049:12;976:38:0;;;2174:25049:12;976:38:0;;;;;;;2174:25049:12;833:1:6;19868:15:12;;19864:75;;20066:23;;;;:::i;:::-;490:2:92;976:38:0;;;434:2:92;976:38:0;875:44;20002:23:12;875:44:0;2174:25049:12;20002:23;;;2174:25049;;875:44:0;2174:25049:12;875:44:0;;;;2174:25049:12;20165:2;2174:25049;;875:44:0;2174:25049:12;;;875:44:0;;;;;20172:3:12;875:44:0;;2174:25049:12;;;20190:30;;;976:38:0;;;;1267:1:6;976:38:0;;;2174:25049:12;;;;1327:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:12;;;;1393:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;2174:25049:12;;;;1457:2:6;976:38:0;-1:-1:-1;976:38:0;;;;;;;1527:2:6;976:38:0;;;2174:25049:12;976:38:0;;;;2174:25049:12;19806:23;2174:25049;976:38:0;;2174:25049:12;976:38:0;;;;;;2174:25049:12;:::i;:::-;;;1457:2:6;20724:22:12;;;:48;;;;20186:2267;20720:118;;;20868:255;2174:25049;;20978:86;2174:25049;;;;-1:-1:-1;;;;;2174:25049:12;;;20978:86;;;:::i;:::-;1393:2:6;13414:265:159;;-1:-1:-1;13414:265:159;;976:38:0;13414:265:159;20868:255:12;;:::i;:::-;21220:9;21216:110;;21378:13;-1:-1:-1;;;21378:13:12;;;-1:-1:-1;;;;;21378:13:12;2174:25049;21378:13;;;:::i;:::-;2174:25049;;1457:2:6;2174:25049:12;21350:208;2174:25049;1393:2:6;21350:208:12;;2174:25049;;1457:2:6;875:44:0;;2174:25049:12;;875:44:0;;2174:25049:12;20002:23;875:44:0;;2174:25049:12;875:44:0;;;2174:25049:12;875:44:0;;;2174:25049:12;875:44:0;21350:208:12;;;19806:23;21350:208;;:::i;:::-;21589:50;2174:25049;;;;875:44:0;2174:25049:12;;2589:104:88;20186:2267:12;19501:2958::o;21216:110::-;21261:49;;;;;;-1:-1:-1;;;2174:25049:12;833:1:6;21261:49:12;;2174:25049;;;;2643:3:88;2174:25049:12;;2589:104:88;;2174:25049:12;1457:2:6;2174:25049:12;;1393:2:6;2174:25049:12;;:::i;:::-;-1:-1:-1;2174:25049:12;;21249:62;;:::o;20720:118::-;20799:24;;;-1:-1:-1;20799:24:12;976:38:0;-1:-1:-1;20799:24:12;20724:48;20770:2;20750:22;;;;20724:48;;;20186:2267;2174:25049;;;;;833:1:6;2174:25049:12;;;;;;21698:33;21694:759;;20186:2267;;;;;;19501:2958::o;21694:759::-;976:38:0;;;;;;;;;1809:2:6;976:38:0;;;2174:25049:12;;;-1:-1:-1;;;;;2174:25049:12;;-1:-1:-1;;21929:29:12;21925:96;;22073:13;;;:::i;:::-;2174:25049;;-1:-1:-1;2174:25049:12;22260:25;2174:25049;;-1:-1:-1;;;;;2174:25049:12;;-1:-1:-1;2174:25049:12;;;;;;;;;22045:312;2174:25049;;22045:312;;2174:25049;;;875:44:0;;2174:25049:12;875:44:0;;2174:25049:12;-1:-1:-1;20002:23:12;875:44:0;;2174:25049:12;;875:44:0;;2174:25049:12;875:44:0;;;2174:25049:12;875:44:0;22045:312:12;;;19806:23;22045:312;;:::i;:::-;22371:18;-1:-1:-1;21694:759:12;;;;;;;;21925:96;21985:21;;;-1:-1:-1;21985:21:12;;-1:-1:-1;21985:21:12;19864:75;19906:22;;;-1:-1:-1;19906:22:12;;-1:-1:-1;19906:22:12;2174:25049;;;;;;;;;;;;6145:1089:158;-1:-1:-1;;;;;6813:405:158;;;;;;-1:-1:-1;6813:405:158;;-1:-1:-1;;6813:405:158;6145:1089::o;2174:25049:12:-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;26497:417::-;;26652:24;-1:-1:-1;;;;;26497:417:12;26652:24;2174:25049;;;;;;;;;26652:24;;2174:25049;26652:24;;;;;;;-1:-1:-1;;;26652:24:12;;;26497:417;26690:11;-1:-1:-1;26690:11:12;;;26686:73;;26784:15;2174:25049;26784:15;;2174:25049;;;;26772:49;26768:107;;26497:417;:::o;26768:107::-;26844:20;;;-1:-1:-1;26844:20:12;26652:24;-1:-1:-1;26844:20:12;26686:73;26724:24;;;-1:-1:-1;26724:24:12;26652;-1:-1:-1;26724:24:12;26652;;;;;;;;;;;;;;;;;;;:::i;:::-;;;2174:25049;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;26652:24;;;;;;;;-1:-1:-1;26652:24:12;;1974:1926:163;;;2174:25049:12;;-1:-1:-1;;;;;2174:25049:12;;2136:20:163;2132:40;;2225:1669;;;;;;;;;;;;;;;;;;;;1974:1926;;;;:::o;2225:1669::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2225:1669:163;;;;;;;;;;;;;;;;2174:25049:12;2225:1669:163;;;;;;;;;;;2174:25049:12;2225:1669:163;;;;;;;;;;2174:25049:12;2225:1669:163;;;;;;;;;;;2174:25049:12;2225:1669:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:40;-1:-1:-1;2174:25049:12;;-1:-1:-1;;;2158:14:163:o;7738:720:51:-;;-1:-1:-1;7875:421:51;7738:720;7875:421;;;;;;;;;;;;-1:-1:-1;7875:421:51;;8310:15;;2174:25049:12;-1:-1:-1;;;;;2174:25049:12;;8328:26:51;:31;8310:68;8306:146;;7738:720;:::o;8306:146::-;-1:-1:-1;;;;;8401:40:51;;;;-1:-1:-1;8401:40:51;2174:25049:12;8401:40:51;2174:25049:12;;-1:-1:-1;8401:40:51;8310:68;8377:1;8362:16;;8310:68;","linkReferences":{},"immutableReferences":{"17":[{"start":1713,"length":32},{"start":2093,"length":32},{"start":2271,"length":32},{"start":3164,"length":32},{"start":3332,"length":32},{"start":6320,"length":32},{"start":6704,"length":32},{"start":7017,"length":32},{"start":8652,"length":32}],"3085":[{"start":3774,"length":32}],"3087":[{"start":8316,"length":32}],"4707":[{"start":736,"length":32},{"start":5934,"length":32},{"start":8052,"length":32}]}},"methodIdentifiers":{"addStake(uint32)":"0396cb60","addToTokenDirectory(address,(address,uint32,uint256))":"e0d873f2","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deposit()":"d0e30db0","entryPoint()":"b0d691fe","getDeposit()":"c399ec88","getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":"dab0f762","getPrice(address)":"41976e09","independentPriceExpiryDuration(address)":"889e1468","independentPriceMarkup(address)":"61dcc50f","independentTokenDirectory(address)":"50f6ab10","isTokenSupported(address)":"75151b63","nativeAssetToUsdOracle()":"a6e12780","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","postOp(uint8,bytes,uint256,uint256)":"7c627b21","removeFromTokenDirectory(address)":"6adf4742","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","setNativeAssetToUsdOracle(address)":"e5a29e18","setPriceExpiryDurationForToken(address,uint256)":"4230aa9e","setPriceMarkupForToken(address,uint32)":"c87558cb","setSigner(address)":"6c19e783","setUnaccountedGas(uint256)":"73acf542","setUniswapRouter(address)":"bea9849e","swapTokenAndDeposit(address,uint256,uint256)":"40663794","tokenToPools(address)":"bacb4b7c","transferOwnership(address)":"f2fde38b","unaccountedGas()":"ab94cad7","uniswapRouter()":"735de9f7","unlockStake()":"bb9fe6bf","updateSwappableTokens(address[],uint24[])":"c23461a9","validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":"52b7512c","verifyingSigner()":"23d9ac9b","withdrawERC20(address,address,uint256)":"44004cc1","withdrawERC20Full(address,address)":"5deef2aa","withdrawEth(address,uint256)":"1b9a91a4","withdrawMultipleERC20(address[],address,uint256[])":"617d057a","withdrawMultipleERC20Full(address[],address)":"78b1da23","withdrawStake(address)":"c23a5cea","withdrawTo(address,uint256)":"205c2878","wrappedNative()":"eb6d3a11"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifyingSignerArg\",\"type\":\"address\"},{\"internalType\":\"contract IEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"unaccountedGasArg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetDecimalsArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IOracle\",\"name\":\"nativeAssetToUsdOracleArg\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nativeAssetPriceExpiryDurationArg\",\"type\":\"uint256\"},{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"wrappedNativeArg\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"independentTokensArg\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo[]\",\"name\":\"tokenInfosArg\",\"type\":\"tuple[]\"},{\"internalType\":\"address[]\",\"name\":\"swappableTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"swappableTokenPoolFeeTiers\",\"type\":\"uint24[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CanNotWithdrawToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"FailedToChargeTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleDecimals\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPaymasterMode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceExpiryDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceMarkup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OraclePriceNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndAmountsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndInfoLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokensAndPoolsLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnaccountedGasTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"UniswapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"UnwrappingReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VerifyingSignerCanNotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawalFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"AddedToTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userOpSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasCostBeforePostOpAndPenalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCharge\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"}],\"name\":\"PaidGasInTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RemovedFromTokenDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"SwappableTokensAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SwappingReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensSwappedAndRefilledEntryPoint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"TokensWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedFeeCollector\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"oldValue\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"newValue\",\"type\":\"uint32\"}],\"name\":\"UpdatedFixedPriceMarkup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"oldOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IOracle\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"UpdatedNativeAssetOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedPriceExpiryDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"UpdatedUnaccountedGas\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"actor\",\"type\":\"address\"}],\"name\":\"UpdatedVerifyingSigner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"internalType\":\"struct IBiconomyTokenPaymaster.TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"}],\"name\":\"addToTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contract IEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"appliedPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"getHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"independentPriceMarkup\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"independentTokenDirectory\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"priceMarkup\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"priceExpiryDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeAssetToUsdOracle\",\"outputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IPaymaster.PostOpMode\",\"name\":\"mode\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualUserOpFeePerGas\",\"type\":\"uint256\"}],\"name\":\"postOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"removeFromTokenDirectory\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IOracle\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"setNativeAssetToUsdOracle\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newPriceExpiryDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceExpiryDurationForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newIndependentPriceMarkup\",\"type\":\"uint32\"}],\"name\":\"setPriceMarkupForToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifyingSigner\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newUnaccountedGas\",\"type\":\"uint256\"}],\"name\":\"setUnaccountedGas\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"uniswapRouterArg\",\"type\":\"address\"}],\"name\":\"setUniswapRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEthAmountRecevied\",\"type\":\"uint256\"}],\"name\":\"swapTokenAndDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPools\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unaccountedGas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapRouter\",\"outputs\":[{\"internalType\":\"contract IV3SwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint24[]\",\"name\":\"poolFeeTiers\",\"type\":\"uint24[]\"}],\"name\":\"updateSwappableTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct PackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maxCost\",\"type\":\"uint256\"}],\"name\":\"validatePaymasterUserOp\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifyingSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"}],\"name\":\"withdrawMultipleERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"token\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawMultipleERC20Full\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"ShivaanshKlivingrockrises\",\"details\":\"A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund model to handle gas remittances. Currently, the paymaster supports two modes: 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner). 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode doesn't require a signature and is \\\"always available\\\" to use. The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments applied, and how to manage the assets received by the paymaster.\",\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"addStake(uint32)\":{\"params\":{\"unstakeDelaySec\":\"- The unstake delay for this paymaster. Can only be increased.\"}},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"details\":\"Set or update a TokenInfo entry in the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to add or update in directory\",\"tokenInfo\":\"The TokenInfo struct to add or update\"}},\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"constructor\":{\"details\":\"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink\\u2019s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \"},\"getPrice(address)\":{\"details\":\"Get the price of a token in USD\",\"params\":{\"tokenAddress\":\"The address of the token to get the price of\"},\"returns\":{\"_0\":\"price The price of the token in USD\"}},\"independentPriceExpiryDuration(address)\":{\"details\":\"Get the price expiry duration for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price expiry duration of\"},\"returns\":{\"_0\":\"priceExpiryDuration The price expiry duration for the token\"}},\"independentPriceMarkup(address)\":{\"details\":\"Get the price markup for a token\",\"params\":{\"tokenAddress\":\"The address of the token to get the price markup of\"},\"returns\":{\"_0\":\"priceMarkup The price markup for the token\"}},\"isTokenSupported(address)\":{\"details\":\"Check if a token is supported\",\"params\":{\"tokenAddress\":\"The address of the token to check\"},\"returns\":{\"_0\":\"bool True if the token is supported, false otherwise\"}},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"params\":{\"actualGasCost\":\"- Actual gas used so far (without this postOp call).\",\"actualUserOpFeePerGas\":\"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.\",\"context\":\"- The context value returned by validatePaymasterUserOp\",\"mode\":\"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp().\"}},\"removeFromTokenDirectory(address)\":{\"details\":\"Remove a token from the independentTokenDirectory mapping.\",\"params\":{\"tokenAddress\":\"The token address to remove from directory\"}},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"setNativeAssetToUsdOracle(address)\":{\"details\":\"Update the native oracle address\",\"params\":{\"oracle\":\"The new native asset oracle\"}},\"setPriceExpiryDurationForToken(address,uint256)\":{\"details\":\"Set a new price expiry duration.\",\"params\":{\"newPriceExpiryDuration\":\"The new value to be set as the price expiry duration\"}},\"setPriceMarkupForToken(address,uint32)\":{\"details\":\"Set a new priceMarkup value.\",\"params\":{\"newIndependentPriceMarkup\":\"The new value to be set as the price markup\"}},\"setSigner(address)\":{\"details\":\"Set a new verifying signer address. Can only be called by the owner of the contract.\",\"params\":{\"newVerifyingSigner\":\"The new address to be set as the verifying signer.\"}},\"setUnaccountedGas(uint256)\":{\"details\":\"Set a new unaccountedEPGasOverhead value.\",\"params\":{\"newUnaccountedGas\":\"The new value to be set as the unaccounted gas value\"}},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"details\":\"Swap a token in the paymaster for ETH and deposit the amount received into the entry point\",\"params\":{\"minEthAmountRecevied\":\"The minimum amount of ETH amount recevied post-swap\",\"tokenAddress\":\"The token address of the token to swap\",\"tokenAmount\":\"The amount of the token to swap\"}},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"},\"updateSwappableTokens(address[],uint24[])\":{\"details\":\"Update or add a swappable token to the Uniswapper\",\"params\":{\"poolFeeTiers\":\"The pool fee tiers for the corresponding token address to use\",\"tokenAddresses\":\"The token address to add/update to/for uniswapper\"}},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"params\":{\"maxCost\":\"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).\",\"userOp\":\"- The user operation.\",\"userOpHash\":\"- Hash of the user's request data.\"},\"returns\":{\"context\":\" - Value to send to a postOp. Zero length to signify postOp is not required.\",\"validationData\":\"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \\\"indefinite\\\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly.\"}},\"withdrawERC20(address,address,uint256)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amount to withdraw\",\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawERC20Full(address,address)\":{\"details\":\"pull tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the token deposit to withdraw\"}},\"withdrawEth(address,uint256)\":{\"details\":\"Withdraw ETH from the paymaster\",\"params\":{\"amount\":\"The amount of ETH to withdraw\",\"recipient\":\"The address to send the ETH to\"}},\"withdrawMultipleERC20(address[],address,uint256[])\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"amount\":\"amounts to withdraw\",\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawMultipleERC20Full(address[],address)\":{\"details\":\"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\",\"params\":{\"target\":\"address to send to\",\"token\":\"the tokens deposit to withdraw\"}},\"withdrawStake(address)\":{\"params\":{\"withdrawAddress\":\"- The address to send withdrawn value.\"}},\"withdrawTo(address,uint256)\":{\"details\":\"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.\",\"params\":{\"amount\":\"The amount of gas tokens to withdraw.\",\"withdrawAddress\":\"The address to which the gas tokens should be transferred.\"}}},\"title\":\"BiconomyTokenPaymaster\",\"version\":1},\"userdoc\":{\"errors\":{\"CanNotWithdrawToZeroAddress()\":[{\"notice\":\"Throws when trying to withdraw to address(0)\"}],\"FailedToChargeTokens(address,address,uint256,bytes32)\":[{\"notice\":\"Throws when PM was not able to charge user\"}],\"FeeCollectorCanNotBeZero()\":[{\"notice\":\"Throws when the fee collector address provided is address(0)\"}],\"InvalidOracleDecimals()\":[{\"notice\":\"Throws when oracle decimals aren't equal to 8\"}],\"InvalidPaymasterMode()\":[{\"notice\":\"Throws when invalid PaymasterMode specified in paymasterAndData\"}],\"InvalidPriceExpiryDuration()\":[{\"notice\":\"Throws when price expiry duration is in the past\"}],\"InvalidPriceMarkup()\":[{\"notice\":\"Throws when invalid signature length in paymasterAndData\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Throws when external signer's signature has invalid length\"}],\"InvalidTokenAddress()\":[{\"notice\":\"Throws when token address to pay with is invalid\"}],\"OraclePriceExpired()\":[{\"notice\":\"Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\"}],\"OraclePriceNotPositive()\":[{\"notice\":\"Throws when oracle returns invalid price\"}],\"TokensAndAmountsLengthMismatch()\":[{\"notice\":\"Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\"}],\"TokensAndInfoLengthMismatch()\":[{\"notice\":\"Throws when each token doesnt have a corresponding oracle\"}],\"UnaccountedGasTooHigh()\":[{\"notice\":\"Throws when trying unaccountedGas is too high\"}],\"VerifyingSignerCanNotBeContract()\":[{\"notice\":\"Throws when the fee collector address provided is a deployed contract\"}],\"VerifyingSignerCanNotBeZero()\":[{\"notice\":\"Throws when the verifiying signer address provided is address(0)\"}],\"WithdrawalFailed()\":[{\"notice\":\"Throws when ETH withdrawal fails\"}]},\"kind\":\"user\",\"methods\":{\"addStake(uint32)\":{\"notice\":\"Add stake for this paymaster. This method can also carry eth value to add to the current stake.\"},\"addToTokenDirectory(address,(address,uint32,uint256))\":{\"notice\":\"only to be called by the owner of the contract.\"},\"deposit()\":{\"notice\":\"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens.\"},\"getDeposit()\":{\"notice\":\"Return current paymaster's deposit on the entryPoint.\"},\"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)\":{\"notice\":\"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \\\"paymasterAndData\\\", which will carry the signature itself.\"},\"postOp(uint8,bytes,uint256,uint256)\":{\"notice\":\"Post-operation handler. Must verify sender is the entryPoint.\"},\"removeFromTokenDirectory(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setNativeAssetToUsdOracle(address)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceExpiryDurationForToken(address,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setPriceMarkupForToken(address,uint32)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"setSigner(address)\":{\"notice\":\"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\"},\"setUnaccountedGas(uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"swapTokenAndDeposit(address,uint256,uint256)\":{\"notice\":\"only to be called by the owner of the contract.\"},\"uniswapRouter()\":{\"notice\":\"The Uniswap V3 SwapRouter contract\"},\"unlockStake()\":{\"notice\":\"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again\"},\"updateSwappableTokens(address[],uint24[])\":{\"notice\":\"only to be called by the owner of the contract.\"},\"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)\":{\"notice\":\"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\"},\"withdrawStake(address)\":{\"notice\":\"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)\"},\"wrappedNative()\":{\"notice\":\"The ERC-20 token that wraps the native asset for current chain\"}},\"notice\":\"Biconomy's Token Paymaster for Entry Point v0.7\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/BiconomyTokenPaymaster.sol\":\"BiconomyTokenPaymaster\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/base/BasePaymaster.sol\":{\"keccak256\":\"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3\",\"dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a\"]},\"contracts/common/BiconomyTokenPaymasterErrors.sol\":{\"keccak256\":\"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7\",\"dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV\"]},\"contracts/interfaces/IBiconomyTokenPaymaster.sol\":{\"keccak256\":\"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced\",\"dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR\"]},\"contracts/interfaces/oracles/IOracle.sol\":{\"keccak256\":\"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88\",\"dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e\"]},\"contracts/libraries/TokenPaymasterParserLib.sol\":{\"keccak256\":\"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1\",\"dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG\"]},\"contracts/token/BiconomyTokenPaymaster.sol\":{\"keccak256\":\"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3\",\"dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX\"]},\"contracts/token/swaps/Uniswapper.sol\":{\"keccak256\":\"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914\",\"dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09\",\"dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862\",\"dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23\",\"dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\":{\"keccak256\":\"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79\",\"dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg\"]},\"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol\":{\"keccak256\":\"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889\",\"dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\":{\"keccak256\":\"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9\",\"dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo\"]},\"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"node_modules/account-abstraction/contracts/core/Helpers.sol\":{\"keccak256\":\"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e\",\"dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc\"]},\"node_modules/account-abstraction/contracts/core/UserOperationLib.sol\":{\"keccak256\":\"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc\",\"dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS\"]},\"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol\":{\"keccak256\":\"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155\",\"dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5\"]},\"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol\":{\"keccak256\":\"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9\",\"dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe\"]},\"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol\":{\"keccak256\":\"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3\",\"dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk\"]},\"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol\":{\"keccak256\":\"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8\",\"dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt\"]},\"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol\":{\"keccak256\":\"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00\",\"dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj\"]},\"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol\":{\"keccak256\":\"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be\",\"dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]},\"node_modules/solady/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c\",\"dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR\"]},\"node_modules/solady/src/utils/SignatureCheckerLib.sol\":{\"keccak256\":\"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6\",\"dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"verifyingSignerArg","type":"address"},{"internalType":"contract IEntryPoint","name":"entryPoint","type":"address"},{"internalType":"uint256","name":"unaccountedGasArg","type":"uint256"},{"internalType":"uint256","name":"nativeAssetDecimalsArg","type":"uint256"},{"internalType":"contract IOracle","name":"nativeAssetToUsdOracleArg","type":"address"},{"internalType":"uint256","name":"nativeAssetPriceExpiryDurationArg","type":"uint256"},{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"},{"internalType":"address","name":"wrappedNativeArg","type":"address"},{"internalType":"address[]","name":"independentTokensArg","type":"address[]"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo[]","name":"tokenInfosArg","type":"tuple[]","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"internalType":"address[]","name":"swappableTokens","type":"address[]"},{"internalType":"uint24[]","name":"swappableTokenPoolFeeTiers","type":"uint24[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"CanNotWithdrawToZeroAddress"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"}],"type":"error","name":"FailedToChargeTokens"},{"inputs":[],"type":"error","name":"FeeCollectorCanNotBeZero"},{"inputs":[],"type":"error","name":"InvalidOracleDecimals"},{"inputs":[],"type":"error","name":"InvalidPaymasterMode"},{"inputs":[],"type":"error","name":"InvalidPriceExpiryDuration"},{"inputs":[],"type":"error","name":"InvalidPriceMarkup"},{"inputs":[],"type":"error","name":"InvalidSignatureLength"},{"inputs":[],"type":"error","name":"InvalidTokenAddress"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"OraclePriceExpired"},{"inputs":[],"type":"error","name":"OraclePriceNotPositive"},{"inputs":[],"type":"error","name":"ReentrancyGuardReentrantCall"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"type":"error","name":"SafeERC20FailedOperation"},{"inputs":[],"type":"error","name":"TokenNotSupported"},{"inputs":[],"type":"error","name":"TokensAndAmountsLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndInfoLengthMismatch"},{"inputs":[],"type":"error","name":"TokensAndPoolsLengthMismatch"},{"inputs":[],"type":"error","name":"UnaccountedGasTooHigh"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"type":"error","name":"UniswapReverted"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"UnwrappingReverted"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeContract"},{"inputs":[],"type":"error","name":"VerifyingSignerCanNotBeZero"},{"inputs":[],"type":"error","name":"WithdrawalFailed"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"contract IOracle","name":"oracle","type":"address","indexed":true},{"internalType":"uint8","name":"decimals","type":"uint8","indexed":false}],"type":"event","name":"AddedToTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true}],"type":"event","name":"EthWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"userOpSender","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"gasCostBeforePostOpAndPenalty","type":"uint256","indexed":false},{"internalType":"uint256","name":"tokenCharge","type":"uint256","indexed":false},{"internalType":"uint32","name":"priceMarkup","type":"uint32","indexed":false},{"internalType":"uint256","name":"tokenPrice","type":"uint256","indexed":false},{"internalType":"bytes32","name":"userOpHash","type":"bytes32","indexed":false}],"type":"event","name":"PaidGasInTokens","anonymous":false},{"inputs":[{"internalType":"address","name":"sender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Received","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true}],"type":"event","name":"RemovedFromTokenDirectory","anonymous":false},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]","indexed":true}],"type":"event","name":"SwappableTokensAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address","indexed":false},{"internalType":"uint256","name":"amountIn","type":"uint256","indexed":false},{"internalType":"bytes","name":"reason","type":"bytes","indexed":false}],"type":"event","name":"SwappingReverted","anonymous":false},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address","indexed":true},{"internalType":"uint256","name":"tokenAmount","type":"uint256","indexed":true},{"internalType":"uint256","name":"amountOut","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensSwappedAndRefilledEntryPoint","anonymous":false},{"inputs":[{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":false}],"type":"event","name":"TokensWithdrawn","anonymous":false},{"inputs":[{"internalType":"address","name":"oldFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"newFeeCollector","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedFeeCollector","anonymous":false},{"inputs":[{"internalType":"uint32","name":"oldValue","type":"uint32","indexed":true},{"internalType":"uint32","name":"newValue","type":"uint32","indexed":true}],"type":"event","name":"UpdatedFixedPriceMarkup","anonymous":false},{"inputs":[{"internalType":"contract IOracle","name":"oldOracle","type":"address","indexed":true},{"internalType":"contract IOracle","name":"newOracle","type":"address","indexed":true}],"type":"event","name":"UpdatedNativeAssetOracle","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedPriceExpiryDuration","anonymous":false},{"inputs":[{"internalType":"uint256","name":"oldValue","type":"uint256","indexed":true},{"internalType":"uint256","name":"newValue","type":"uint256","indexed":true}],"type":"event","name":"UpdatedUnaccountedGas","anonymous":false},{"inputs":[{"internalType":"address","name":"oldSigner","type":"address","indexed":true},{"internalType":"address","name":"newSigner","type":"address","indexed":true},{"internalType":"address","name":"actor","type":"address","indexed":true}],"type":"event","name":"UpdatedVerifyingSigner","anonymous":false},{"inputs":[{"internalType":"uint32","name":"unstakeDelaySec","type":"uint32"}],"stateMutability":"payable","type":"function","name":"addStake"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"struct IBiconomyTokenPaymaster.TokenInfo","name":"tokenInfo","type":"tuple","components":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]}],"stateMutability":"payable","type":"function","name":"addToTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"entryPoint","outputs":[{"internalType":"contract IEntryPoint","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"uint48","name":"validUntil","type":"uint48"},{"internalType":"uint48","name":"validAfter","type":"uint48"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"uint32","name":"appliedPriceMarkup","type":"uint32"}],"stateMutability":"view","type":"function","name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceExpiryDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"independentPriceMarkup","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"independentTokenDirectory","outputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"},{"internalType":"uint32","name":"priceMarkup","type":"uint32"},{"internalType":"uint256","name":"priceExpiryDuration","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenSupported","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"nativeAssetToUsdOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[{"internalType":"enum IPaymaster.PostOpMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"actualGasCost","type":"uint256"},{"internalType":"uint256","name":"actualUserOpFeePerGas","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"postOp"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"payable","type":"function","name":"removeFromTokenDirectory"},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"contract IOracle","name":"oracle","type":"address"}],"stateMutability":"payable","type":"function","name":"setNativeAssetToUsdOracle"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"newPriceExpiryDuration","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setPriceExpiryDurationForToken"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint32","name":"newIndependentPriceMarkup","type":"uint32"}],"stateMutability":"payable","type":"function","name":"setPriceMarkupForToken"},{"inputs":[{"internalType":"address","name":"newVerifyingSigner","type":"address"}],"stateMutability":"payable","type":"function","name":"setSigner"},{"inputs":[{"internalType":"uint256","name":"newUnaccountedGas","type":"uint256"}],"stateMutability":"payable","type":"function","name":"setUnaccountedGas"},{"inputs":[{"internalType":"contract IV3SwapRouter","name":"uniswapRouterArg","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setUniswapRouter"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"minEthAmountRecevied","type":"uint256"}],"stateMutability":"payable","type":"function","name":"swapTokenAndDeposit"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"tokenToPools","outputs":[{"internalType":"uint24","name":"","type":"uint24"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"view","type":"function","name":"unaccountedGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"uniswapRouter","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockStake"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"uint24[]","name":"poolFeeTiers","type":"uint24[]"}],"stateMutability":"payable","type":"function","name":"updateSwappableTokens"},{"inputs":[{"internalType":"struct PackedUserOperation","name":"userOp","type":"tuple","components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"initCode","type":"bytes"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes32","name":"accountGasLimits","type":"bytes32"},{"internalType":"uint256","name":"preVerificationGas","type":"uint256"},{"internalType":"bytes32","name":"gasFees","type":"bytes32"},{"internalType":"bytes","name":"paymasterAndData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}]},{"internalType":"bytes32","name":"userOpHash","type":"bytes32"},{"internalType":"uint256","name":"maxCost","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"validatePaymasterUserOp","outputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"uint256","name":"validationData","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"verifyingSigner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawERC20"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawERC20Full"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function","name":"withdrawEth"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20"},{"inputs":[{"internalType":"contract IERC20[]","name":"token","type":"address[]"},{"internalType":"address","name":"target","type":"address"}],"stateMutability":"payable","type":"function","name":"withdrawMultipleERC20Full"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"withdrawStake"},{"inputs":[{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdrawTo"},{"inputs":[],"stateMutability":"view","type":"function","name":"wrappedNative","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"receive"}],"devdoc":{"kind":"dev","methods":{"addStake(uint32)":{"params":{"unstakeDelaySec":"- The unstake delay for this paymaster. Can only be increased."}},"addToTokenDirectory(address,(address,uint32,uint256))":{"details":"Set or update a TokenInfo entry in the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to add or update in directory","tokenInfo":"The TokenInfo struct to add or update"}},"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"constructor":{"details":"markup and expiry duration are provided for each token. Price expiry duration should be set to the heartbeat value of the token. Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value. More: https://docs.chain.link/architecture-overview/architecture-decentralized-model "},"getPrice(address)":{"details":"Get the price of a token in USD","params":{"tokenAddress":"The address of the token to get the price of"},"returns":{"_0":"price The price of the token in USD"}},"independentPriceExpiryDuration(address)":{"details":"Get the price expiry duration for a token","params":{"tokenAddress":"The address of the token to get the price expiry duration of"},"returns":{"_0":"priceExpiryDuration The price expiry duration for the token"}},"independentPriceMarkup(address)":{"details":"Get the price markup for a token","params":{"tokenAddress":"The address of the token to get the price markup of"},"returns":{"_0":"priceMarkup The price markup for the token"}},"isTokenSupported(address)":{"details":"Check if a token is supported","params":{"tokenAddress":"The address of the token to check"},"returns":{"_0":"bool True if the token is supported, false otherwise"}},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"postOp(uint8,bytes,uint256,uint256)":{"params":{"actualGasCost":"- Actual gas used so far (without this postOp call).","actualUserOpFeePerGas":"- the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas and maxPriorityFee (and basefee) It is not the same as tx.gasprice, which is what the bundler pays.","context":"- The context value returned by validatePaymasterUserOp","mode":"- Enum with the following options: opSucceeded - User operation succeeded. opReverted - User op reverted. The paymaster still has to pay for gas. postOpReverted - never passed in a call to postOp()."}},"removeFromTokenDirectory(address)":{"details":"Remove a token from the independentTokenDirectory mapping.","params":{"tokenAddress":"The token address to remove from directory"}},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"setNativeAssetToUsdOracle(address)":{"details":"Update the native oracle address","params":{"oracle":"The new native asset oracle"}},"setPriceExpiryDurationForToken(address,uint256)":{"details":"Set a new price expiry duration.","params":{"newPriceExpiryDuration":"The new value to be set as the price expiry duration"}},"setPriceMarkupForToken(address,uint32)":{"details":"Set a new priceMarkup value.","params":{"newIndependentPriceMarkup":"The new value to be set as the price markup"}},"setSigner(address)":{"details":"Set a new verifying signer address. Can only be called by the owner of the contract.","params":{"newVerifyingSigner":"The new address to be set as the verifying signer."}},"setUnaccountedGas(uint256)":{"details":"Set a new unaccountedEPGasOverhead value.","params":{"newUnaccountedGas":"The new value to be set as the unaccounted gas value"}},"swapTokenAndDeposit(address,uint256,uint256)":{"details":"Swap a token in the paymaster for ETH and deposit the amount received into the entry point","params":{"minEthAmountRecevied":"The minimum amount of ETH amount recevied post-swap","tokenAddress":"The token address of the token to swap","tokenAmount":"The amount of the token to swap"}},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."},"updateSwappableTokens(address[],uint24[])":{"details":"Update or add a swappable token to the Uniswapper","params":{"poolFeeTiers":"The pool fee tiers for the corresponding token address to use","tokenAddresses":"The token address to add/update to/for uniswapper"}},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"params":{"maxCost":"- The maximum cost of this transaction (based on maximum gas and gas price from userOp).","userOp":"- The user operation.","userOpHash":"- Hash of the user's request data."},"returns":{"context":" - Value to send to a postOp. Zero length to signify postOp is not required.","validationData":"- Signature and time-range of this operation, encoded the same as the return value of validateUserOperation. <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure, other values are invalid for paymaster. <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\" <6-byte> validAfter - first timestamp this operation is valid Note that the validation code cannot use block.timestamp (or block.number) directly."}},"withdrawERC20(address,address,uint256)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amount to withdraw","target":"address to send to","token":"the token deposit to withdraw"}},"withdrawERC20Full(address,address)":{"details":"pull tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the token deposit to withdraw"}},"withdrawEth(address,uint256)":{"details":"Withdraw ETH from the paymaster","params":{"amount":"The amount of ETH to withdraw","recipient":"The address to send the ETH to"}},"withdrawMultipleERC20(address[],address,uint256[])":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"amount":"amounts to withdraw","target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawMultipleERC20Full(address[],address)":{"details":"pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.","params":{"target":"address to send to","token":"the tokens deposit to withdraw"}},"withdrawStake(address)":{"params":{"withdrawAddress":"- The address to send withdrawn value."}},"withdrawTo(address,uint256)":{"details":"Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the specified address.","params":{"amount":"The amount of gas tokens to withdraw.","withdrawAddress":"The address to which the gas tokens should be transferred."}}},"version":1},"userdoc":{"kind":"user","methods":{"addStake(uint32)":{"notice":"Add stake for this paymaster. This method can also carry eth value to add to the current stake."},"addToTokenDirectory(address,(address,uint32,uint256))":{"notice":"only to be called by the owner of the contract."},"deposit()":{"notice":"Add a deposit in native currency for this paymaster, used for paying for transaction fees. This is ideally done by the entity who is managing the received ERC20 gas tokens."},"getDeposit()":{"notice":"Return current paymaster's deposit on the entryPoint."},"getHash((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),uint48,uint48,address,uint256,uint32)":{"notice":"return the hash we're going to sign off-chain (and validate on-chain) this method is called by the off-chain service, to sign the request. it is called on-chain from the validatePaymasterUserOp, to validate the signature. note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\", which will carry the signature itself."},"postOp(uint8,bytes,uint256,uint256)":{"notice":"Post-operation handler. Must verify sender is the entryPoint."},"removeFromTokenDirectory(address)":{"notice":"only to be called by the owner of the contract."},"setNativeAssetToUsdOracle(address)":{"notice":"only to be called by the owner of the contract."},"setPriceExpiryDurationForToken(address,uint256)":{"notice":"only to be called by the owner of the contract."},"setPriceMarkupForToken(address,uint32)":{"notice":"only to be called by the owner of the contract."},"setSigner(address)":{"notice":"If newVerifyingSigner is set to zero address, it will revert with an error. After setting the new signer address, it will emit an event UpdatedVerifyingSigner."},"setUnaccountedGas(uint256)":{"notice":"only to be called by the owner of the contract."},"swapTokenAndDeposit(address,uint256,uint256)":{"notice":"only to be called by the owner of the contract."},"uniswapRouter()":{"notice":"The Uniswap V3 SwapRouter contract"},"unlockStake()":{"notice":"Unlock the stake, in order to withdraw it. The paymaster can't serve requests once unlocked, until it calls addStake again"},"updateSwappableTokens(address[],uint24[])":{"notice":"only to be called by the owner of the contract."},"validatePaymasterUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes),bytes32,uint256)":{"notice":"Payment validation: check if paymaster agrees to pay. Must verify sender is the entryPoint. Revert to reject this request. Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted). The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns."},"withdrawStake(address)":{"notice":"Withdraw the entire paymaster's stake. stake must be unlocked first (and then wait for the unstakeDelay to be over)"},"wrappedNative()":{"notice":"The ERC-20 token that wraps the native asset for current chain"}},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/token/BiconomyTokenPaymaster.sol":"BiconomyTokenPaymaster"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/base/BasePaymaster.sol":{"keccak256":"0xde235ba59fa9febfab83433be7020fbba2798fb8ed601e7ef076e9f4693671a2","urls":["bzz-raw://e3ee35669cb1b0db5325f948800589b5f012ba8099e57827eb76875d95a016d3","dweb:/ipfs/QmTBpW9RCubh28tHxgL6Ee8UEM8bNLVKEyEiFCrEL4pQ9a"],"license":"GPL-3.0"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"keccak256":"0x9f88957b0f2414649080d90bff3cb2c8eb77c73768e9c421024802f2e32c3116","urls":["bzz-raw://9ac80f8b00d478257b2e7ac9bc40d0e0d984260112676b0ae095a01cf5afdfc7","dweb:/ipfs/QmUWEm7MdihdcGX23nEGNy6aXot4tvaknC39JGbjf6mkFV"],"license":"LGPL-3.0-only"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"keccak256":"0x231cc91d24bc1fb979266ddab5b1c0eabad1f881fcfe8fee4352b36da8cc3fc8","urls":["bzz-raw://756012864054475ef1001ed3a054128e5781702ce8b7419c0662f8f7a21dfced","dweb:/ipfs/QmZdkmgEAukWxMM3h2HHqSk66aXKrtr4BwYFicuuaRcVhR"],"license":"GPL-3.0"},"contracts/interfaces/oracles/IOracle.sol":{"keccak256":"0xe9a21c93ef09e4c8bbdfe2848136d6ce3562185e257d846b9cc578f8af2ec03b","urls":["bzz-raw://c2755e9c5bab8109b67a722529ec3e8e829de98b9c983c81e9780a8f950a4e88","dweb:/ipfs/QmW23eRspR5YDu2j9fXNAGdXXWyKg6768DCqUa5cBJsc1e"],"license":"MIT"},"contracts/libraries/TokenPaymasterParserLib.sol":{"keccak256":"0x09a96b2da449f45b87343ead1c0bdc1dbf1465ad7f20447ea469e8783b9a68cf","urls":["bzz-raw://e2cc39472cc044713816ce97f59ba297f7ffd93d22346bc98892c01de36b5ee1","dweb:/ipfs/QmeZTnPdjfKTDTNPYTr5bhWRVmJbKHRMcm1G1bFv3GX1QG"],"license":"GPL-3.0"},"contracts/token/BiconomyTokenPaymaster.sol":{"keccak256":"0xee2d45a8e24f5e5aa001583dc40b47a336047b11ef3352fec43a3685c6b6f269","urls":["bzz-raw://e42005df7994fa8147c8a05ddfe933e79fb9fb9c19613dd43193a2f4b1e800c3","dweb:/ipfs/QmZcfB3SKKqsFHvxvjKLRtabZzQwxtHizbeTXq2nQRnhdX"],"license":"GPL-3.0"},"contracts/token/swaps/Uniswapper.sol":{"keccak256":"0x5f39a396413493cf6152e46dc752e318964a502c71fe3d22bd0ba6e8ae5cd1be","urls":["bzz-raw://8b3172779be90c6f7c389493603bc928ff4e2ec07fe88fd8aef618a5489c7914","dweb:/ipfs/QmSjdNcHUZPxDfd5At2U67CsX1zKur4ZNWPq3EnRqFpVJp"],"license":"GPL-3.0"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"keccak256":"0xbf61ab2ae1d575a17ea58fbb99ca232baddcc4e0eeea180e84cbc74b0c348b31","urls":["bzz-raw://4e0968705bad99747a8e5288aa008678c2be2f471f919dce3925a3cc4f1dee09","dweb:/ipfs/QmbAFnCQfo4tw6ssfQSjhA5LzwHWNNryXN8bX7ty8jiqqn"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xca2ae13e0610f6a99238dd00b97bd786bc92732dae6d6b9d61f573ec51018310","urls":["bzz-raw://75f8c71ce0c91c40dd5f249ace0b7d8270f8f1767231bcf71490f7157d6ba862","dweb:/ipfs/QmYXgxeDyFHvz3JsXxLEYN6GNUR44ThHeFj5XkpkgMoG4w"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x9d8da059267bac779a2dbbb9a26c2acf00ca83085e105d62d5d4ef96054a47f5","urls":["bzz-raw://c78e2aa4313323cecd1ef12a8d6265b96beee1a199923abf55d9a2a9e291ad23","dweb:/ipfs/QmUTs2KStXucZezzFo3EYeqYu47utu56qrF7jj1Gue65vb"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"keccak256":"0x534bf5c25d6003a8ce50b400d20fa460c03169ad7baa90d47a912917c36dfe2b","urls":["bzz-raw://cc0cc39c40ea23d3c46e8517e19ebdd877719d3159fa032f2a91802cdd205c79","dweb:/ipfs/QmSoNh7HTkD4TJcBkBKSGSPMMpLUZKE7s9f2G6mjdaJywg"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"keccak256":"0x9303ef5a2beb555e52ce56598de205ce07ca8988fc67d073687c06cb8fc973d1","urls":["bzz-raw://8b2e48fb42844c25e6cb38e7cfa1d91dcdc054613fd10f608833dbc677acf889","dweb:/ipfs/QmT4HQxbgpWA3fZnK4dY3eXHNCoyBvpvzNq5k7eSt5mR5t"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"],"license":"MIT"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"keccak256":"0xa2300af2b82af292216a8f3f301a86e65463655fff9fb791515e3fd2ccf4a14c","urls":["bzz-raw://a0a9bece58527fb5c1773d86666c7a71884a78f413e230dfa8c8a7f8ea564ef9","dweb:/ipfs/QmbDhvpoZJN1KntxUUxkYV89RPTwqVBiyHBkvVh4QHSveo"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"keccak256":"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69","urls":["bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652","dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS"],"license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"keccak256":"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274","urls":["bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407","dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp"],"license":"GPL-2.0-or-later"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"keccak256":"0x6247e011a6cb0b263b3aa098822977181674d91b62e5bdfe04c6e66f72da25d6","urls":["bzz-raw://ca829a69b3fbc74fec8e140d42a2bf93bc3512609272f031c846470f61f0ab7e","dweb:/ipfs/QmP3r3MBgAN39KeVB1rCGJWwcBcotNt26ALtAR54poQ1Jc"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"keccak256":"0x9d50ece985d35f82e33e5da417595c86fac10449e3d10895d08363d33aad454b","urls":["bzz-raw://b1d11cc364c8bf7ed5388268c895b5ffed16e87dfbcb320ddeeba5e7974315dc","dweb:/ipfs/QmYSpvjxEjweietQrYZagwQ52ipy7eXx4rwvnTzXKeGeMS"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"keccak256":"0xf100d6fcc0c3b450b13e979b6a42c628c292a1bc340eccc2e7796b80e3975588","urls":["bzz-raw://192938b5b27234d35c8098a319e879363c79f750eea4d0e409dc889a8ce5b155","dweb:/ipfs/QmURpaJFPqEtkKP2ngBsgZhAGN8wAWh5XQpYmCkiz4Urz5"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"keccak256":"0x1972a5fcb3a808b58c85af5741949ef6af11ab0debd3ae8c708171ae1ae0d0c4","urls":["bzz-raw://baa9837ae73b9e2362a47d42d081d7c0f3d8e878e5edb381117d94a6968949c9","dweb:/ipfs/QmUmo6FUE7fv5z1WzW1YFjxp8PqaeN2JrEee9au59w3Xhe"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"keccak256":"0xd575af0f6ebbd5f0b2933307d44cd7b4e03a69f4b817a67db5409bd3c89aeecb","urls":["bzz-raw://3b1e2dea9b05cfba9d13339ed16d96457dc861013cc4f3f35b71a80f82448db3","dweb:/ipfs/QmVaGy5uGDMSiU2SzyokTjoHFyb39VVG5wtaM9KTnHyZSk"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"keccak256":"0x49d8dbf8a85b006bcd89bbc40e4e9e113997cc016007de85263bdae70572d07f","urls":["bzz-raw://bc0d83804c1b795d5c216b3518cd176c48f90db28550f267cbd89746d6b476c8","dweb:/ipfs/QmNdCm4c6hnt7f6Q8q21QjtCNZWWRUaMVEYnQHEv68VnKt"],"license":"GPL-3.0"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"keccak256":"0xbe5ca9e7f254d031687419e7b96ef48c9c63e9398bbe992dc72ffc6dc14e0a04","urls":["bzz-raw://1fffec71c38627a26fabb423350148009579f092623fb02b471a12d973763a00","dweb:/ipfs/QmRBi31QEYXHj3x1AnQ2jKa2eziZH1b9av396P3b4dw6bj"],"license":"GPL-3.0-only"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"keccak256":"0x1129b46381db68eddbc5cb49e50664667b66b03c480453858e7b25eabe444359","urls":["bzz-raw://499a948aba60480dba6e25c763b8d918f1c246eb7a3302e04f493e080f3295be","dweb:/ipfs/QmeRhhswf4NACcBKam2PyjpTP2ddSm648kah5kkQJsvwz3"],"license":"GPL-3.0"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"keccak256":"0x7d0de1ff3be5dc32635283280b000d4794015a1b61d7dae7f3ff7b0721b07210","urls":["bzz-raw://e307c9eece677565e7d584ee77c56134b5db38a70f557f9d2b1b308219276c0c","dweb:/ipfs/QmTEtqaTFgRBFGpJyb5o4v2w8yrSpcNThov4bNpcLr2tTR"],"license":"MIT"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"keccak256":"0x0eb1575bafc5537fcb4bba519123c694db66840d7a13b7d3b867c55bf95e9c8b","urls":["bzz-raw://33b81539b6c6901660ab7c134789178146f18622813de5bc984d4c6dad7b13e6","dweb:/ipfs/QmNdG7Y74GbymWqbhMbMY92AHYxLug9sR5gNWfzwB7hM1b"],"license":"MIT"}},"version":1},"id":12} \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index 3d99aa3..8f7449f 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -105,7 +105,8 @@ fi ### DEPLOY GASDADDY SCs ### printf "Addresses for Paymaster SCs:\n" -forge script DeployGasdaddy true $MIN_DEPOSIT --sig "run(bool,uint256)" --rpc-url $CHAIN_NAME -vv | grep -e "address" -e "already deployed" +forge script DeployGasdaddy true $MIN_DEPOSIT --sig "run(bool,uint256)" --rpc-url $CHAIN_NAME -vv > ./logs/$CHAIN_NAME/$CHAIN_NAME-gasdaddy-predeploy.log +cat ./logs/$CHAIN_NAME/$CHAIN_NAME-gasdaddy-predeploy.log | grep -e "address" -e "already deployed" printf "Do you want to proceed with the addresses above? (y/n): " read -r proceed if [ $proceed = "y" ]; then From a24074294b6a86df8bdbe735329227bd1f098900 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 14:35:57 +0300 Subject: [PATCH 13/16] log predeploy --- scripts/foundry/DeployGasdaddy.s.sol | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 104b708..beb3699 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -81,6 +81,18 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster address: ", sponsorshipPM, " || >> Code Size: ", codeSize); + bytes memory args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + ENTRY_POINT_V07, + VERIFYING_SIGNER, + FEE_COLLECTOR, + SPONSORSHIP_PM_UNACCOUNTED_GAS, + PAYMASTER_ID_WITHDRAWAL_DELAY, + minDeposit + ); + console.log("args abi encoded: "); + console.logBytes(args); + // Use this block to get initcode hashes to sign /* uint256[] memory minDeposits = new uint256[](5); @@ -97,7 +109,7 @@ contract DeployGasdaddy is Script { ENTRY_POINT_V07, VERIFYING_SIGNER, FEE_COLLECTOR, - UNACCOUNTED_GAS, + SPONSORSHIP_PM_UNACCOUNTED_GAS, PAYMASTER_ID_WITHDRAWAL_DELAY, minDeposit ); From 369c51501ecf731cea7ecff2352a0ffb70f0108c Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 14:59:31 +0300 Subject: [PATCH 14/16] sign over chain id and salt --- contracts/utils/Deployer.sol | 2 +- .../artifacts/Deployer/Deployer.json | 2 +- .../artifacts/Deployer/verify.json | 1 + scripts/bash-deploy/deploy-gasdaddy.sh | 1 + scripts/bash-deploy/deploy-prerequisites.sh | 3 +- scripts/foundry/DeployDeployer.s.sol | 6 +- scripts/foundry/DeployGasdaddy.s.sol | 76 ++++++++----------- 7 files changed, 38 insertions(+), 53 deletions(-) create mode 100644 scripts/bash-deploy/artifacts/Deployer/verify.json diff --git a/contracts/utils/Deployer.sol b/contracts/utils/Deployer.sol index 9460075..f6d07ff 100644 --- a/contracts/utils/Deployer.sol +++ b/contracts/utils/Deployer.sol @@ -14,7 +14,7 @@ contract Deployer is SoladyOwnable { constructor(address _owner) SoladyOwnable(_owner) {} function deploy(bytes32 _salt, bytes calldata _creationCode, bytes calldata signature) external returns (address deployedContract) { - bytes32 hash = keccak256(_creationCode); + bytes32 hash = keccak256(abi.encode(_creationCode, _salt, block.chainid)); if (!_verifySignature(hash, signature)) revert InvalidBytecodeSignature(); deployedContract = Create3.create3(_salt, _creationCode); emit ContractDeployed(deployedContract); diff --git a/scripts/bash-deploy/artifacts/Deployer/Deployer.json b/scripts/bash-deploy/artifacts/Deployer/Deployer.json index eab7c99..2c3f223 100644 --- a/scripts/bash-deploy/artifacts/Deployer/Deployer.json +++ b/scripts/bash-deploy/artifacts/Deployer/Deployer.json @@ -1 +1 @@ -{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"addressOf","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"event","name":"ContractDeployed","inputs":[{"name":"contractAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"ErrorCreatingContract","inputs":[]},{"type":"error","name":"ErrorCreatingProxy","inputs":[]},{"type":"error","name":"InvalidBytecodeSignature","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"TargetAlreadyExists","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}],"bytecode":{"object":"0x34605f5761087a388190036080601f8201601f19168101906001600160401b03821190821017606357602092829160405260803912605f576080516001600160a01b0381168103605f576050906077565b6040516107b490816100c68239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b8060601b1560b8576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3565b637448fbae5f526004601cfdfe60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610458565b610428565b6103e4565b61037c565b61034d565b610323565b6102da565b610296565b61024d565b3461021b57606036600319011261021b5760043560243567ffffffffffffffff811161021b576100e890369060040161021f565b9060443567ffffffffffffffff811161021b5761010c61012491369060040161021f565b906101183686866104d6565b6020815191012061050c565b1561020c576101349136916104d6565b61013c61073d565b91610146816105dc565b92833b6101fd576020815191015ff56001600160a01b038116156101ee57815f92918360208194519301915af161017b610778565b501580156101e5575b6101d6576101d29060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f8401121561021b5782359167ffffffffffffffff831161021b576020838186019501011161021b57565b5f36600319011261021b5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f36600319011261021b5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f36600319011261021b576102ed610582565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b3461021b575f36600319011261021b576020638b78c6d819546001600160a01b0360405191168152f35b3461021b57602036600319011261021b57602061036b6004356105dc565b6001600160a01b0360405191168152f35b3461021b57604036600319011261021b5760043560243567ffffffffffffffff811161021b576103b361013491369060040161021f565b6103bb610582565b36916104d6565b602090600319011261021b576004356001600160a01b038116810361021b5790565b6103ed366103c2565b6103f5610582565b63389a75e1600c52805f526020600c20908154421161041b575f610419925561059e565b005b636f5e88185f526004601cfd5b610431366103c2565b610439610582565b8060601b1561044b576104199061059e565b637448fbae5f526004601cfd5b3461021b57610466366103c2565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff8211176104b557604052565b61047f565b67ffffffffffffffff81116104b557601f01601f191660200190565b9291926104e2826104ba565b916104f06040519384610493565b82948184528183011161021b578281602093845f960137010152565b6001600160a01b03926105208184846106a2565b638b78c6d81954851694168414610579576001600160a01b039261056a926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c6004206106a2565b1614610574575f90565b600190565b50505050600190565b638b78c6d81954330361059157565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106936001600160a01b0361069f92604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261063d607582610493565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610684603782610493565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106fd576041146106cb57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106fb5750506106be565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106da565b6040519061074c604083610493565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d156107a2573d90610789826104ba565b916107976040519384610493565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1299:5:-:0;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;163:1299:5;;;;;;334:52;;;:::i;:::-;163:1299;;;;;;;;;;-1:-1:-1;163:1299:5;;;;;;-1:-1:-1;163:1299:5;;;;;-1:-1:-1;163:1299:5;150:269:6;198:181;;;;;;-1:-1:-1;;;;;5710:347:20;-1:-1:-1;;5710:347:20;;;-1:-1:-1;5710:347:20;-1:-1:-1;;5710:347:20;150:269:6:o;198:181::-;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b610458565b610428565b6103e4565b61037c565b61034d565b610323565b6102da565b610296565b61024d565b3461021b57606036600319011261021b5760043560243567ffffffffffffffff811161021b576100e890369060040161021f565b9060443567ffffffffffffffff811161021b5761010c61012491369060040161021f565b906101183686866104d6565b6020815191012061050c565b1561020c576101349136916104d6565b61013c61073d565b91610146816105dc565b92833b6101fd576020815191015ff56001600160a01b038116156101ee57815f92918360208194519301915af161017b610778565b501580156101e5575b6101d6576101d29060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6353de54b960e01b5f5260045ffd5b50803b15610184565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f8401121561021b5782359167ffffffffffffffff831161021b576020838186019501011161021b57565b5f36600319011261021b5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f36600319011261021b5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f36600319011261021b576102ed610582565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b3461021b575f36600319011261021b576020638b78c6d819546001600160a01b0360405191168152f35b3461021b57602036600319011261021b57602061036b6004356105dc565b6001600160a01b0360405191168152f35b3461021b57604036600319011261021b5760043560243567ffffffffffffffff811161021b576103b361013491369060040161021f565b6103bb610582565b36916104d6565b602090600319011261021b576004356001600160a01b038116810361021b5790565b6103ed366103c2565b6103f5610582565b63389a75e1600c52805f526020600c20908154421161041b575f610419925561059e565b005b636f5e88185f526004601cfd5b610431366103c2565b610439610582565b8060601b1561044b576104199061059e565b637448fbae5f526004601cfd5b3461021b57610466366103c2565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff8211176104b557604052565b61047f565b67ffffffffffffffff81116104b557601f01601f191660200190565b9291926104e2826104ba565b916104f06040519384610493565b82948184528183011161021b578281602093845f960137010152565b6001600160a01b03926105208184846106a2565b638b78c6d81954851694168414610579576001600160a01b039261056a926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c6004206106a2565b1614610574575f90565b600190565b50505050600190565b638b78c6d81954330361059157565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b6106936001600160a01b0361069f92604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526055815261063d607582610493565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b603682015260178152610684603782610493565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146106fd576041146106cb57505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6106fb5750506106be565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c0160205235604052166060526106da565b6040519061074c604083610493565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d156107a2573d90610789826104ba565b916107976040519384610493565b82523d5f602084013e565b60609056fea164736f6c634300081b000a","sourceMap":"163:1299:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;163:1299:5;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;587:33;163:1299;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;548:24;587:33;:::i;:::-;586:34;582:73;;163:1299;;;;;:::i;:::-;;;:::i;:::-;3399:16:4;;;;:::i;:::-;2041:59;;;3425:53;;163:1299:5;3544:181:4;;;;163:1299:5;3544:181:4;-1:-1:-1;;;;;163:1299:5;;3738:19:4;3734:52;;3859:40;163:1299:5;3859:40:4;;;163:1299:5;3859:40:4;;;;;;;;;;:::i;:::-;;3913:8;163:1299:5;;3913:31:4;;163:1299:5;3909:67:4;;163:1299:5;;;;;;-1:-1:-1;;;;;163:1299:5;;;736:34;163:1299;736:34;;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;3909:67:4;3953:23;;;163:1299:5;3953:23:4;163:1299:5;;3953:23:4;3913:31;2041:59;;;3925:19;3913:31;;3734:52;3766:20;;;163:1299:5;3766:20:4;163:1299:5;;3766:20:4;3425:53;3457:21;;;163:1299:5;3457:21:4;163:1299:5;;3457:21:4;582:73:5;629:26;;;163:1299;629:26;163:1299;;629:26;163:1299;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;163:1299:5;;;;9239:383:20;;;;163:1299:5;9239:383:20;7972:9;9132:15;163:1299:5;9239:383:20;;;;;;163:1299:5;9239:383:20;;163:1299:5;;;;-1:-1:-1;;163:1299:5;;;;9831:339:20;;;;163:1299:5;9831:339:20;163:1299:5;9831:339:20;;;;;;163:1299:5;9831:339:20;;163:1299:5;;;;-1:-1:-1;;163:1299:5;;;;12478:70:20;;:::i;:::-;163:1299:5;6813:405:20;;;;;;;163:1299:5;-1:-1:-1;;6813:405:20;163:1299:5;;;;;;;-1:-1:-1;;163:1299:5;;;;;6813:405:20;;11523:61;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;1112:24;163:1299;;1112:24;:::i;:::-;-1:-1:-1;;;;;163:1299:5;;;;;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12478:70:20;;:::i;:::-;163:1299:5;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;163:1299:5;;;;;;;:::o;:::-;;;;:::i;:::-;12478:70:20;;:::i;:::-;10506:526;;;;;;;;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;:::-;163:1299:5;10506:526:20;;;;163:1299:5;10506:526:20;;163:1299:5;;;;:::i;:::-;12478:70:20;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;8479:183::-;;;;163:1299:5;8479:183:20;;163:1299:5;;;;;;;:::i;:::-;11885:237:20;;;-1:-1:-1;11885:237:20;;;;;;163:1299:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;-1:-1:-1;;163:1299:5;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;163:1299:5;;;;;;:::o;1149:311::-;-1:-1:-1;;;;;1149:311:5;1258:31;;;;;:::i;:::-;-1:-1:-1;;11523:61:20;163:1299:5;;;;1258:42;;1254:71;;-1:-1:-1;;;;;13414:265:21;1339:56:5;13414:265:21;;;;163:1299:5;13414:265:21;;;;1339:56:5;:::i;:::-;163:1299;1339:67;1335:96;;163:1299;1149:311;:::o;1335:96::-;1427:4;1420:11;:::o;1254:71::-;1314:11;;;;1321:4;1314:11;:::o;7292:355:20:-;-1:-1:-1;;7390:251:20;;;;;7292:355::o;7390:251::-;;;;;;;6145:1089;-1:-1:-1;;;;;6813:405:20;;;;;;-1:-1:-1;6813:405:20;;-1:-1:-1;;6813:405:20;6145:1089::o;4973:345:4:-;5140:157;-1:-1:-1;;;;;5115:196:4;4973:345;163:1299:5;;4215:237:4;;;1707:66;;;;;;4314:4;163:1299:5;;1707:66:4;;;163:1299:5;1707:66:4;;;163:1299:5;1707:66:4;;;;163:1299:5;1707:66:4;4215:237;;;;;;:::i;:::-;163:1299:5;4176:302:4;;163:1299:5;;-1:-1:-1;;;4215:237:4;5212:44;;163:1299:5;;;;;;;;;-1:-1:-1;;163:1299:5;;;;;-1:-1:-1;;;163:1299:5;;;;;5212:44:4;;;163:1299:5;;5212:44:4;:::i;:::-;163:1299:5;5202:55:4;;-1:-1:-1;;;;;163:1299:5;;;5140:157:4;-1:-1:-1;;;;;163:1299:5;;;5115:196:4;4973:345;:::o;4336:1373:21:-;;;;;4521:1182;;;;;;;;;;;;;;;;;;163:1299:5;4521:1182:21;;;;;;;;;;;163:1299:5;4521:1182:21;;;;;;163:1299:5;4521:1182:21;;;;163:1299:5;4521:1182:21;;;;;163:1299:5;4521:1182:21;;;;;;;;;;;;4336:1373::o;4521:1182::-;;;;;;;;;;;;;;;;;;;;;;;;163:1299:5;;;;;;;;:::i;:::-;;;;;;;;;:::o;1485:52:4:-;;;;;;163:1299:5;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1485:52:4;-1:-1:-1;1485:52:4;;;;:::o;:::-;;;:::o","linkReferences":{}},"methodIdentifiers":{"addressOf(bytes32)":"bb34534c","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deploy(bytes32,bytes)":"cdcb760a","deploy(bytes32,bytes,bytes)":"19cdeff1","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBytecodeSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"addressOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/utils/Deployer.sol\":\"Deployer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/utils/Create3.sol\":{\"keccak256\":\"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181\",\"dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr\"]},\"contracts/utils/Deployer.sol\":{\"keccak256\":\"0xea1685a3cfa53acaa1bb943cd618a9b1fdb5f1cdf65363751b2d6fbdf4564875\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://30ae88c7855e31815c1e77a9ba9ba12f4aee2426517ad02d5e07d5414a158ae4\",\"dweb:/ipfs/QmRZ1hDZL1eDA8srKfRamCtaDgZcPXeRRfsb1wy9HTXUDU\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"ErrorCreatingContract"},{"inputs":[],"type":"error","name":"ErrorCreatingProxy"},{"inputs":[],"type":"error","name":"InvalidBytecodeSignature"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"TargetAlreadyExists"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address","indexed":true}],"type":"event","name":"ContractDeployed","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"stateMutability":"view","type":"function","name":"addressOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/utils/Deployer.sol":"Deployer"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/utils/Create3.sol":{"keccak256":"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41","urls":["bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181","dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr"],"license":"Unlicense"},"contracts/utils/Deployer.sol":{"keccak256":"0xea1685a3cfa53acaa1bb943cd618a9b1fdb5f1cdf65363751b2d6fbdf4564875","urls":["bzz-raw://30ae88c7855e31815c1e77a9ba9ba12f4aee2426517ad02d5e07d5414a158ae4","dweb:/ipfs/QmRZ1hDZL1eDA8srKfRamCtaDgZcPXeRRfsb1wy9HTXUDU"],"license":"Unlicense"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"}},"version":1},"id":5} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"_owner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"addressOf","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"cancelOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"completeOwnershipHandover","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"deploy","inputs":[{"name":"_salt","type":"bytes32","internalType":"bytes32"},{"name":"_creationCode","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"deployedContract","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"result","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownershipHandoverExpiresAt","inputs":[{"name":"pendingOwner","type":"address","internalType":"address"}],"outputs":[{"name":"result","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"requestOwnershipHandover","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"payable"},{"type":"event","name":"ContractDeployed","inputs":[{"name":"contractAddress","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverCanceled","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipHandoverRequested","inputs":[{"name":"pendingOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"oldOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AlreadyInitialized","inputs":[]},{"type":"error","name":"ErrorCreatingContract","inputs":[]},{"type":"error","name":"ErrorCreatingProxy","inputs":[]},{"type":"error","name":"InvalidBytecodeSignature","inputs":[]},{"type":"error","name":"NewOwnerIsZeroAddress","inputs":[]},{"type":"error","name":"NoHandoverRequest","inputs":[]},{"type":"error","name":"TargetAlreadyExists","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}],"bytecode":{"object":"0x34605f57610984388190036080601f8201601f19168101906001600160401b03821190821017606357602092829160405260803912605f576080516001600160a01b0381168103605f576050906077565b6040516108be90816100c68239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b8060601b1560b8576001600160a01b0316638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3565b637448fbae5f526004601cfdfe60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b6104de565b6104ae565b61046a565b61032e565b6102ff565b6102d5565b61028c565b610248565b6101ff565b346101cd5760603660031901126101cd5760043560243567ffffffffffffffff81116101cd576100e89036906004016101d1565b9160443567ffffffffffffffff81116101cd5761015461010f6101589236906004016101d1565b90606060a05286610100528686610120375f61012088015261014960a0601f19601f8a01168760c0524660e0526080810160805201610519565b60805160a0206105b5565b1590565b6101be5761016e610174926101ba94369161057f565b90610850565b60405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101cd5782359167ffffffffffffffff83116101cd57602083818601950101116101cd57565b5f3660031901126101cd5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101cd5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101cd5761029f61062b565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101cd575f3660031901126101cd576020638b78c6d819546001600160a01b0360405191168152f35b346101cd5760203660031901126101cd57602061031d600435610685565b6001600160a01b0360405191168152f35b346101cd5760403660031901126101cd5760043560243567ffffffffffffffff81116101cd576103656103749136906004016101d1565b61036d61062b565b369161057f565b61037c6107e6565b9161038681610685565b92833b610439576020815191015ff56001600160a01b0381161561042a57815f92918360208194519301915af16103bb610821565b50158015610421575b610412576101ba9060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b6353de54b960e01b5f5260045ffd5b50803b156103c4565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b60209060031901126101cd576004356001600160a01b03811681036101cd5790565b61047336610448565b61047b61062b565b63389a75e1600c52805f526020600c2090815442116104a1575f61049f9255610647565b005b636f5e88185f526004601cfd5b6104b736610448565b6104bf61062b565b8060601b156104d15761049f90610647565b637448fbae5f526004601cfd5b346101cd576104ec36610448565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b601f80199101166080016080811067ffffffffffffffff82111761053c57604052565b610505565b90601f8019910116810190811067ffffffffffffffff82111761053c57604052565b67ffffffffffffffff811161053c57601f01601f191660200190565b92919261058b82610563565b916105996040519384610541565b8294818452818301116101cd578281602093845f960137010152565b6001600160a01b03926105c981848461074b565b638b78c6d81954851694168414610622576001600160a01b0392610613926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042061074b565b161461061d575f90565b600190565b50505050600190565b638b78c6d81954330361063a57565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b61073c6001600160a01b0361074892604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f6055820152605581526106e6607582610541565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b60368201526017815261072d603782610541565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146107a65760411461077457505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6107a4575050610767565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c016020523560405216606052610783565b604051906107f5604083610541565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d1561084b573d9061083282610563565b916108406040519384610541565b82523d5f602084013e565b606090565b919061085a6107e6565b9261086481610685565b93843b610439576020815191015ff56001600160a01b0381161561042a57815f92918360208194519301915af1610899610821565b501580156108a8575b61041257565b50813b156108a256fea164736f6c634300081b000a","sourceMap":"163:1333:1:-:0;;;;;;;;;;;;-1:-1:-1;;163:1333:1;;;;-1:-1:-1;;;;;163:1333:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;163:1333:1;;;;;;334:52;;;:::i;:::-;163:1333;;;;;;;;;;-1:-1:-1;163:1333:1;;;;;;-1:-1:-1;163:1333:1;;;;;-1:-1:-1;163:1333:1;150:269:2;198:181;;;;;;-1:-1:-1;;;;;5710:347:22;-1:-1:-1;;5710:347:22;;;-1:-1:-1;5710:347:22;-1:-1:-1;;5710:347:22;150:269:2:o;198:181::-;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c806319cdeff1146100b457806325692962146100af57806354d1f13d146100aa578063715018a6146100a55780638da5cb5b146100a0578063bb34534c1461009b578063cdcb760a14610096578063f04e283e14610091578063f2fde38b1461008c5763fee81cf414610087575f80fd5b6104de565b6104ae565b61046a565b61032e565b6102ff565b6102d5565b61028c565b610248565b6101ff565b346101cd5760603660031901126101cd5760043560243567ffffffffffffffff81116101cd576100e89036906004016101d1565b9160443567ffffffffffffffff81116101cd5761015461010f6101589236906004016101d1565b90606060a05286610100528686610120375f61012088015261014960a0601f19601f8a01168760c0524660e0526080810160805201610519565b60805160a0206105b5565b1590565b6101be5761016e610174926101ba94369161057f565b90610850565b60405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b0390f35b6306f691ef60e51b5f5260045ffd5b5f80fd5b9181601f840112156101cd5782359167ffffffffffffffff83116101cd57602083818601950101116101cd57565b5f3660031901126101cd5763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b5f3660031901126101cd5763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b5f3660031901126101cd5761029f61062b565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b346101cd575f3660031901126101cd576020638b78c6d819546001600160a01b0360405191168152f35b346101cd5760203660031901126101cd57602061031d600435610685565b6001600160a01b0360405191168152f35b346101cd5760403660031901126101cd5760043560243567ffffffffffffffff81116101cd576103656103749136906004016101d1565b61036d61062b565b369161057f565b61037c6107e6565b9161038681610685565b92833b610439576020815191015ff56001600160a01b0381161561042a57815f92918360208194519301915af16103bb610821565b50158015610421575b610412576101ba9060405191816001600160a01b038493167f8ffcdc15a283d706d38281f500270d8b5a656918f555de0913d7455e3e6bc1bf5f80a26001600160a01b031682526020820190565b6353de54b960e01b5f5260045ffd5b50803b156103c4565b63bbd2fe8760e01b5f5260045ffd5b63cd43efa160e01b5f5260045ffd5b60209060031901126101cd576004356001600160a01b03811681036101cd5790565b61047336610448565b61047b61062b565b63389a75e1600c52805f526020600c2090815442116104a1575f61049f9255610647565b005b636f5e88185f526004601cfd5b6104b736610448565b6104bf61062b565b8060601b156104d15761049f90610647565b637448fbae5f526004601cfd5b346101cd576104ec36610448565b63389a75e1600c525f52602080600c2054604051908152f35b634e487b7160e01b5f52604160045260245ffd5b601f80199101166080016080811067ffffffffffffffff82111761053c57604052565b610505565b90601f8019910116810190811067ffffffffffffffff82111761053c57604052565b67ffffffffffffffff811161053c57601f01601f191660200190565b92919261058b82610563565b916105996040519384610541565b8294818452818301116101cd578281602093845f960137010152565b6001600160a01b03926105c981848461074b565b638b78c6d81954851694168414610622576001600160a01b0392610613926020527b19457468657265756d205369676e6564204d6573736167653a0a33325f52603c60042061074b565b161461061d575f90565b600190565b50505050600190565b638b78c6d81954330361063a57565b6382b429005f526004601cfd5b6001600160a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d81955565b61073c6001600160a01b0361074892604051602081019160ff60f81b83523060601b602183015260358201527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f6055820152605581526106e6607582610541565b5190206040516135a560f21b602082019081529290911660601b6bffffffffffffffffffffffff19166022820152600160f81b60368201526017815261072d603782610541565b5190206001600160a01b031690565b6001600160a01b031690565b90565b9092919260405193806040146107a65760411461077457505050505b638baa579f5f526004601cfd5b806040809201355f1a60205281375b5f526020600160805f825afa51915f6060526040523d6107a4575050610767565b565b508060207f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92013590601b8260ff1c016020523560405216606052610783565b604051906107f5604083610541565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b3d1561084b573d9061083282610563565b916108406040519384610541565b82523d5f602084013e565b606090565b919061085a6107e6565b9261086481610685565b93843b610439576020815191015ff56001600160a01b0381161561042a57815f92918360208194519301915af1610899610821565b501580156108a8575b61041257565b50813b156108a256fea164736f6c634300081b000a","sourceMap":"163:1333:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;163:1333:1;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;621:33;163:1333;620:34;163:1333;;;;;;:::i;:::-;;;558:47;163:1333;;;;;;;;;;;;;558:47;;163:1333;;;;;;;;;591:13;163:1333;;;558:47;;163:1333;558:47;;;:::i;:::-;163:1333;;558:47;548:58;621:33;:::i;:::-;620:34;;163:1333;620:34;616:73;;163:1333;2628:32:0;163:1333:1;;;;;;:::i;:::-;2628:32:0;;:::i;:::-;163:1333:1;;;;-1:-1:-1;;;;;163:1333:1;;;770:34;163:1333;770:34;;-1:-1:-1;;;;;163:1333:1;;;;;;;;;;;;616:73;663:26;;;163:1333;663:26;163:1333;;663:26;163:1333;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;163:1333:1;;;;9239:383:22;;;;163:1333:1;9239:383:22;7972:9;9132:15;163:1333:1;9239:383:22;;;;;;163:1333:1;9239:383:22;;163:1333:1;;;;-1:-1:-1;;163:1333:1;;;;9831:339:22;;;;163:1333:1;9831:339:22;163:1333:1;9831:339:22;;;;;;163:1333:1;9831:339:22;;163:1333:1;;;;-1:-1:-1;;163:1333:1;;;;12478:70:22;;:::i;:::-;163:1333:1;6813:405:22;;;;;;;163:1333:1;-1:-1:-1;;6813:405:22;163:1333:1;;;;;;;-1:-1:-1;;163:1333:1;;;;;6813:405:22;;11523:61;-1:-1:-1;;;;;163:1333:1;;;;;;;;;;;;;-1:-1:-1;;163:1333:1;;;;;1146:24;163:1333;;1146:24;:::i;:::-;-1:-1:-1;;;;;163:1333:1;;;;;;;;;;;;;-1:-1:-1;;163:1333:1;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12478:70:22;;:::i;:::-;163:1333:1;;;:::i;:::-;;;:::i;:::-;3399:16:0;;;;:::i;:::-;2041:59;;;3425:53;;163:1333:1;3544:181:0;;;;-1:-1:-1;3544:181:0;-1:-1:-1;;;;;163:1333:1;;3738:19:0;3734:52;;3859:40;-1:-1:-1;3859:40:0;;;163:1333:1;3859:40:0;;;;;;;;;;:::i;:::-;;3913:8;163:1333:1;;3913:31:0;;163:1333:1;3909:67:0;;163:1333:1;;;;;;-1:-1:-1;;;;;163:1333:1;;;1016:34;-1:-1:-1;1016:34:1;;-1:-1:-1;;;;;163:1333:1;;;;;;;;3909:67:0;3953:23;;;-1:-1:-1;3953:23:0;163:1333:1;-1:-1:-1;3953:23:0;3913:31;2041:59;;;3925:19;3913:31;;3734:52;3766:20;;;-1:-1:-1;3766:20:0;163:1333:1;-1:-1:-1;3766:20:0;3425:53;3457:21;;;-1:-1:-1;3457:21:0;163:1333:1;-1:-1:-1;3457:21:0;163:1333:1;;;;;;;;;;;-1:-1:-1;;;;;163:1333:1;;;;;;;:::o;:::-;;;;:::i;:::-;12478:70:22;;:::i;:::-;10506:526;;;;;;;;;;;;;;;;;11051:12;10506:526;;11051:12;:::i;:::-;163:1333:1;10506:526:22;;;;163:1333:1;10506:526:22;;163:1333:1;;;;:::i;:::-;12478:70:22;;:::i;:::-;8479:183;;;;;;8681:8;;;:::i;8479:183::-;;;;163:1333:1;8479:183:22;;163:1333:1;;;;;;;:::i;:::-;11885:237:22;;;-1:-1:-1;11885:237:22;;;;;;163:1333:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;163:1333:1;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;163:1333:1;;;;;;:::o;1183:311::-;-1:-1:-1;;;;;1183:311:1;1292:31;;;;;:::i;:::-;-1:-1:-1;;11523:61:22;163:1333:1;;;;1292:42;;1288:71;;-1:-1:-1;;;;;13414:265:23;1373:56:1;13414:265:23;;;;163:1333:1;13414:265:23;;;;1373:56:1;:::i;:::-;163:1333;1373:67;1369:96;;163:1333;1183:311;:::o;1369:96::-;1461:4;1454:11;:::o;1288:71::-;1348:11;;;;1355:4;1348:11;:::o;7292:355:22:-;-1:-1:-1;;7390:251:22;;;;;7292:355::o;7390:251::-;;;;;;;6145:1089;-1:-1:-1;;;;;6813:405:22;;;;;;-1:-1:-1;6813:405:22;;-1:-1:-1;;6813:405:22;6145:1089::o;4973:345:0:-;5140:157;-1:-1:-1;;;;;5115:196:0;4973:345;163:1333:1;;4215:237:0;;;1707:66;;;;;;4314:4;163:1333:1;;1707:66:0;;;163:1333:1;1707:66:0;;;163:1333:1;1707:66:0;;;;163:1333:1;1707:66:0;4215:237;;;;;;:::i;:::-;163:1333:1;4176:302:0;;163:1333:1;;-1:-1:-1;;;4215:237:0;5212:44;;163:1333:1;;;;;;;;;-1:-1:-1;;163:1333:1;;;;;-1:-1:-1;;;163:1333:1;;;;;5212:44:0;;;163:1333:1;;5212:44:0;:::i;:::-;163:1333:1;5202:55:0;;-1:-1:-1;;;;;163:1333:1;;;5140:157:0;-1:-1:-1;;;;;163:1333:1;;;5115:196:0;4973:345;:::o;4336:1373:23:-;;;;;4521:1182;;;;;;;;;;;;;;;;;;163:1333:1;4521:1182:23;;;;;;;;;;;163:1333:1;4521:1182:23;;;;;;163:1333:1;4521:1182:23;;;;163:1333:1;4521:1182:23;;;;;163:1333:1;4521:1182:23;;;;;;;;;;;;4336:1373::o;4521:1182::-;;;;;;;;;;;;;;;;;;;;;;;;163:1333:1;;;;;;;;:::i;:::-;;;;;;;;;:::o;1485:52:0:-;;;;;;163:1333:1;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1485:52:0;-1:-1:-1;1485:52:0;;;;:::o;:::-;;;:::o;3124:859::-;;;163:1333:1;;:::i;:::-;3399:16:0;;;;:::i;:::-;2041:59;;;3425:53;;3544:181;;;;;163:1333:1;3544:181:0;-1:-1:-1;;;;;163:1333:1;;3738:19:0;3734:52;;3859:40;163:1333:1;3859:40:0;;;3544:181;3859:40;;;;;;;;;;:::i;:::-;;3913:8;163:1333:1;;3913:31:0;;3124:859;3909:67;;3124:859::o;3913:31::-;2041:59;;;3925:19;3913:31;","linkReferences":{}},"methodIdentifiers":{"addressOf(bytes32)":"bb34534c","cancelOwnershipHandover()":"54d1f13d","completeOwnershipHandover(address)":"f04e283e","deploy(bytes32,bytes)":"cdcb760a","deploy(bytes32,bytes,bytes)":"19cdeff1","owner()":"8da5cb5b","ownershipHandoverExpiresAt(address)":"fee81cf4","renounceOwnership()":"715018a6","requestOwnershipHandover()":"25692962","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrorCreatingProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBytecodeSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoHandoverRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"OwnershipHandoverRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"addressOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"completeOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployedContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"result\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"ownershipHandoverExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestOwnershipHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AlreadyInitialized()\":[{\"details\":\"Cannot double-initialize.\"}],\"NewOwnerIsZeroAddress()\":[{\"details\":\"The `newOwner` cannot be the zero address.\"}],\"NoHandoverRequest()\":[{\"details\":\"The `pendingOwner` does not have a valid handover request.\"}],\"Unauthorized()\":[{\"details\":\"The caller is not authorized to call the function.\"}]},\"events\":{\"OwnershipHandoverCanceled(address)\":{\"details\":\"The ownership handover to `pendingOwner` has been canceled.\"},\"OwnershipHandoverRequested(address)\":{\"details\":\"An ownership handover to `pendingOwner` has been requested.\"},\"OwnershipTransferred(address,address)\":{\"details\":\"The ownership is transferred from `oldOwner` to `newOwner`. This event is intentionally kept the same as OpenZeppelin's Ownable to be compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), despite it not being as lightweight as a single argument event.\"}},\"kind\":\"dev\",\"methods\":{\"cancelOwnershipHandover()\":{\"details\":\"Cancels the two-step ownership handover to the caller, if any.\"},\"completeOwnershipHandover(address)\":{\"details\":\"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`.\"},\"owner()\":{\"details\":\"Returns the owner of the contract.\"},\"ownershipHandoverExpiresAt(address)\":{\"details\":\"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\"},\"renounceOwnership()\":{\"details\":\"Allows the owner to renounce their ownership.\"},\"requestOwnershipHandover()\":{\"details\":\"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default.\"},\"transferOwnership(address)\":{\"details\":\"Allows the owner to transfer the ownership to `newOwner`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/utils/Deployer.sol\":\"Deployer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":800},\"remappings\":[\":@ERC4337/account-abstraction/=node_modules/account-abstraction/\",\":@biconomy-devx/=node_modules/@biconomy-devx/\",\":@erc7579/=node_modules/@erc7579/\",\":@gnosis.pm/=node_modules/@gnosis.pm/\",\":@modulekit/=node_modules/modulekit/src/\",\":@nexus/=node_modules/nexus/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/\",\":@prb/test/=node_modules/@prb/test/\",\":@rhinestone/=node_modules/@rhinestone/\",\":@safe-global/=node_modules/@safe-global/\",\":@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/\",\":@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/\",\":@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/\",\":@zerodev/=node_modules/@zerodev/\",\":ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/\",\":account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/\",\":account-abstraction/=node_modules/account-abstraction/contracts/\",\":accountabstraction/=node_modules/accountabstraction/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/ds-test/\",\":enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/\",\":erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/\",\":erc7579/=node_modules/erc7579/src/\",\":erc7739-validator-base/=node_modules/erc7739-validator-base/\",\":erc7739Validator/=node_modules/erc7739-validator-base/src/\",\":excessively-safe-call/=node_modules/excessively-safe-call/src/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\",\":kernel/=node_modules/@zerodev/kernel/src/\",\":module-bases/=node_modules/module-bases/src/\",\":modulekit/=node_modules/@rhinestone/modulekit/src/\",\":nexus/=node_modules/nexus/\",\":registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/\",\":safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/\",\":sentinellist/=node_modules/sentinellist/src/\",\":solady/=node_modules/solady/src/\",\":solady/src/=node_modules/solady/src/\",\":solarray/=node_modules/solarray/src/\"],\"viaIR\":true},\"sources\":{\"contracts/utils/Create3.sol\":{\"keccak256\":\"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181\",\"dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr\"]},\"contracts/utils/Deployer.sol\":{\"keccak256\":\"0xd09834408486dc70eaef5b0a12abc37d44ca6f300a061bece1e66758021a6d95\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://4867cb95d29fa3a8ef99c63667f050c3fc2e83d76a5e158cb2c911b1f39fb3a1\",\"dweb:/ipfs/QmXYc3HkwgUy52tqkWpGJT5YvRj4Sogx2FWE8UHgHjYmKk\"]},\"contracts/utils/SoladyOwnable.sol\":{\"keccak256\":\"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d\",\"dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX\"]},\"node_modules/solady/src/auth/Ownable.sol\":{\"keccak256\":\"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3\",\"dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs\"]},\"node_modules/solady/src/utils/ECDSA.sol\":{\"keccak256\":\"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217\",\"dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"AlreadyInitialized"},{"inputs":[],"type":"error","name":"ErrorCreatingContract"},{"inputs":[],"type":"error","name":"ErrorCreatingProxy"},{"inputs":[],"type":"error","name":"InvalidBytecodeSignature"},{"inputs":[],"type":"error","name":"NewOwnerIsZeroAddress"},{"inputs":[],"type":"error","name":"NoHandoverRequest"},{"inputs":[],"type":"error","name":"TargetAlreadyExists"},{"inputs":[],"type":"error","name":"Unauthorized"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address","indexed":true}],"type":"event","name":"ContractDeployed","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipHandoverRequested","anonymous":false},{"inputs":[{"internalType":"address","name":"oldOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"stateMutability":"view","type":"function","name":"addressOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"cancelOwnershipHandover"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"completeOwnershipHandover"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_creationCode","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"deploy","outputs":[{"internalType":"address","name":"deployedContract","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}]},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"stateMutability":"view","type":"function","name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"renounceOwnership"},{"inputs":[],"stateMutability":"payable","type":"function","name":"requestOwnershipHandover"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"payable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"cancelOwnershipHandover()":{"details":"Cancels the two-step ownership handover to the caller, if any."},"completeOwnershipHandover(address)":{"details":"Allows the owner to complete the two-step ownership handover to `pendingOwner`. Reverts if there is no existing ownership handover requested by `pendingOwner`."},"owner()":{"details":"Returns the owner of the contract."},"ownershipHandoverExpiresAt(address)":{"details":"Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`."},"renounceOwnership()":{"details":"Allows the owner to renounce their ownership."},"requestOwnershipHandover()":{"details":"Request a two-step ownership handover to the caller. The request will automatically expire in 48 hours (172800 seconds) by default."},"transferOwnership(address)":{"details":"Allows the owner to transfer the ownership to `newOwner`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@ERC4337/account-abstraction/=node_modules/account-abstraction/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@modulekit/=node_modules/modulekit/src/","@nexus/=node_modules/nexus/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@prb/test/=node_modules/@prb/test/","@rhinestone/=node_modules/@rhinestone/","@safe-global/=node_modules/@safe-global/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","account-abstraction/=node_modules/account-abstraction/contracts/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7579/=node_modules/erc7579/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","erc7739Validator/=node_modules/erc7739-validator-base/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","forge-std/=lib/forge-std/src/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","kernel/=node_modules/@zerodev/kernel/src/","module-bases/=node_modules/module-bases/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","solady/src/=node_modules/solady/src/","solarray/=node_modules/solarray/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"contracts/utils/Deployer.sol":"Deployer"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"contracts/utils/Create3.sol":{"keccak256":"0xc878c1ed02e55355fa7e68e015944e9e2b8097ac6d28a1996e489504b6295c41","urls":["bzz-raw://7757231804e65ed9488dce0d4398cea9ea6ac986c908d3af030ca48e81772181","dweb:/ipfs/QmSa2oj33ssAoG59gYkYHLwFFF3fij2M1H8bVbvFCunVvr"],"license":"Unlicense"},"contracts/utils/Deployer.sol":{"keccak256":"0xd09834408486dc70eaef5b0a12abc37d44ca6f300a061bece1e66758021a6d95","urls":["bzz-raw://4867cb95d29fa3a8ef99c63667f050c3fc2e83d76a5e158cb2c911b1f39fb3a1","dweb:/ipfs/QmXYc3HkwgUy52tqkWpGJT5YvRj4Sogx2FWE8UHgHjYmKk"],"license":"Unlicense"},"contracts/utils/SoladyOwnable.sol":{"keccak256":"0xa8d7b45c34f96e24ae669cdc5add90088b8236a101cb36a7148b05c678d2f8ce","urls":["bzz-raw://05d1686b40ce43c7ebb674c64ec6695c7822f3380954028c218bf59b64f8165d","dweb:/ipfs/Qmc6Vr8Ru1EpupJ7gp6kmdPA5BqcoPY5GqF8ZLvMPzvBaX"],"license":"MIT"},"node_modules/solady/src/auth/Ownable.sol":{"keccak256":"0xc208cdd9de02bbf4b5edad18b88e23a2be7ff56d2287d5649329dc7cda64b9a3","urls":["bzz-raw://e8fba079cc7230c617f7493a2e97873f88e59a53a5018fcb2e2b6ac42d8aa5a3","dweb:/ipfs/QmTXg8GSt8hsK2cZhbPFrund1mrwVdkLQmEPoQaFy4fhjs"],"license":"MIT"},"node_modules/solady/src/utils/ECDSA.sol":{"keccak256":"0x5a37fbc86ff99139e1cffad4ec05ffeeef17c1d1401113f107665d08a6abe7df","urls":["bzz-raw://4253a9d0cf4eab99f858fe798904f02ddaabfca3133c07a6314dc479ddd2e217","dweb:/ipfs/QmXeK8yCQ8G4KsqkiP2Yewi2kPV9vdpUU9Qi1xcdX92p8v"],"license":"MIT"}},"version":1},"id":1} \ No newline at end of file diff --git a/scripts/bash-deploy/artifacts/Deployer/verify.json b/scripts/bash-deploy/artifacts/Deployer/verify.json new file mode 100644 index 0000000..c30f459 --- /dev/null +++ b/scripts/bash-deploy/artifacts/Deployer/verify.json @@ -0,0 +1 @@ +{"language":"Solidity","sources":{"contracts/utils/Deployer.sol":{"content":"//SPDX-License-Identifier: Unlicense\npragma solidity 0.8.27;\n\nimport \"./Create3.sol\";\nimport \"./SoladyOwnable.sol\";\nimport {ECDSA} from \"solady/utils/ECDSA.sol\";\n\ncontract Deployer is SoladyOwnable {\n event ContractDeployed(address indexed contractAddress);\n error InvalidBytecodeSignature();\n\n using ECDSA for bytes32;\n\n constructor(address _owner) SoladyOwnable(_owner) {}\n\n function deploy(bytes32 _salt, bytes calldata _creationCode, bytes calldata signature) external returns (address deployedContract) {\n bytes32 hash = keccak256(abi.encode(_creationCode, _salt, block.chainid));\n if (!_verifySignature(hash, signature)) revert InvalidBytecodeSignature();\n deployedContract = Create3.create3(_salt, _creationCode);\n emit ContractDeployed(deployedContract);\n }\n\n function deploy(bytes32 _salt, bytes calldata _creationCode) onlyOwner external returns (address deployedContract) { \n deployedContract = Create3.create3(_salt, _creationCode);\n emit ContractDeployed(deployedContract);\n }\n\n function addressOf(bytes32 _salt) external view returns (address) {\n return Create3.addressOf(_salt);\n }\n\n function _verifySignature(bytes32 hash, bytes calldata signature) internal view returns (bool) {\n if (hash.recoverCalldata(signature) == owner())\n return true;\n if (hash.toEthSignedMessageHash().recoverCalldata(signature) == owner())\n return true;\n return false;\n }\n}\n"},"contracts/utils/Create3.sol":{"content":"//SPDX-License-Identifier: Unlicense\npragma solidity 0.8.27;\n\n/**\n @title A library for deploying contracts EIP-3171 style.\n @author Agustin Aguilar \n*/\nlibrary Create3 {\n error ErrorCreatingProxy();\n error ErrorCreatingContract();\n error TargetAlreadyExists();\n\n /**\n @notice The bytecode for a contract that proxies the creation of another contract\n @dev If this code is deployed using CREATE2 it can be used to decouple `creationCode` from the child contract address\n\n 0x67363d3d37363d34f03d5260086018f3:\n 0x00 0x67 0x67XXXXXXXXXXXXXXXX PUSH8 bytecode 0x363d3d37363d34f0\n 0x01 0x3d 0x3d RETURNDATASIZE 0 0x363d3d37363d34f0\n 0x02 0x52 0x52 MSTORE\n 0x03 0x60 0x6008 PUSH1 08 8\n 0x04 0x60 0x6018 PUSH1 18 24 8\n 0x05 0xf3 0xf3 RETURN\n\n 0x363d3d37363d34f0:\n 0x00 0x36 0x36 CALLDATASIZE cds\n 0x01 0x3d 0x3d RETURNDATASIZE 0 cds\n 0x02 0x3d 0x3d RETURNDATASIZE 0 0 cds\n 0x03 0x37 0x37 CALLDATACOPY\n 0x04 0x36 0x36 CALLDATASIZE cds\n 0x05 0x3d 0x3d RETURNDATASIZE 0 cds\n 0x06 0x34 0x34 CALLVALUE val 0 cds\n 0x07 0xf0 0xf0 CREATE addr\n */\n\n bytes internal constant PROXY_CHILD_BYTECODE =\n hex\"67_36_3d_3d_37_36_3d_34_f0_3d_52_60_08_60_18_f3\";\n\n // KECCAK256_PROXY_CHILD_BYTECODE = keccak256(PROXY_CHILD_BYTECODE);\n bytes32 internal constant KECCAK256_PROXY_CHILD_BYTECODE =\n 0x21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f;\n\n /**\n @notice Returns the size of the code on a given address\n @param _addr Address that may or may not contain code\n @return size of the code on the given `_addr`\n */\n function codeSize(address _addr) internal view returns (uint256 size) {\n assembly {\n size := extcodesize(_addr)\n }\n }\n\n /**\n @notice Creates a new contract with given `_creationCode` and `_salt`\n @param _salt Salt of the contract creation, resulting address will be derivated from this value only\n @param _creationCode Creation code (constructor) of the contract to be deployed, this value doesn't affect the resulting address\n @return addr of the deployed contract, reverts on error\n */\n function create3(\n bytes32 _salt,\n bytes memory _creationCode\n ) internal returns (address addr) {\n return create3(_salt, _creationCode, 0);\n }\n\n /**\n @notice Creates a new contract with given `_creationCode` and `_salt`\n @param _salt Salt of the contract creation, resulting address will be derivated from this value only\n @param _creationCode Creation code (constructor) of the contract to be deployed, this value doesn't affect the resulting address\n @param _value In WEI of ETH to be forwarded to child contract\n @return addr of the deployed contract, reverts on error\n */\n function create3(\n bytes32 _salt,\n bytes memory _creationCode,\n uint256 _value\n ) internal returns (address addr) {\n // Creation code\n bytes memory creationCode = PROXY_CHILD_BYTECODE;\n\n // Get target final address\n addr = addressOf(_salt);\n if (codeSize(addr) != 0) revert TargetAlreadyExists();\n\n // Create CREATE2 proxy\n address proxy;\n assembly {\n proxy := create2(\n 0,\n add(creationCode, 32),\n mload(creationCode),\n _salt\n )\n }\n if (proxy == address(0)) revert ErrorCreatingProxy();\n\n // Call proxy with final init code\n (bool success, ) = proxy.call{value: _value}(_creationCode);\n if (!success || codeSize(addr) == 0) revert ErrorCreatingContract();\n }\n\n function addressOfProxy(bytes32 _salt) internal view returns (address) {\n return\n address(\n uint160(\n uint256(\n keccak256(\n abi.encodePacked(\n hex\"ff\",\n address(this),\n _salt,\n KECCAK256_PROXY_CHILD_BYTECODE\n )\n )\n )\n )\n );\n }\n\n /**\n @notice Computes the resulting address of a contract deployed using address(this) and the given `_salt`\n @param _salt Salt of the contract creation, resulting address will be derivated from this value only\n @return addr of the deployed contract, reverts on error\n\n @dev The address creation formula is: keccak256(rlp([keccak256(0xff ++ address(this) ++ _salt ++ keccak256(childBytecode))[12:], 0x01]))\n */\n function addressOf(bytes32 _salt) internal view returns (address) {\n address proxy = addressOfProxy(_salt);\n return\n address(\n uint160(\n uint256(\n keccak256(abi.encodePacked(hex\"d6_94\", proxy, hex\"01\"))\n )\n )\n );\n }\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index 8f7449f..b5e3787 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -78,6 +78,7 @@ if [ $proceed = "y" ]; then printf "Creating verification artifacts\n" forge verify-contract --show-standard-json-input $(cast address-zero) BiconomySponsorshipPaymaster > ./artifacts/BiconomySponsorshipPaymaster/verify.json + forge verify-contract --show-standard-json-input $(cast address-zero) BiconomyTokenPaymaster > ./artifacts/BiconomyTokenPaymaster/verify.json else printf "Using precompiled artifacts\n" diff --git a/scripts/bash-deploy/deploy-prerequisites.sh b/scripts/bash-deploy/deploy-prerequisites.sh index e87ba95..8feff97 100644 --- a/scripts/bash-deploy/deploy-prerequisites.sh +++ b/scripts/bash-deploy/deploy-prerequisites.sh @@ -124,7 +124,7 @@ fi ### Create3 Deployer ### -CREATE3_DEPLOYER_SIZE=$(cast codesize --rpc-url $CHAIN_NAME 0x000000aFCC4940A247A53bEa5f3f4602433fe815) +CREATE3_DEPLOYER_SIZE=$(cast codesize --rpc-url $CHAIN_NAME $CREATE3_DEPLOYER_ADDRESS) # printf "CREATE3 DEPLOYER Codesize: $CREATE3_DEPLOYER_SIZE\n" if [ $CREATE3_DEPLOYER_SIZE -eq 0 ]; then @@ -137,6 +137,7 @@ if [ $CREATE3_DEPLOYER_SIZE -eq 0 ]; then printf "Rebuilding create3 deployer artifacts...\n" forge build > /dev/null cp ../../out/Deployer.sol/Deployer.json ./artifacts/Deployer/. + forge verify-contract --show-standard-json-input $(cast address-zero) Deployer > ./artifacts/Deployer/verify.json else printf "Using existing create3 deployer artifacts\n" fi diff --git a/scripts/foundry/DeployDeployer.s.sol b/scripts/foundry/DeployDeployer.s.sol index 4decec4..ad34e6d 100644 --- a/scripts/foundry/DeployDeployer.s.sol +++ b/scripts/foundry/DeployDeployer.s.sol @@ -6,7 +6,7 @@ import {DeterministicDeployerLib} from "./utils/DeterministicDeployerLib.sol"; contract DeployDeployer is Script { - bytes32 constant CREATE3_DEPLOYER_DEPLOYMENT_SALT = 0x00000000000000000000000000000000000000007d24613b61566e02484a50c5; + bytes32 constant CREATE3_DEPLOYER_DEPLOYMENT_SALT = 0x000000000000000000000000000000000000000068be161e3f742b0423335623; // => 0x0000003d8fE88f1591774CCD958baF0211Ee2183 address constant DEPLOYER_OWNER = 0x336A8f5251F3b0723d04FBDD25858fca02BB22E3; bytes32 constant DEPLOYER_BYTECODE_HASH = 0xb474e2c7cd2df923dc66b1fbf61eb752b66b7aecb94e055878c3c75061de219c; @@ -19,6 +19,7 @@ contract DeployDeployer is Script { address expectedDeployer = DeterministicDeployerLib.computeAddress(bytecode, args, CREATE3_DEPLOYER_DEPLOYMENT_SALT); // initcode hash to look for the salt + console.log("Deployer bytecode hash for salt generation: "); console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); bytes32 deployerBytecodeHash; @@ -29,9 +30,6 @@ contract DeployDeployer is Script { deployerBytecodeHash := extcodehash(expectedDeployer) } - //console.logBytes32(deployerBytecodeHash); - //console.log("Size", codeLength); - if (codeLength != 0) { if (deployerBytecodeHash != DEPLOYER_BYTECODE_HASH) { revert("Deployer bytecode hash mismatch"); diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index beb3699..e2e717c 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -30,9 +30,6 @@ contract DeployGasdaddy is Script { bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x3e81534a95d3368136d6c49522f8e20ada0b768931512a65c785c15a83178777; // bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xf5516e76713013dc560228c61d8ad21680be770b25fcaed28edf3071e09bb777; // - // CREATE3 DEPLOYER ADDRESS - address constant CREATE3_DEPLOYER_ADDRESS = 0x000000aFCC4940A247A53bEa5f3f4602433fe815; - // CONSTRUCTOR ARGS address constant VERIFYING_PAYMASTER_OWNER = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; address constant VERIFYING_SIGNER = 0xC6dAB8652E5E9749523bA948F42d5944584E4e73; @@ -42,16 +39,13 @@ contract DeployGasdaddy is Script { uint256 constant PAYMASTER_ID_WITHDRAWAL_DELAY = 3600; // 1 hour address constant ENTRY_POINT_V07 = 0x0000000071727De22E5E9d8BAf0edAc6f37da032; - mapping (uint256 => bytes) public signaturesForMinDeposits; mapping (uint256 chainId => TokenPMConfig) public tokenPMConfigs; Create3Deployer create3Deployer; function setUp() public { - create3Deployer = Create3Deployer(CREATE3_DEPLOYER_ADDRESS); - - _fillSignaturesForMinDepositsSponsPM(); + create3Deployer = Create3Deployer(vm.envAddress("CREATE3_DEPLOYER_ADDRESS")); _fillTokenPMConfigs(); @@ -90,34 +84,9 @@ contract DeployGasdaddy is Script { PAYMASTER_ID_WITHDRAWAL_DELAY, minDeposit ); - console.log("args abi encoded: "); + console.log("args abi encoded for sponsorship PM: "); console.logBytes(args); - // Use this block to get initcode hashes to sign - /* - uint256[] memory minDeposits = new uint256[](5); - minDeposits[0] = 1e15; - minDeposits[1] = 1e16; - minDeposits[2] = 1e17; - minDeposits[3] = 1e18; - minDeposits[4] = 1e19; - - for (uint256 i = 0; i < minDeposits.length; i++) { - minDeposit = minDeposits[i]; - args = abi.encode( - VERIFYING_PAYMASTER_OWNER, - ENTRY_POINT_V07, - VERIFYING_SIGNER, - FEE_COLLECTOR, - SPONSORSHIP_PM_UNACCOUNTED_GAS, - PAYMASTER_ID_WITHDRAWAL_DELAY, - minDeposit - ); - console.log("min deposit: ", (minDeposit)); - console.logBytes32(keccak256(abi.encodePacked(bytecode, args))); - } - */ - /// /// TOKEN PAYMASTER /// @@ -127,10 +96,35 @@ contract DeployGasdaddy is Script { codeSize := extcodesize(tokenPM) } console.log("Token Paymaster address: ", tokenPM, " || >> Code Size: ", codeSize); + + TokenPMConfig memory config = tokenPMConfigs[block.chainid]; + args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + VERIFYING_SIGNER, + ENTRY_POINT_V07, + TOKEN_PM_UNACCOUNTED_GAS, + config.nativeAssetDecimals, + config.nativeAssetToUsdOracle, + config.nativeAssetPriceExpiryDuration, + config.swapRouter, + config.wrappedNativeAddress, + config.independentTokens, + config.tokenInfos, + new address[](0), // swappable tokens + new uint24[](0) // swappable token fees + ); + console.log("args abi encoded for token PM: "); + console.logBytes(args); } + // + // DEPLOY GASDADDY + // + function deployGasDaddy(uint256 minDeposit) public returns (uint256 contractsDeployedCount) { + uint256 create3deployerOwnerPk = vm.envUint("CREATE3_OWNER_PK"); + // // SPONSORSHIP PAYMASTER // @@ -153,8 +147,8 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster already deployed at", sponsorshipPM); } else { bytes memory initcode = abi.encodePacked(bytecode, args); - bytes memory signature = signaturesForMinDeposits[minDeposit]; - sponsorshipPM = create3Deployer.deploy(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, initcode, signature); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(create3deployerOwnerPk, keccak256(abi.encode(initcode, SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, block.chainid))); + sponsorshipPM = create3Deployer.deploy(SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT, initcode, abi.encodePacked(r, s, v)); console.log("Sponsorship Paymaster deployed at", sponsorshipPM); contractsDeployedCount++; } @@ -162,7 +156,6 @@ contract DeployGasdaddy is Script { /// /// TOKEN PAYMASTER /// - uint256 create3deployerOwnerPk = vm.envUint("CREATE3_OWNER_PK"); bytecode = vm.getCode("scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/BiconomyTokenPaymaster.json"); TokenPMConfig memory config = tokenPMConfigs[block.chainid]; @@ -198,22 +191,13 @@ contract DeployGasdaddy is Script { return contractsDeployedCount; } else { bytes memory initcode = abi.encodePacked(bytecode, args); - (uint8 v, bytes32 r, bytes32 s) = vm.sign(create3deployerOwnerPk, keccak256(initcode)); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(create3deployerOwnerPk, keccak256(abi.encode(initcode, TOKEN_PAYMASTER_DEPLOYMENT_SALT, block.chainid))); tokenPM = create3Deployer.deploy(TOKEN_PAYMASTER_DEPLOYMENT_SALT, initcode, abi.encodePacked(r, s, v)); console.log("Token Paymaster deployed at", tokenPM); contractsDeployedCount++; } } - function _fillSignaturesForMinDepositsSponsPM() internal { - // Signatures for Sponsorship PM - signaturesForMinDeposits[1e15] = hex'f799f0e37b89b42d667d6cf6ca461bb4e1d9818a5568a640ad89dbe74a16b18b105a3ecbe06828faaf91153bf2238bd5bf9f52cda834eb2ddc81c5665b77901f1b'; //0.001 native token - signaturesForMinDeposits[1e16] = hex'3d4fc4d9a447fb205cc50dce4b74230f0e0baea776bbce2cced39e1b82f612bc5de05607fdeaf3734f8577a8b829b0dd05bb0fe760e4fe9dda28b729d45c95d21c'; //0.01 native token - signaturesForMinDeposits[1e17] = hex'f121c54fabc0f95a2baa1cc296135d125f636532d489a9850a0ea3fe7f52694a2954b6f5cd42aca1e2203e7e39108a878477bfe2f90ed6a38ec578199e5586111c'; //0.1 native token - signaturesForMinDeposits[1e18] = hex'0e2f4921b34b8a2a6ceab67bd7db9655c0e272a725cbb5da84acaad1d023237817a1cb754fd65dd45bebc43312dafb9b53c8e58619da7da5acc9ea96294534141b'; //1 native token - signaturesForMinDeposits[1e19] = hex'6e559e01580bc8cd18fabef2d0aa018f35dc5cb1aa0c26e8cb8b9c45478382cf0fcc208ad2564d693418957e417a90b9081716fa1c01cba65e8442edaed584541c'; //10 native tokens - } - function _fillTokenPMConfigs() internal { // in case we want to support independent tokens /* From 574d131976a56c15fff1482754df081489708b48 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 16:23:14 +0300 Subject: [PATCH 15/16] new salts --- .../bash-deploy/artifacts/BiconomyTokenPaymaster/verify.json | 1 + scripts/foundry/DeployGasdaddy.s.sol | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/verify.json diff --git a/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/verify.json b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/verify.json new file mode 100644 index 0000000..49cb037 --- /dev/null +++ b/scripts/bash-deploy/artifacts/BiconomyTokenPaymaster/verify.json @@ -0,0 +1 @@ +{"language":"Solidity","sources":{"contracts/token/BiconomyTokenPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport { ReentrancyGuardTransient } from \"@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport { PackedUserOperation, UserOperationLib } from \"account-abstraction/core/UserOperationLib.sol\";\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport { SafeERC20 } from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport { IERC20Metadata } from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport { SafeTransferLib } from \"solady/utils/SafeTransferLib.sol\";\nimport { BasePaymaster } from \"../base/BasePaymaster.sol\";\nimport { BiconomyTokenPaymasterErrors } from \"../common/BiconomyTokenPaymasterErrors.sol\";\nimport { IBiconomyTokenPaymaster } from \"../interfaces/IBiconomyTokenPaymaster.sol\";\nimport { IOracle } from \"../interfaces/oracles/IOracle.sol\";\nimport { TokenPaymasterParserLib } from \"../libraries/TokenPaymasterParserLib.sol\";\nimport { SignatureCheckerLib } from \"solady/utils/SignatureCheckerLib.sol\";\nimport { ECDSA as ECDSA_solady } from \"solady/utils/ECDSA.sol\";\nimport { Uniswapper, IV3SwapRouter } from \"./swaps/Uniswapper.sol\";\nimport \"account-abstraction/core/Helpers.sol\";\n\n/**\n * @title BiconomyTokenPaymaster\n * @author ShivaanshK\n * @author livingrockrises\n * @notice Biconomy's Token Paymaster for Entry Point v0.7\n * @dev A paymaster that allows users to pay gas fees in ERC20 tokens. The paymaster uses the precharge and refund\n * model\n * to handle gas remittances.\n *\n * Currently, the paymaster supports two modes:\n * 1. EXTERNAL - Relies on a quoted token price from a trusted entity (verifyingSigner).\n * 2. INDEPENDENT - Relies purely on price oracles (Chainlink and TWAP) which implement the IOracle interface. This mode\n * doesn't require a signature and is \"always available\" to use.\n *\n * The paymaster's owner has full discretion over the supported tokens (for independent mode), price adjustments\n * applied, and how\n * to manage the assets received by the paymaster.\n */\ncontract BiconomyTokenPaymaster is\n IBiconomyTokenPaymaster,\n BasePaymaster,\n ReentrancyGuardTransient,\n BiconomyTokenPaymasterErrors,\n Uniswapper\n{\n using UserOperationLib for PackedUserOperation;\n using TokenPaymasterParserLib for bytes;\n using SignatureCheckerLib for address;\n\n // State variables\n address public verifyingSigner; // entity used to provide external token price and markup\n uint256 public unaccountedGas;\n IOracle public nativeAssetToUsdOracle; // ETH -> USD price oracle\n mapping(address => TokenInfo) public independentTokenDirectory; // mapping of token address => info for tokens\n uint256 private constant _UNACCOUNTED_GAS_LIMIT = 200_000; // Limit for unaccounted gas cost\n uint32 private constant _PRICE_DENOMINATOR = 1e6; // Denominator used when calculating cost with price markup\n uint32 private constant _MAX_PRICE_MARKUP = 2e6; // 100% premium on price (2e6/PRICE_DENOMINATOR)\n uint256 private immutable _NATIVE_TOKEN_DECIMALS; // gas savings\n uint256 private immutable _NATIVE_ASSET_PRICE_EXPIRY_DURATION; // gas savings\n\n /**\n * @dev markup and expiry duration are provided for each token.\n * Price expiry duration should be set to the heartbeat value of the token. \n * Additionally, priceMarkup must be higher than Chainlink’s deviation threshold value.\n * More: https://docs.chain.link/architecture-overview/architecture-decentralized-model \n */\n\n constructor(\n address owner,\n address verifyingSignerArg,\n IEntryPoint entryPoint,\n uint256 unaccountedGasArg,\n uint256 nativeAssetDecimalsArg,\n IOracle nativeAssetToUsdOracleArg,\n uint256 nativeAssetPriceExpiryDurationArg,\n IV3SwapRouter uniswapRouterArg,\n address wrappedNativeArg,\n address[] memory independentTokensArg, // Array of tokens supported in independent mode\n TokenInfo[] memory tokenInfosArg, // Array of corresponding tokenInfo objects\n address[] memory swappableTokens, // Array of tokens that you want swappable by the uniswapper\n uint24[] memory swappableTokenPoolFeeTiers // Array of uniswap pool fee tiers for each swappable token\n )\n BasePaymaster(owner, entryPoint)\n Uniswapper(uniswapRouterArg, wrappedNativeArg, swappableTokens, swappableTokenPoolFeeTiers)\n {\n _NATIVE_TOKEN_DECIMALS = nativeAssetDecimalsArg;\n _NATIVE_ASSET_PRICE_EXPIRY_DURATION = nativeAssetPriceExpiryDurationArg;\n\n if (_isContract(verifyingSignerArg)) {\n revert VerifyingSignerCanNotBeContract();\n }\n if (verifyingSignerArg == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n if (unaccountedGasArg > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n\n if (independentTokensArg.length != tokenInfosArg.length) {\n revert TokensAndInfoLengthMismatch();\n }\n if (nativeAssetToUsdOracleArg.decimals() != 8) {\n // ETH -> USD will always have 8 decimals for Chainlink and TWAP\n revert InvalidOracleDecimals();\n }\n\n // Set state variables\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, verifyingSignerArg)\n sstore(unaccountedGas.slot, unaccountedGasArg)\n sstore(nativeAssetToUsdOracle.slot, nativeAssetToUsdOracleArg)\n }\n\n for (uint256 i = 0; i < independentTokensArg.length; i++) {\n _validateTokenInfo(tokenInfosArg[i]);\n independentTokenDirectory[independentTokensArg[i]] = tokenInfosArg[i]; \n }\n }\n\n receive() external payable {\n // no need to emit an event here\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n * @param amount amount to withdraw\n */\n function withdrawERC20(IERC20 token, address target, uint256 amount) external payable onlyOwner nonReentrant {\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev Withdraw ETH from the paymaster\n * @param recipient The address to send the ETH to\n * @param amount The amount of ETH to withdraw\n */\n function withdrawEth(address payable recipient, uint256 amount) external payable onlyOwner nonReentrant {\n (bool success,) = recipient.call{ value: amount }(\"\");\n if (!success) {\n revert WithdrawalFailed();\n }\n emit EthWithdrawn(recipient, amount);\n }\n\n /**\n * @dev pull tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the token deposit to withdraw\n * @param target address to send to\n */\n function withdrawERC20Full(IERC20 token, address target) external payable onlyOwner nonReentrant {\n uint256 amount = token.balanceOf(address(this));\n _withdrawERC20(token, target, amount);\n }\n\n /**\n * @dev pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the tokens deposit to withdraw\n * @param target address to send to\n * @param amount amounts to withdraw\n */\n function withdrawMultipleERC20(\n IERC20[] calldata token,\n address target,\n uint256[] calldata amount\n )\n external\n payable\n onlyOwner\n nonReentrant\n {\n if (token.length != amount.length) {\n revert TokensAndAmountsLengthMismatch();\n }\n unchecked {\n for (uint256 i; i < token.length;) {\n _withdrawERC20(token[i], target, amount[i]);\n ++i;\n }\n }\n }\n\n /**\n * @dev pull multiple tokens out of paymaster in case they were sent to the paymaster at any point.\n * @param token the tokens deposit to withdraw\n * @param target address to send to\n */\n function withdrawMultipleERC20Full(\n IERC20[] calldata token,\n address target\n )\n external\n payable\n onlyOwner\n nonReentrant\n {\n unchecked {\n for (uint256 i; i < token.length;) {\n uint256 amount = token[i].balanceOf(address(this));\n _withdrawERC20(token[i], target, amount);\n ++i;\n }\n }\n }\n\n /**\n * @dev Set a new verifying signer address.\n * Can only be called by the owner of the contract.\n * @param newVerifyingSigner The new address to be set as the verifying signer.\n * @notice If newVerifyingSigner is set to zero address, it will revert with an error.\n * After setting the new signer address, it will emit an event UpdatedVerifyingSigner.\n */\n function setSigner(address newVerifyingSigner) external payable onlyOwner {\n if (_isContract(newVerifyingSigner)) revert VerifyingSignerCanNotBeContract();\n if (newVerifyingSigner == address(0)) {\n revert VerifyingSignerCanNotBeZero();\n }\n address oldSigner = verifyingSigner;\n assembly (\"memory-safe\") {\n sstore(verifyingSigner.slot, newVerifyingSigner)\n }\n emit UpdatedVerifyingSigner(oldSigner, newVerifyingSigner, msg.sender);\n }\n\n /**\n * @dev Set a new unaccountedEPGasOverhead value.\n * @param newUnaccountedGas The new value to be set as the unaccounted gas value\n * @notice only to be called by the owner of the contract.\n */\n function setUnaccountedGas(uint256 newUnaccountedGas) external payable onlyOwner {\n if (newUnaccountedGas > _UNACCOUNTED_GAS_LIMIT) {\n revert UnaccountedGasTooHigh();\n }\n uint256 oldUnaccountedGas = unaccountedGas;\n assembly (\"memory-safe\") {\n sstore(unaccountedGas.slot, newUnaccountedGas)\n }\n emit UpdatedUnaccountedGas(oldUnaccountedGas, newUnaccountedGas);\n }\n\n /**\n * @dev Set a new priceMarkup value.\n * @param newIndependentPriceMarkup The new value to be set as the price markup\n * @notice only to be called by the owner of the contract.\n */\n function setPriceMarkupForToken(address tokenAddress, uint32 newIndependentPriceMarkup) external payable onlyOwner {\n if (newIndependentPriceMarkup > _MAX_PRICE_MARKUP || newIndependentPriceMarkup < _PRICE_DENOMINATOR) {\n // Not between 0% and 100% markup\n revert InvalidPriceMarkup();\n }\n uint32 oldIndependentPriceMarkup = independentTokenDirectory[tokenAddress].priceMarkup;\n independentTokenDirectory[tokenAddress].priceMarkup = newIndependentPriceMarkup;\n emit UpdatedFixedPriceMarkup(oldIndependentPriceMarkup, newIndependentPriceMarkup);\n }\n\n /**\n * @dev Set a new price expiry duration.\n * @param newPriceExpiryDuration The new value to be set as the price expiry duration\n * @notice only to be called by the owner of the contract.\n */\n function setPriceExpiryDurationForToken(address tokenAddress, uint256 newPriceExpiryDuration) external payable onlyOwner {\n if(block.timestamp < newPriceExpiryDuration) revert InvalidPriceExpiryDuration();\n uint256 oldPriceExpiryDuration = independentTokenDirectory[tokenAddress].priceExpiryDuration;\n independentTokenDirectory[tokenAddress].priceExpiryDuration = newPriceExpiryDuration;\n emit UpdatedPriceExpiryDuration(oldPriceExpiryDuration, newPriceExpiryDuration);\n }\n\n /**\n * @dev Update the native oracle address\n * @param oracle The new native asset oracle\n * @notice only to be called by the owner of the contract.\n */\n function setNativeAssetToUsdOracle(IOracle oracle) external payable onlyOwner {\n if (oracle.decimals() != 8) {\n // Native -> USD will always have 8 decimals\n revert InvalidOracleDecimals();\n }\n\n IOracle oldNativeAssetToUsdOracle = nativeAssetToUsdOracle;\n assembly (\"memory-safe\") {\n sstore(nativeAssetToUsdOracle.slot, oracle)\n }\n\n emit UpdatedNativeAssetOracle(oldNativeAssetToUsdOracle, oracle);\n }\n\n /**\n * @dev Set or update a TokenInfo entry in the independentTokenDirectory mapping.\n * @param tokenAddress The token address to add or update in directory\n * @param tokenInfo The TokenInfo struct to add or update\n * @notice only to be called by the owner of the contract.\n */\n function addToTokenDirectory(address tokenAddress, TokenInfo memory tokenInfo) external payable onlyOwner {\n _validateTokenInfo(tokenInfo);\n\n independentTokenDirectory[tokenAddress] = tokenInfo;\n\n emit AddedToTokenDirectory(tokenAddress, tokenInfo.oracle, IERC20Metadata(tokenAddress).decimals());\n }\n\n /**\n * @dev Remove a token from the independentTokenDirectory mapping.\n * @param tokenAddress The token address to remove from directory\n * @notice only to be called by the owner of the contract.\n */\n function removeFromTokenDirectory(address tokenAddress) external payable onlyOwner {\n delete independentTokenDirectory[tokenAddress];\n emit RemovedFromTokenDirectory(tokenAddress);\n }\n\n /**\n * @dev Update or add a swappable token to the Uniswapper\n * @param tokenAddresses The token address to add/update to/for uniswapper\n * @param poolFeeTiers The pool fee tiers for the corresponding token address to use\n * @notice only to be called by the owner of the contract.\n */\n function updateSwappableTokens(\n address[] memory tokenAddresses,\n uint24[] memory poolFeeTiers\n )\n external\n payable\n onlyOwner\n {\n if (tokenAddresses.length != poolFeeTiers.length) {\n revert TokensAndPoolsLengthMismatch();\n }\n\n for (uint256 i = 0; i < tokenAddresses.length; ++i) {\n _setTokenPool(tokenAddresses[i], poolFeeTiers[i]);\n }\n emit SwappableTokensAdded(tokenAddresses);\n }\n\n /**\n * @dev Swap a token in the paymaster for ETH and deposit the amount received into the entry point\n * @param tokenAddress The token address of the token to swap\n * @param tokenAmount The amount of the token to swap\n * @param minEthAmountRecevied The minimum amount of ETH amount recevied post-swap\n * @notice only to be called by the owner of the contract.\n */\n function swapTokenAndDeposit(\n address tokenAddress,\n uint256 tokenAmount,\n uint256 minEthAmountRecevied\n )\n external\n payable\n nonReentrant\n {\n // Swap tokens for WETH\n uint256 amountOut = _swapTokenToWeth(tokenAddress, tokenAmount, minEthAmountRecevied);\n if(amountOut > 0) {\n // Unwrap WETH to ETH\n _unwrapWeth(amountOut);\n // Deposit ETH into EP\n entryPoint.depositTo{ value: amountOut }(address(this));\n }\n emit TokensSwappedAndRefilledEntryPoint(tokenAddress, tokenAmount, amountOut, msg.sender);\n }\n\n /**\n * Add a deposit in native currency for this paymaster, used for paying for transaction fees.\n * This is ideally done by the entity who is managing the received ERC20 gas tokens.\n */\n function deposit() public payable virtual override nonReentrant {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * @dev Withdraws the specified amount of gas tokens from the paymaster's balance and transfers them to the\n * specified address.\n * @param withdrawAddress The address to which the gas tokens should be transferred.\n * @param amount The amount of gas tokens to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) public override onlyOwner nonReentrant {\n if (withdrawAddress == address(0)) revert CanNotWithdrawToZeroAddress();\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n function setUniswapRouter(IV3SwapRouter uniswapRouterArg) external onlyOwner {\n _setUniswapRouter(uniswapRouterArg);\n }\n\n /**\n * return the hash we're going to sign off-chain (and validate on-chain)\n * this method is called by the off-chain service, to sign the request.\n * it is called on-chain from the validatePaymasterUserOp, to validate the signature.\n * note that this signature covers all fields of the UserOperation, except the \"paymasterAndData\",\n * which will carry the signature itself.\n */\n function getHash(\n PackedUserOperation calldata userOp,\n uint48 validUntil,\n uint48 validAfter,\n address tokenAddress,\n uint256 tokenPrice,\n uint32 appliedPriceMarkup\n )\n public\n view\n returns (bytes32)\n {\n //can't use userOp.hash(), since it contains also the paymasterAndData itself.\n address sender = userOp.getSender();\n return keccak256(\n abi.encode(\n sender,\n userOp.nonce,\n keccak256(userOp.initCode),\n keccak256(userOp.callData),\n userOp.accountGasLimits,\n uint256(bytes32(userOp.paymasterAndData[_PAYMASTER_VALIDATION_GAS_OFFSET:_PAYMASTER_DATA_OFFSET])),\n userOp.preVerificationGas,\n userOp.gasFees,\n block.chainid,\n address(this),\n validUntil,\n validAfter,\n tokenAddress,\n tokenPrice,\n appliedPriceMarkup\n )\n );\n }\n\n /**\n * @dev Get the price of a token in USD\n * @param tokenAddress The address of the token to get the price of\n * @return price The price of the token in USD\n */\n function getPrice(address tokenAddress) public view returns (uint256) {\n return _getPrice(tokenAddress);\n }\n\n /**\n * @dev Check if a token is supported\n * @param tokenAddress The address of the token to check\n * @return bool True if the token is supported, false otherwise\n */\n function isTokenSupported(address tokenAddress) public view returns (bool) {\n return independentTokenDirectory[tokenAddress].oracle != IOracle(address(0));\n }\n\n /**\n * @dev Get the price markup for a token\n * @param tokenAddress The address of the token to get the price markup of\n * @return priceMarkup The price markup for the token\n */\n function independentPriceMarkup(address tokenAddress) public view returns (uint32) {\n return independentTokenDirectory[tokenAddress].priceMarkup;\n }\n\n /**\n * @dev Get the price expiry duration for a token\n * @param tokenAddress The address of the token to get the price expiry duration of\n * @return priceExpiryDuration The price expiry duration for the token\n */\n function independentPriceExpiryDuration(address tokenAddress) public view returns (uint256) {\n return independentTokenDirectory[tokenAddress].priceExpiryDuration;\n }\n\n /**\n * @dev Validate a user operation.\n * This method is abstract in BasePaymaster and must be implemented in derived contracts.\n * @param userOp The user operation.\n * @param userOpHash The hash of the user operation.\n * @param maxCost The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n override\n returns (bytes memory context, uint256 validationData)\n {\n (PaymasterMode mode, bytes calldata modeSpecificData) = userOp.paymasterAndData.parsePaymasterAndData();\n\n if (uint8(mode) > 1) {\n revert InvalidPaymasterMode();\n }\n\n uint256 maxPenalty = (\n ( uint128(uint256(userOp.accountGasLimits))\n + uint128(bytes16(userOp.paymasterAndData[_PAYMASTER_POSTOP_GAS_OFFSET:_PAYMASTER_DATA_OFFSET]))\n ) * 10 ) / 100;\n\n if (mode == PaymasterMode.EXTERNAL) {\n // Use the price and other params specified in modeSpecificData by the verifyingSigner\n // Useful for supporting tokens which don't have oracle support\n\n (\n uint48 validUntil,\n uint48 validAfter,\n address tokenAddress,\n uint256 tokenPrice,\n uint32 externalPriceMarkup,\n bytes memory signature\n ) = modeSpecificData.parseExternalModeSpecificData();\n\n if (signature.length != 64 && signature.length != 65) {\n revert InvalidSignatureLength();\n }\n\n bool validSig = verifyingSigner.isValidSignatureNow(\n ECDSA_solady.toEthSignedMessageHash(\n getHash(userOp, validUntil, validAfter, tokenAddress, tokenPrice, externalPriceMarkup)\n ),\n signature\n );\n\n //don't revert on signature failure: return SIG_VALIDATION_FAILED\n if (!validSig) {\n return (\"\", _packValidationData(true, validUntil, validAfter));\n }\n\n context = abi.encode(\n userOp.sender,\n tokenAddress,\n maxPenalty,\n tokenPrice,\n externalPriceMarkup,\n userOpHash \n );\n validationData = _packValidationData(false, validUntil, validAfter);\n \n /// INDEPENDENT MODE\n } else if (mode == PaymasterMode.INDEPENDENT) {\n\n address tokenAddress = modeSpecificData.parseIndependentModeSpecificData();\n \n // Use only oracles for the token specified in modeSpecificData\n if (modeSpecificData.length != 20) {\n revert InvalidTokenAddress();\n }\n\n context = abi.encode(\n userOp.sender,\n tokenAddress,\n maxPenalty,\n uint256(0), // pass 0, so we can check the price in _postOp and be 4337 compliant\n independentTokenDirectory[tokenAddress].priceMarkup,\n userOpHash\n );\n validationData = 0; // Validation success and price is valid indefinetly\n }\n }\n\n /**\n * @dev Post-operation handler.\n * This method is abstract in BasePaymaster and must be implemented in derived contracts.\n * @param context The context value returned by validatePaymasterUserOp.\n * @param actualGasCost Actual gas used so far (excluding this postOp call).\n * @param actualUserOpFeePerGas The gas price this UserOp pays.\n */\n function _postOp(\n PostOpMode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n override\n { \n (\n address userOpSender,\n address tokenAddress,\n uint256 maxPenalty,\n uint256 tokenPrice,\n uint32 appliedPriceMarkup,\n bytes32 userOpHash\n ) = abi.decode(context, (address, address, uint256, uint256, uint32, bytes32));\n\n // If tokenPrice is 0, it means it was not set in the validatePaymasterUserOp => independent mode\n // So we need to get the price of the token from the oracle now\n if(tokenPrice == 0) {\n tokenPrice = _getPrice(tokenAddress);\n // if tokenPrice is still 0, it means the token is not supported\n if(tokenPrice == 0) {\n revert TokenNotSupported();\n }\n }\n\n // Calculate the amount to charge. unaccountedGas and maxPenalty are used, \n // as we do not know the exact gas spent for postop and actual penalty at this point\n // this is obviously overcharge, however, the excess amount can be refunded by backend, \n // when we know the exact gas spent (emitted by EP after executing UserOp)\n uint256 tokenAmount = (\n (actualGasCost + ((unaccountedGas + maxPenalty)) * actualUserOpFeePerGas)) * appliedPriceMarkup * tokenPrice\n / (_NATIVE_TOKEN_DECIMALS * _PRICE_DENOMINATOR);\n\n if (SafeTransferLib.trySafeTransferFrom(tokenAddress, userOpSender, address(this), tokenAmount)) {\n emit PaidGasInTokens(userOpSender, tokenAddress, actualGasCost, tokenAmount, appliedPriceMarkup, tokenPrice, userOpHash);\n } else {\n revert FailedToChargeTokens(userOpSender, tokenAddress, tokenAmount, userOpHash);\n } \n }\n\n function _validateTokenInfo(TokenInfo memory tokenInfo) internal view {\n if (tokenInfo.oracle.decimals() != 8) {\n revert InvalidOracleDecimals();\n }\n if (tokenInfo.priceMarkup > _MAX_PRICE_MARKUP || tokenInfo.priceMarkup < _PRICE_DENOMINATOR) {\n revert InvalidPriceMarkup();\n }\n if (block.timestamp < tokenInfo.priceExpiryDuration) {\n revert InvalidPriceExpiryDuration();\n }\n }\n\n /// @notice Fetches the latest token price.\n /// @return price The latest token price fetched from the oracles.\n function _getPrice(address tokenAddress) internal view returns (uint256 price) {\n // Fetch token information from directory\n TokenInfo memory tokenInfo = independentTokenDirectory[tokenAddress];\n\n if (address(tokenInfo.oracle) == address(0)) {\n // If oracle not set, token isn't supported\n revert TokenNotSupported();\n }\n\n // Calculate price by using token and native oracle\n uint256 tokenPrice = _fetchPrice(tokenInfo.oracle, tokenInfo.priceExpiryDuration);\n uint256 nativeAssetPrice = _fetchPrice(nativeAssetToUsdOracle, _NATIVE_ASSET_PRICE_EXPIRY_DURATION);\n\n // Adjust to token decimals\n price = (nativeAssetPrice * 10**IERC20Metadata(tokenAddress).decimals()) / tokenPrice;\n }\n\n /// @notice Fetches the latest price from the given oracle.\n /// @dev This function is used to get the latest price from the tokenOracle or nativeAssetToUsdOracle.\n /// @param oracle The oracle contract to fetch the price from.\n /// @return price The latest price fetched from the oracle.\n /// Note: We could do this using oracle aggregator, so we can also use Pyth. or Twap based oracle and just not chainlink.\n function _fetchPrice(IOracle oracle, uint256 priceExpiryDuration) internal view returns (uint256 price) {\n (, int256 answer,, uint256 updatedAt,) = oracle.latestRoundData();\n if (answer <= 0) {\n revert OraclePriceNotPositive();\n }\n if (updatedAt < block.timestamp - priceExpiryDuration) {\n revert OraclePriceExpired();\n }\n price = uint256(answer);\n }\n\n function _withdrawERC20(IERC20 token, address target, uint256 amount) private {\n if (target == address(0)) revert CanNotWithdrawToZeroAddress();\n SafeTransferLib.safeTransfer(address(token), target, amount);\n emit TokensWithdrawn(address(token), target, amount, msg.sender);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)\n\npragma solidity ^0.8.24;\n\nimport {TransientSlot} from \"./TransientSlot.sol\";\n\n/**\n * @dev Variant of {ReentrancyGuard} that uses transient storage.\n *\n * NOTE: This variant only works on networks where EIP-1153 is available.\n *\n * _Available since v5.1._\n */\nabstract contract ReentrancyGuardTransient {\n using TransientSlot for *;\n\n // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n bytes32 private constant REENTRANCY_GUARD_STORAGE =\n 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_reentrancyGuardEntered()) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(true);\n }\n\n function _nonReentrantAfter() private {\n REENTRANCY_GUARD_STORAGE.asBoolean().tstore(false);\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return REENTRANCY_GUARD_STORAGE.asBoolean().tload();\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IEntryPoint.sol":{"content":"/**\n ** Account-Abstraction (EIP-4337) singleton EntryPoint implementation.\n ** Only one instance required on each chain.\n **/\n// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/* solhint-disable avoid-low-level-calls */\n/* solhint-disable no-inline-assembly */\n/* solhint-disable reason-string */\n\nimport \"./PackedUserOperation.sol\";\nimport \"./IStakeManager.sol\";\nimport \"./IAggregator.sol\";\nimport \"./INonceManager.sol\";\n\ninterface IEntryPoint is IStakeManager, INonceManager {\n /***\n * An event emitted after each successful request.\n * @param userOpHash - Unique identifier for the request (hash its entire content, except signature).\n * @param sender - The account that generates this request.\n * @param paymaster - If non-null, the paymaster that pays for this request.\n * @param nonce - The nonce value from the request.\n * @param success - True if the sender transaction succeeded, false if reverted.\n * @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.\n * @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,\n * validation and execution).\n */\n event UserOperationEvent(\n bytes32 indexed userOpHash,\n address indexed sender,\n address indexed paymaster,\n uint256 nonce,\n bool success,\n uint256 actualGasCost,\n uint256 actualGasUsed\n );\n\n /**\n * Account \"sender\" was deployed.\n * @param userOpHash - The userOp that deployed this account. UserOperationEvent will follow.\n * @param sender - The account that is deployed\n * @param factory - The factory used to deploy this account (in the initCode)\n * @param paymaster - The paymaster used by this UserOp\n */\n event AccountDeployed(\n bytes32 indexed userOpHash,\n address indexed sender,\n address factory,\n address paymaster\n );\n\n /**\n * An event emitted if the UserOperation \"callData\" reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event UserOperationRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * An event emitted if the UserOperation Paymaster's \"postOp\" call reverted with non-zero length.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n * @param revertReason - The return bytes from the (reverted) call to \"callData\".\n */\n event PostOpRevertReason(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce,\n bytes revertReason\n );\n\n /**\n * UserOp consumed more than prefund. The UserOperation is reverted, and no refund is made.\n * @param userOpHash - The request unique identifier.\n * @param sender - The sender of this request.\n * @param nonce - The nonce used in the request.\n */\n event UserOperationPrefundTooLow(\n bytes32 indexed userOpHash,\n address indexed sender,\n uint256 nonce\n );\n\n /**\n * An event emitted by handleOps(), before starting the execution loop.\n * Any event emitted before this event, is part of the validation.\n */\n event BeforeExecution();\n\n /**\n * Signature aggregator used by the following UserOperationEvents within this bundle.\n * @param aggregator - The aggregator used for the following UserOperationEvents.\n */\n event SignatureAggregatorChanged(address indexed aggregator);\n\n /**\n * A custom revert error of handleOps, to identify the offending op.\n * Should be caught in off-chain handleOps simulation and not happen on-chain.\n * Useful for mitigating DoS attempts against batchers or for troubleshooting of factory/account/paymaster reverts.\n * NOTE: If simulateValidation passes successfully, there should be no reason for handleOps to fail on it.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. The string starts with a unique code \"AAmn\",\n * where \"m\" is \"1\" for factory, \"2\" for account and \"3\" for paymaster issues,\n * so a failure can be attributed to the correct entity.\n */\n error FailedOp(uint256 opIndex, string reason);\n\n /**\n * A custom revert error of handleOps, to report a revert by account or paymaster.\n * @param opIndex - Index into the array of ops to the failed one (in simulateValidation, this is always zero).\n * @param reason - Revert reason. see FailedOp(uint256,string), above\n * @param inner - data from inner cought revert reason\n * @dev note that inner is truncated to 2048 bytes\n */\n error FailedOpWithRevert(uint256 opIndex, string reason, bytes inner);\n\n error PostOpReverted(bytes returnData);\n\n /**\n * Error case when a signature aggregator fails to verify the aggregated signature it had created.\n * @param aggregator The aggregator that failed to verify the signature\n */\n error SignatureValidationFailed(address aggregator);\n\n // Return value of getSenderAddress.\n error SenderAddressResult(address sender);\n\n // UserOps handled, per aggregator.\n struct UserOpsPerAggregator {\n PackedUserOperation[] userOps;\n // Aggregator address\n IAggregator aggregator;\n // Aggregated signature\n bytes signature;\n }\n\n /**\n * Execute a batch of UserOperations.\n * No signature aggregator is used.\n * If any account requires an aggregator (that is, it returned an aggregator when\n * performing simulateValidation), then handleAggregatedOps() must be used instead.\n * @param ops - The operations to execute.\n * @param beneficiary - The address to receive the fees.\n */\n function handleOps(\n PackedUserOperation[] calldata ops,\n address payable beneficiary\n ) external;\n\n /**\n * Execute a batch of UserOperation with Aggregators\n * @param opsPerAggregator - The operations to execute, grouped by aggregator (or address(0) for no-aggregator accounts).\n * @param beneficiary - The address to receive the fees.\n */\n function handleAggregatedOps(\n UserOpsPerAggregator[] calldata opsPerAggregator,\n address payable beneficiary\n ) external;\n\n /**\n * Generate a request Id - unique identifier for this request.\n * The request ID is a hash over the content of the userOp (except the signature), the entrypoint and the chainid.\n * @param userOp - The user operation to generate the request ID for.\n * @return hash the hash of this UserOperation\n */\n function getUserOpHash(\n PackedUserOperation calldata userOp\n ) external view returns (bytes32);\n\n /**\n * Gas and return values during simulation.\n * @param preOpGas - The gas used for validation (including preValidationGas)\n * @param prefund - The required prefund for this operation\n * @param accountValidationData - returned validationData from account.\n * @param paymasterValidationData - return validationData from paymaster.\n * @param paymasterContext - Returned by validatePaymasterUserOp (to be passed into postOp)\n */\n struct ReturnInfo {\n uint256 preOpGas;\n uint256 prefund;\n uint256 accountValidationData;\n uint256 paymasterValidationData;\n bytes paymasterContext;\n }\n\n /**\n * Returned aggregated signature info:\n * The aggregator returned by the account, and its current stake.\n */\n struct AggregatorStakeInfo {\n address aggregator;\n StakeInfo stakeInfo;\n }\n\n /**\n * Get counterfactual sender address.\n * Calculate the sender contract address that will be generated by the initCode and salt in the UserOperation.\n * This method always revert, and returns the address in SenderAddressResult error\n * @param initCode - The constructor code to be passed into the UserOperation.\n */\n function getSenderAddress(bytes memory initCode) external;\n\n error DelegateAndRevert(bool success, bytes ret);\n\n /**\n * Helper method for dry-run testing.\n * @dev calling this method, the EntryPoint will make a delegatecall to the given data, and report (via revert) the result.\n * The method always revert, so is only useful off-chain for dry run calls, in cases where state-override to replace\n * actual EntryPoint code is less convenient.\n * @param target a target contract to make a delegatecall from entrypoint\n * @param data data to pass to target in a delegatecall\n */\n function delegateAndRevert(address target, bytes calldata data) external;\n}\n"},"node_modules/account-abstraction/contracts/core/UserOperationLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\nimport \"../interfaces/PackedUserOperation.sol\";\nimport {calldataKeccak, min} from \"./Helpers.sol\";\n\n/**\n * Utility functions helpful when working with UserOperation structs.\n */\nlibrary UserOperationLib {\n\n uint256 public constant PAYMASTER_VALIDATION_GAS_OFFSET = 20;\n uint256 public constant PAYMASTER_POSTOP_GAS_OFFSET = 36;\n uint256 public constant PAYMASTER_DATA_OFFSET = 52;\n /**\n * Get sender from user operation data.\n * @param userOp - The user operation data.\n */\n function getSender(\n PackedUserOperation calldata userOp\n ) internal pure returns (address) {\n address data;\n //read sender from userOp, which is first userOp member (saves 800 gas...)\n assembly {\n data := calldataload(userOp)\n }\n return address(uint160(data));\n }\n\n /**\n * Relayer/block builder might submit the TX with higher priorityFee,\n * but the user should not pay above what he signed for.\n * @param userOp - The user operation data.\n */\n function gasPrice(\n PackedUserOperation calldata userOp\n ) internal view returns (uint256) {\n unchecked {\n (uint256 maxPriorityFeePerGas, uint256 maxFeePerGas) = unpackUints(userOp.gasFees);\n if (maxFeePerGas == maxPriorityFeePerGas) {\n //legacy mode (for networks that don't support basefee opcode)\n return maxFeePerGas;\n }\n return min(maxFeePerGas, maxPriorityFeePerGas + block.basefee);\n }\n }\n\n /**\n * Pack the user operation data into bytes for hashing.\n * @param userOp - The user operation data.\n */\n function encode(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes memory ret) {\n address sender = getSender(userOp);\n uint256 nonce = userOp.nonce;\n bytes32 hashInitCode = calldataKeccak(userOp.initCode);\n bytes32 hashCallData = calldataKeccak(userOp.callData);\n bytes32 accountGasLimits = userOp.accountGasLimits;\n uint256 preVerificationGas = userOp.preVerificationGas;\n bytes32 gasFees = userOp.gasFees;\n bytes32 hashPaymasterAndData = calldataKeccak(userOp.paymasterAndData);\n\n return abi.encode(\n sender, nonce,\n hashInitCode, hashCallData,\n accountGasLimits, preVerificationGas, gasFees,\n hashPaymasterAndData\n );\n }\n\n function unpackUints(\n bytes32 packed\n ) internal pure returns (uint256 high128, uint256 low128) {\n return (uint128(bytes16(packed)), uint128(uint256(packed)));\n }\n\n //unpack just the high 128-bits from a packed value\n function unpackHigh128(bytes32 packed) internal pure returns (uint256) {\n return uint256(packed) >> 128;\n }\n\n // unpack just the low 128-bits from a packed value\n function unpackLow128(bytes32 packed) internal pure returns (uint256) {\n return uint128(uint256(packed));\n }\n\n function unpackMaxPriorityFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.gasFees);\n }\n\n function unpackMaxFeePerGas(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.gasFees);\n }\n\n function unpackVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackHigh128(userOp.accountGasLimits);\n }\n\n function unpackCallGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return unpackLow128(userOp.accountGasLimits);\n }\n\n function unpackPaymasterVerificationGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET]));\n }\n\n function unpackPostOpGasLimit(PackedUserOperation calldata userOp)\n internal pure returns (uint256) {\n return uint128(bytes16(userOp.paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]));\n }\n\n function unpackPaymasterStaticFields(\n bytes calldata paymasterAndData\n ) internal pure returns (address paymaster, uint256 validationGasLimit, uint256 postOpGasLimit) {\n return (\n address(bytes20(paymasterAndData[: PAYMASTER_VALIDATION_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET : PAYMASTER_POSTOP_GAS_OFFSET])),\n uint128(bytes16(paymasterAndData[PAYMASTER_POSTOP_GAS_OFFSET : PAYMASTER_DATA_OFFSET]))\n );\n }\n\n /**\n * Hash the user operation data.\n * @param userOp - The user operation data.\n */\n function hash(\n PackedUserOperation calldata userOp\n ) internal pure returns (bytes32) {\n return keccak256(encode(userOp));\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n mapping(address account => uint256) private _balances;\n\n mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n uint256 private _totalSupply;\n\n string private _name;\n string private _symbol;\n\n /**\n * @dev Sets the values for {name} and {symbol}.\n *\n * All two of these values are immutable: they can only be set once during\n * construction.\n */\n constructor(string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n }\n\n /**\n * @dev Returns the name of the token.\n */\n function name() public view virtual returns (string memory) {\n return _name;\n }\n\n /**\n * @dev Returns the symbol of the token, usually a shorter version of the\n * name.\n */\n function symbol() public view virtual returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev Returns the number of decimals used to get its user representation.\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\n * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n *\n * Tokens usually opt for a value of 18, imitating the relationship between\n * Ether and Wei. This is the default value returned by this function, unless\n * it's overridden.\n *\n * NOTE: This information is only used for _display_ purposes: it in\n * no way affects any of the arithmetic of the contract, including\n * {IERC20-balanceOf} and {IERC20-transfer}.\n */\n function decimals() public view virtual returns (uint8) {\n return 18;\n }\n\n /**\n * @dev See {IERC20-totalSupply}.\n */\n function totalSupply() public view virtual returns (uint256) {\n return _totalSupply;\n }\n\n /**\n * @dev See {IERC20-balanceOf}.\n */\n function balanceOf(address account) public view virtual returns (uint256) {\n return _balances[account];\n }\n\n /**\n * @dev See {IERC20-transfer}.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - the caller must have a balance of at least `value`.\n */\n function transfer(address to, uint256 value) public virtual returns (bool) {\n address owner = _msgSender();\n _transfer(owner, to, value);\n return true;\n }\n\n /**\n * @dev See {IERC20-allowance}.\n */\n function allowance(address owner, address spender) public view virtual returns (uint256) {\n return _allowances[owner][spender];\n }\n\n /**\n * @dev See {IERC20-approve}.\n *\n * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n * `transferFrom`. This is semantically equivalent to an infinite approval.\n *\n * Requirements:\n *\n * - `spender` cannot be the zero address.\n */\n function approve(address spender, uint256 value) public virtual returns (bool) {\n address owner = _msgSender();\n _approve(owner, spender, value);\n return true;\n }\n\n /**\n * @dev See {IERC20-transferFrom}.\n *\n * Skips emitting an {Approval} event indicating an allowance update. This is not\n * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n *\n * NOTE: Does not update the allowance if the current allowance\n * is the maximum `uint256`.\n *\n * Requirements:\n *\n * - `from` and `to` cannot be the zero address.\n * - `from` must have a balance of at least `value`.\n * - the caller must have allowance for ``from``'s tokens of at least\n * `value`.\n */\n function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n address spender = _msgSender();\n _spendAllowance(from, spender, value);\n _transfer(from, to, value);\n return true;\n }\n\n /**\n * @dev Moves a `value` amount of tokens from `from` to `to`.\n *\n * This internal function is equivalent to {transfer}, and can be used to\n * e.g. implement automatic token fees, slashing mechanisms, etc.\n *\n * Emits a {Transfer} event.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead.\n */\n function _transfer(address from, address to, uint256 value) internal {\n if (from == address(0)) {\n revert ERC20InvalidSender(address(0));\n }\n if (to == address(0)) {\n revert ERC20InvalidReceiver(address(0));\n }\n _update(from, to, value);\n }\n\n /**\n * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n * this function.\n *\n * Emits a {Transfer} event.\n */\n function _update(address from, address to, uint256 value) internal virtual {\n if (from == address(0)) {\n // Overflow check required: The rest of the code assumes that totalSupply never overflows\n _totalSupply += value;\n } else {\n uint256 fromBalance = _balances[from];\n if (fromBalance < value) {\n revert ERC20InsufficientBalance(from, fromBalance, value);\n }\n unchecked {\n // Overflow not possible: value <= fromBalance <= totalSupply.\n _balances[from] = fromBalance - value;\n }\n }\n\n if (to == address(0)) {\n unchecked {\n // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n _totalSupply -= value;\n }\n } else {\n unchecked {\n // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n _balances[to] += value;\n }\n }\n\n emit Transfer(from, to, value);\n }\n\n /**\n * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n * Relies on the `_update` mechanism\n *\n * Emits a {Transfer} event with `from` set to the zero address.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead.\n */\n function _mint(address account, uint256 value) internal {\n if (account == address(0)) {\n revert ERC20InvalidReceiver(address(0));\n }\n _update(address(0), account, value);\n }\n\n /**\n * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n * Relies on the `_update` mechanism.\n *\n * Emits a {Transfer} event with `to` set to the zero address.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead\n */\n function _burn(address account, uint256 value) internal {\n if (account == address(0)) {\n revert ERC20InvalidSender(address(0));\n }\n _update(account, address(0), value);\n }\n\n /**\n * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n *\n * This internal function is equivalent to `approve`, and can be used to\n * e.g. set automatic allowances for certain subsystems, etc.\n *\n * Emits an {Approval} event.\n *\n * Requirements:\n *\n * - `owner` cannot be the zero address.\n * - `spender` cannot be the zero address.\n *\n * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n */\n function _approve(address owner, address spender, uint256 value) internal {\n _approve(owner, spender, value, true);\n }\n\n /**\n * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n *\n * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n * `Approval` event during `transferFrom` operations.\n *\n * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n * true using the following override:\n *\n * ```solidity\n * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n * super._approve(owner, spender, value, true);\n * }\n * ```\n *\n * Requirements are the same as {_approve}.\n */\n function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n if (owner == address(0)) {\n revert ERC20InvalidApprover(address(0));\n }\n if (spender == address(0)) {\n revert ERC20InvalidSpender(address(0));\n }\n _allowances[owner][spender] = value;\n if (emitEvent) {\n emit Approval(owner, spender, value);\n }\n }\n\n /**\n * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n *\n * Does not update the allowance value in case of infinite allowance.\n * Revert if not enough allowance is available.\n *\n * Does not emit an {Approval} event.\n */\n function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n uint256 currentAllowance = allowance(owner, spender);\n if (currentAllowance != type(uint256).max) {\n if (currentAllowance < value) {\n revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n }\n unchecked {\n _approve(owner, spender, currentAllowance - value, false);\n }\n }\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n /**\n * @dev An operation with an ERC-20 token failed.\n */\n error SafeERC20FailedOperation(address token);\n\n /**\n * @dev Indicates a failed `decreaseAllowance` request.\n */\n error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n /**\n * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n * non-reverting calls are assumed to be successful.\n */\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\n _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n }\n\n /**\n * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n */\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n }\n\n /**\n * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n * non-reverting calls are assumed to be successful.\n *\n * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n */\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n uint256 oldAllowance = token.allowance(address(this), spender);\n forceApprove(token, spender, oldAllowance + value);\n }\n\n /**\n * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n * value, non-reverting calls are assumed to be successful.\n *\n * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n */\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n unchecked {\n uint256 currentAllowance = token.allowance(address(this), spender);\n if (currentAllowance < requestedDecrease) {\n revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n }\n forceApprove(token, spender, currentAllowance - requestedDecrease);\n }\n }\n\n /**\n * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n * to be set to zero before setting it to a non-zero value, such as USDT.\n *\n * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n * set here.\n */\n function forceApprove(IERC20 token, address spender, uint256 value) internal {\n bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n if (!_callOptionalReturnBool(token, approvalCall)) {\n _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n _callOptionalReturn(token, approvalCall);\n }\n }\n\n /**\n * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n * targeting contracts.\n *\n * Reverts if the returned value is other than `true`.\n */\n function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n if (to.code.length == 0) {\n safeTransfer(token, to, value);\n } else if (!token.transferAndCall(to, value, data)) {\n revert SafeERC20FailedOperation(address(token));\n }\n }\n\n /**\n * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n * targeting contracts.\n *\n * Reverts if the returned value is other than `true`.\n */\n function transferFromAndCallRelaxed(\n IERC1363 token,\n address from,\n address to,\n uint256 value,\n bytes memory data\n ) internal {\n if (to.code.length == 0) {\n safeTransferFrom(token, from, to, value);\n } else if (!token.transferFromAndCall(from, to, value, data)) {\n revert SafeERC20FailedOperation(address(token));\n }\n }\n\n /**\n * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n * targeting contracts.\n *\n * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n * once without retrying, and relies on the returned value to be true.\n *\n * Reverts if the returned value is other than `true`.\n */\n function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n if (to.code.length == 0) {\n forceApprove(token, to, value);\n } else if (!token.approveAndCall(to, value, data)) {\n revert SafeERC20FailedOperation(address(token));\n }\n }\n\n /**\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n * on the return value: the return value is optional (but if data is returned, it must not be false).\n * @param token The token targeted by the call.\n * @param data The call data (encoded using abi.encode or one of its variants).\n *\n * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n */\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\n uint256 returnSize;\n uint256 returnValue;\n assembly (\"memory-safe\") {\n let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n // bubble errors\n if iszero(success) {\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize())\n revert(ptr, returndatasize())\n }\n returnSize := returndatasize()\n returnValue := mload(0)\n }\n\n if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n revert SafeERC20FailedOperation(address(token));\n }\n }\n\n /**\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n * on the return value: the return value is optional (but if data is returned, it must not be false).\n * @param token The token targeted by the call.\n * @param data The call data (encoded using abi.encode or one of its variants).\n *\n * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n */\n function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n bool success;\n uint256 returnSize;\n uint256 returnValue;\n assembly (\"memory-safe\") {\n success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n returnSize := returndatasize()\n returnValue := mload(0)\n }\n return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n /**\n * @dev Returns the name of the token.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the symbol of the token.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the decimals places of the token.\n */\n function decimals() external view returns (uint8);\n}\n"},"node_modules/solady/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)\n///\n/// @dev Note:\n/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.\nlibrary SafeTransferLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ETH transfer has failed.\n error ETHTransferFailed();\n\n /// @dev The ERC20 `transferFrom` has failed.\n error TransferFromFailed();\n\n /// @dev The ERC20 `transfer` has failed.\n error TransferFailed();\n\n /// @dev The ERC20 `approve` has failed.\n error ApproveFailed();\n\n /// @dev The Permit2 operation has failed.\n error Permit2Failed();\n\n /// @dev The Permit2 amount must be less than `2**160 - 1`.\n error Permit2AmountOverflow();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.\n uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;\n\n /// @dev Suggested gas stipend for contract receiving ETH to perform a few\n /// storage reads and writes, but low enough to prevent griefing.\n uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;\n\n /// @dev The unique EIP-712 domain domain separator for the DAI token contract.\n bytes32 internal constant DAI_DOMAIN_SEPARATOR =\n 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;\n\n /// @dev The address for the WETH9 contract on Ethereum mainnet.\n address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\n\n /// @dev The canonical Permit2 address.\n /// [Github](https://github.com/Uniswap/permit2)\n /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)\n address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ETH OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.\n //\n // The regular variants:\n // - Forwards all remaining gas to the target.\n // - Reverts if the target reverts.\n // - Reverts if the current contract has insufficient balance.\n //\n // The force variants:\n // - Forwards with an optional gas stipend\n // (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).\n // - If the target reverts, or if the gas stipend is exhausted,\n // creates a temporary contract to force send the ETH via `SELFDESTRUCT`.\n // Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.\n // - Reverts if the current contract has insufficient balance.\n //\n // The try variants:\n // - Forwards with a mandatory gas stipend.\n // - Instead of reverting, returns whether the transfer succeeded.\n\n /// @dev Sends `amount` (in wei) ETH to `to`.\n function safeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`.\n function safeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // Transfer all the ETH and check if it succeeded or not.\n if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferETH(address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n if lt(selfbalance(), amount) {\n mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.\n revert(0x1c, 0x04)\n }\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.\n function forceSafeTransferAllETH(address to) internal {\n /// @solidity memory-safe-assembly\n assembly {\n // forgefmt: disable-next-item\n if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {\n mstore(0x00, to) // Store the address in scratch space.\n mstore8(0x0b, 0x73) // Opcode `PUSH20`.\n mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.\n if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.\n }\n }\n }\n\n /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.\n function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.\n function trySafeTransferAllETH(address to, uint256 gasStipend)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC20 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for\n /// the current contract to manage.\n function safeTransferFrom(address token, address from, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function trySafeTransferFrom(address token, address from, address to, uint256 amount)\n internal\n returns (bool success)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x60, amount) // Store the `amount` argument.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.\n success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n success := lt(or(iszero(extcodesize(token)), returndatasize()), success)\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from `from` to `to`.\n /// Reverts upon failure.\n ///\n /// The `from` account must have their entire balance approved for the current contract to manage.\n function safeTransferAllFrom(address token, address from, address to)\n internal\n returns (uint256 amount)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x40, to) // Store the `to` argument.\n mstore(0x2c, shl(96, from)) // Store the `from` argument.\n mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)\n )\n ) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.\n amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x7939f424) // `TransferFromFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x60, 0) // Restore the zero slot to zero.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransfer(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sends all of ERC20 `token` from the current contract to `to`.\n /// Reverts upon failure.\n function safeTransferAll(address token, address to) internal returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.\n mstore(0x20, address()) // Store the address of the current contract.\n // Read the balance, reverting upon failure.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)\n )\n ) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n mstore(0x14, to) // Store the `to` argument.\n amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.\n mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.\n // Perform the transfer, reverting upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x90b8ec18) // `TransferFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// Reverts upon failure.\n function safeApprove(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.\n /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,\n /// then retries the approval again (some tokens, e.g. USDT, requires this).\n /// Reverts upon failure.\n function safeApproveWithRetry(address token, address to, uint256 amount) internal {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, to) // Store the `to` argument.\n mstore(0x34, amount) // Store the `amount` argument.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n // Perform the approval, retrying upon failure.\n let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x34, 0) // Store 0 for the `amount`.\n mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.\n pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.\n mstore(0x34, amount) // Store back the original `amount`.\n // Retry the approval, reverting upon failure.\n success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)\n if iszero(and(eq(mload(0x00), 1), success)) {\n // Check the `extcodesize` again just in case the token selfdestructs lol.\n if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {\n mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n }\n mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.\n }\n }\n\n /// @dev Returns the amount of ERC20 `token` owned by `account`.\n /// Returns zero if the `token` does not exist.\n function balanceOf(address token, address account) internal view returns (uint256 amount) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x14, account) // Store the `account` argument.\n mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.\n amount :=\n mul( // The arguments of `mul` are evaluated from right to left.\n mload(0x20),\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x1f), // At least 32 bytes returned.\n staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)\n )\n )\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.\n /// If the initial attempt fails, try to use Permit2 to transfer the token.\n /// Reverts upon failure.\n ///\n /// The `from` account must have at least `amount` approved for the current contract to manage.\n function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {\n if (!trySafeTransferFrom(token, from, to, amount)) {\n permit2TransferFrom(token, from, to, amount);\n }\n }\n\n /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.\n /// Reverts upon failure.\n function permit2TransferFrom(address token, address from, address to, uint256 amount)\n internal\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(add(m, 0x74), shr(96, shl(96, token)))\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x34), to)\n mstore(add(m, 0x20), shl(96, from))\n // `transferFrom(address,address,uint160,address)`.\n mstore(m, 0x36c78516000000000000000000000000)\n let p := PERMIT2\n let exists := eq(chainid(), 1)\n if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }\n if iszero(\n and(\n call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),\n lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.\n )\n ) {\n mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)\n }\n }\n }\n\n /// @dev Permit a user to spend a given amount of\n /// another user's tokens via native EIP-2612 permit if possible, falling\n /// back to Permit2 if native permit fails or is not implemented on the token.\n function permit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n bool success;\n /// @solidity memory-safe-assembly\n assembly {\n for {} shl(96, xor(token, WETH9)) {} {\n mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.\n // Gas stipend to limit gas burn for tokens that don't refund gas when\n // an non-existing function is called. 5K should be enough for a SLOAD.\n staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)\n )\n ) { break }\n // After here, we can be sure that token is a contract.\n let m := mload(0x40)\n mstore(add(m, 0x34), spender)\n mstore(add(m, 0x20), shl(96, owner))\n mstore(add(m, 0x74), deadline)\n if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {\n mstore(0x14, owner)\n mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.\n mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))\n mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.\n // `nonces` is already at `add(m, 0x54)`.\n // `1` is already stored at `add(m, 0x94)`.\n mstore(add(m, 0xb4), and(0xff, v))\n mstore(add(m, 0xd4), r)\n mstore(add(m, 0xf4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)\n break\n }\n mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.\n mstore(add(m, 0x54), amount)\n mstore(add(m, 0x94), and(0xff, v))\n mstore(add(m, 0xb4), r)\n mstore(add(m, 0xd4), s)\n success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)\n break\n }\n }\n if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);\n }\n\n /// @dev Simple permit on the Permit2 contract.\n function simplePermit2(\n address token,\n address owner,\n address spender,\n uint256 amount,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(m, 0x927da105) // `allowance(address,address,address)`.\n {\n let addressMask := shr(96, not(0))\n mstore(add(m, 0x20), and(addressMask, owner))\n mstore(add(m, 0x40), and(addressMask, token))\n mstore(add(m, 0x60), and(addressMask, spender))\n mstore(add(m, 0xc0), and(addressMask, spender))\n }\n let p := mul(PERMIT2, iszero(shr(160, amount)))\n if iszero(\n and( // The arguments of `and` are evaluated from right to left.\n gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.\n staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)\n )\n ) {\n mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.\n revert(add(0x18, shl(2, iszero(p))), 0x04)\n }\n mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).\n // `owner` is already `add(m, 0x20)`.\n // `token` is already at `add(m, 0x40)`.\n mstore(add(m, 0x60), amount)\n mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.\n // `nonce` is already at `add(m, 0xa0)`.\n // `spender` is already at `add(m, 0xc0)`.\n mstore(add(m, 0xe0), deadline)\n mstore(add(m, 0x100), 0x100) // `signature` offset.\n mstore(add(m, 0x120), 0x41) // `signature` length.\n mstore(add(m, 0x140), r)\n mstore(add(m, 0x160), s)\n mstore(add(m, 0x180), shl(248, v))\n if iszero( // Revert if token does not have code, or if the call fails.\n mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {\n mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.\n revert(0x1c, 0x04)\n }\n }\n }\n}\n"},"contracts/base/BasePaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\n/* solhint-disable reason-string */\n\nimport { SoladyOwnable } from \"../utils/SoladyOwnable.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport { IPaymaster } from \"account-abstraction/interfaces/IPaymaster.sol\";\nimport { IEntryPoint } from \"account-abstraction/interfaces/IEntryPoint.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n\n/**\n * Helper class for creating a paymaster.\n * provides helper methods for staking.\n * Validates that the postOp is called only by the entryPoint.\n */\n\nabstract contract BasePaymaster is IPaymaster, SoladyOwnable {\n IEntryPoint public immutable entryPoint;\n\n uint256 internal constant _PAYMASTER_VALIDATION_GAS_OFFSET = UserOperationLib.PAYMASTER_VALIDATION_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_POSTOP_GAS_OFFSET = UserOperationLib.PAYMASTER_POSTOP_GAS_OFFSET;\n uint256 internal constant _PAYMASTER_DATA_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n constructor(address owner, IEntryPoint entryPointArg) SoladyOwnable(owner) {\n _validateEntryPointInterface(entryPointArg);\n entryPoint = entryPointArg;\n }\n\n /**\n * Add stake for this paymaster.\n * This method can also carry eth value to add to the current stake.\n * @param unstakeDelaySec - The unstake delay for this paymaster. Can only be increased.\n */\n function addStake(uint32 unstakeDelaySec) external payable onlyOwner {\n entryPoint.addStake{ value: msg.value }(unstakeDelaySec);\n }\n\n /**\n * Unlock the stake, in order to withdraw it.\n * The paymaster can't serve requests once unlocked, until it calls addStake again\n */\n function unlockStake() external onlyOwner {\n entryPoint.unlockStake();\n }\n\n /**\n * Withdraw the entire paymaster's stake.\n * stake must be unlocked first (and then wait for the unstakeDelay to be over)\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external onlyOwner {\n entryPoint.withdrawStake(withdrawAddress);\n }\n\n /// @inheritdoc IPaymaster\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n external\n override\n {\n _requireFromEntryPoint();\n _postOp(mode, context, actualGasCost, actualUserOpFeePerGas);\n }\n\n /// @inheritdoc IPaymaster\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n external\n override\n returns (bytes memory context, uint256 validationData)\n {\n _requireFromEntryPoint();\n return _validatePaymasterUserOp(userOp, userOpHash, maxCost);\n }\n\n /**\n * Add a deposit for this paymaster, used for paying for transaction fees.\n */\n function deposit() external payable virtual {\n entryPoint.depositTo{ value: msg.value }(address(this));\n }\n\n /**\n * Withdraw value from the deposit.\n * @param withdrawAddress - Target to send to.\n * @param amount - Amount to withdraw.\n */\n function withdrawTo(address payable withdrawAddress, uint256 amount) external virtual onlyOwner {\n entryPoint.withdrawTo(withdrawAddress, amount);\n }\n\n /**\n * Return current paymaster's deposit on the entryPoint.\n */\n function getDeposit() public view returns (uint256) {\n return entryPoint.balanceOf(address(this));\n }\n\n //sanity check: make sure this EntryPoint was compiled against the same\n // IEntryPoint of this paymaster\n function _validateEntryPointInterface(IEntryPoint entryPointArg) internal virtual {\n require(\n IERC165(address(entryPointArg)).supportsInterface(type(IEntryPoint).interfaceId),\n \"IEntryPoint interface mismatch\"\n );\n }\n\n /**\n * Validate a user operation.\n * @param userOp - The user operation.\n * @param userOpHash - The hash of the user operation.\n * @param maxCost - The maximum cost of the user operation.\n */\n function _validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n )\n internal\n virtual\n returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * (verified to be called only through the entryPoint)\n * @dev If subclass returns a non-empty context from validatePaymasterUserOp,\n * it must also implement this method.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function _postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n )\n internal\n virtual\n {\n (mode, context, actualGasCost, actualUserOpFeePerGas); // unused params\n // subclass must override this method if validatePaymasterUserOp returns a context\n revert(\"must override\");\n }\n\n /**\n * Validate the call is made from a valid entrypoint\n */\n function _requireFromEntryPoint() internal virtual {\n require(msg.sender == address(entryPoint), \"Sender not EntryPoint\");\n }\n\n /**\n * Check if address is a contract\n */\n function _isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly (\"memory-safe\") {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n}\n"},"contracts/common/BiconomyTokenPaymasterErrors.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity ^0.8.27;\n\ncontract BiconomyTokenPaymasterErrors {\n /**\n * @notice Throws when the verifiying signer address provided is address(0)\n */\n error VerifyingSignerCanNotBeZero();\n /**\n * @notice Throws when the fee collector address provided is a deployed contract\n */\n error VerifyingSignerCanNotBeContract();\n\n /**\n * @notice Throws when the fee collector address provided is address(0)\n */\n error FeeCollectorCanNotBeZero();\n\n /**\n * @notice Throws when trying unaccountedGas is too high\n */\n error UnaccountedGasTooHigh();\n\n /**\n * @notice Throws when trying to withdraw to address(0)\n */\n error CanNotWithdrawToZeroAddress();\n\n /**\n * @notice Throws when trying to withdraw multiple tokens, but each token doesn't have a corresponding amount\n */\n error TokensAndAmountsLengthMismatch();\n\n /**\n * @notice Throws when invalid signature length in paymasterAndData\n */\n error InvalidPriceMarkup();\n\n /**\n * @notice Throws when each token doesnt have a corresponding oracle\n */\n error TokensAndInfoLengthMismatch();\n\n /**\n * @notice Throws when invalid PaymasterMode specified in paymasterAndData\n */\n error InvalidPaymasterMode();\n\n /**\n * @notice Throws when oracle returns invalid price\n */\n error OraclePriceNotPositive();\n\n /**\n * @notice Throws when oracle price hasn't been updated for a duration of time the owner is comfortable with\n */\n error OraclePriceExpired();\n\n /**\n * @notice Throws when token address to pay with is invalid\n */\n error InvalidTokenAddress();\n\n /**\n * @notice Throws when oracle decimals aren't equal to 8\n */\n error InvalidOracleDecimals();\n\n /**\n * @notice Throws when price expiry duration is in the past\n */\n error InvalidPriceExpiryDuration();\n\n /**\n * @notice Throws when external signer's signature has invalid length\n */\n error InvalidSignatureLength();\n\n /**\n * @notice Throws when ETH withdrawal fails\n */\n error WithdrawalFailed();\n\n\n /**\n * @notice Throws when PM was not able to charge user\n */\n error FailedToChargeTokens(address account, address token, uint256 amount, bytes32 userOpHash);\n}\n"},"contracts/interfaces/IBiconomyTokenPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport { IOracle } from \"./oracles/IOracle.sol\";\n\ninterface IBiconomyTokenPaymaster {\n // Modes that paymaster can be used in\n enum PaymasterMode {\n EXTERNAL, // Price provided by external service. Authenticated using signature from verifyingSigner\n INDEPENDENT // Price queried from oracle. No signature needed from external service.\n }\n\n // Struct for storing information about the token\n struct TokenInfo {\n IOracle oracle;\n uint32 priceMarkup;\n uint256 priceExpiryDuration;\n }\n\n event UpdatedUnaccountedGas(uint256 indexed oldValue, uint256 indexed newValue);\n event UpdatedFixedPriceMarkup(uint32 indexed oldValue, uint32 indexed newValue);\n event UpdatedVerifyingSigner(address indexed oldSigner, address indexed newSigner, address indexed actor);\n event UpdatedFeeCollector(address indexed oldFeeCollector, address indexed newFeeCollector, address indexed actor);\n event UpdatedPriceExpiryDuration(uint256 indexed oldValue, uint256 indexed newValue);\n \n event PaidGasInTokens(\n address indexed userOpSender,\n address indexed token,\n uint256 gasCostBeforePostOpAndPenalty,\n uint256 tokenCharge,\n uint32 priceMarkup,\n uint256 tokenPrice,\n bytes32 userOpHash\n );\n \n event EthWithdrawn(address indexed recipient, uint256 indexed amount);\n\n event Received(address indexed sender, uint256 value);\n event TokensWithdrawn(address indexed token, address indexed to, uint256 indexed amount, address actor);\n event AddedToTokenDirectory(address indexed tokenAddress, IOracle indexed oracle, uint8 decimals);\n event RemovedFromTokenDirectory(address indexed tokenAddress);\n event UpdatedNativeAssetOracle(IOracle indexed oldOracle, IOracle indexed newOracle);\n event TokensSwappedAndRefilledEntryPoint(address indexed tokenAddress, uint256 indexed tokenAmount, uint256 indexed amountOut, address actor);\n event SwappableTokensAdded(address[] indexed tokenAddresses);\n\n function setSigner(address newVerifyingSigner) external payable;\n\n function setUnaccountedGas(uint256 value) external payable;\n\n function setPriceMarkupForToken(address tokenAddress, uint32 newPriceMarkup) external payable;\n\n function setPriceExpiryDurationForToken(address tokenAddress, uint256 newPriceExpiryDuration) external payable;\n\n function setNativeAssetToUsdOracle(IOracle oracle) external payable;\n\n function addToTokenDirectory(address tokenAddress, TokenInfo memory tokenInfo) external payable;\n}\n"},"contracts/interfaces/oracles/IOracle.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\ninterface IOracle {\n function decimals() external view returns (uint8);\n\n function latestRoundData()\n external\n view\n returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);\n\n function latestAnswer() external view returns (int256);\n}\n"},"contracts/libraries/TokenPaymasterParserLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport { IBiconomyTokenPaymaster } from \"../interfaces/IBiconomyTokenPaymaster.sol\";\nimport \"account-abstraction/core/UserOperationLib.sol\";\n\n// A helper library to parse paymaster and data\nlibrary TokenPaymasterParserLib {\n // Start offset of mode in PND\n uint256 private constant PAYMASTER_MODE_OFFSET = UserOperationLib.PAYMASTER_DATA_OFFSET;\n\n function parsePaymasterAndData(\n bytes calldata paymasterAndData\n )\n internal\n pure\n returns (IBiconomyTokenPaymaster.PaymasterMode mode, bytes calldata modeSpecificData)\n {\n unchecked {\n mode = IBiconomyTokenPaymaster.PaymasterMode(uint8(bytes1(paymasterAndData[PAYMASTER_MODE_OFFSET])));\n modeSpecificData = paymasterAndData[PAYMASTER_MODE_OFFSET + 1:];\n }\n }\n\n function parseExternalModeSpecificData(\n bytes calldata modeSpecificData\n )\n internal\n pure\n returns (\n uint48 validUntil,\n uint48 validAfter,\n address tokenAddress,\n uint256 tokenPrice, \n uint32 appliedPriceMarkup,\n bytes calldata signature\n )\n {\n validUntil = uint48(bytes6(modeSpecificData[:6]));\n validAfter = uint48(bytes6(modeSpecificData[6:12]));\n tokenAddress = address(bytes20(modeSpecificData[12:32]));\n tokenPrice = uint256(bytes32(modeSpecificData[32:64]));\n appliedPriceMarkup = uint32(bytes4(modeSpecificData[64:68]));\n signature = modeSpecificData[68:];\n }\n\n function parseIndependentModeSpecificData(\n bytes calldata modeSpecificData\n )\n internal\n pure\n returns (address tokenAddress)\n {\n tokenAddress = address(bytes20(modeSpecificData[:20]));\n }\n}\n"},"node_modules/solady/src/utils/SignatureCheckerLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Signature verification helper that supports both ECDSA signatures from EOAs\n/// and ERC1271 signatures from smart contract wallets like Argent and Gnosis safe.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SignatureCheckerLib.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/SignatureChecker.sol)\n///\n/// @dev Note:\n/// - The signature checking functions use the ecrecover precompile (0x1).\n/// - The `bytes memory signature` variants use the identity precompile (0x4)\n/// to copy memory internally.\n/// - Unlike ECDSA signatures, contract signatures are revocable.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT use signatures as unique identifiers:\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// This implementation does NOT check if a signature is non-malleable.\nlibrary SignatureCheckerLib {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* SIGNATURE CHECKING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n for {} 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // `r`, `s`.\n }\n default { break }\n mstore(0x00, hash)\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), mload(0x60)) // `s`.\n mstore8(add(m, 0xa4), mload(0x20)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `signer` and `hash`.\n /// First, it will try to validate with `ecrecover`, and if the validation fails,\n /// it will try to validate with ERC1271 on `signer`.\n function isValidSignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n if (signer == address(0)) return isValid;\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff)) // `v`.\n mstore(0x40, r) // `r`.\n mstore(0x60, s) // `s`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n\n if iszero(isValid) {\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC1271 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC1271 operations do NOT have an ECDSA fallback.\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n // Copy the `signature` over.\n let n := add(0x20, mload(signature))\n pop(staticcall(gas(), 4, signature, n, add(m, 0x44), n))\n isValid := staticcall(gas(), signer, m, add(returndatasize(), 0x44), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash` for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNowCalldata(\n address signer,\n bytes32 hash,\n bytes calldata signature\n ) internal view returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), signature.length)\n // Copy the `signature` over.\n calldatacopy(add(m, 0x64), signature.offset, signature.length)\n isValid := staticcall(gas(), signer, m, add(signature.length, 0x64), d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`r`, `vs`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), shr(1, shl(1, vs))) // `s`.\n mstore8(add(m, 0xa4), add(shr(255, vs), 27)) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /// @dev Returns whether the signature (`v`, `r`, `s`) is valid for `hash`\n /// for an ERC1271 `signer` contract.\n function isValidERC1271SignatureNow(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40)\n let f := shl(224, 0x1626ba7e)\n mstore(m, f) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m, 0x04), hash)\n let d := add(m, 0x24)\n mstore(d, 0x40) // The offset of the `signature` in the calldata.\n mstore(add(m, 0x44), 65) // Length of the signature.\n mstore(add(m, 0x64), r) // `r`.\n mstore(add(m, 0x84), s) // `s`.\n mstore8(add(m, 0xa4), v) // `v`.\n isValid := staticcall(gas(), signer, m, 0xa5, d, 0x20)\n isValid := and(eq(mload(d), f), isValid)\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* ERC6492 OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // Note: These ERC6492 operations now include an ECDSA fallback at the very end.\n // The calldata variants are excluded for brevity.\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt to\n /// deploy / prepare the `signer` smart account before doing a regular ERC1271 check.\n /// Note: This function is NOT reentrancy safe.\n function isValidERC6492SignatureNowAllowSideEffects(\n address signer,\n bytes32 hash,\n bytes memory signature\n ) internal returns (bool isValid) {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n let o := add(signature, 0x20) // Signature bytes.\n let d := add(o, mload(add(o, 0x20))) // Factory calldata.\n if noCode {\n if iszero(call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00)) {\n break\n }\n }\n let s := add(o, mload(add(o, 0x40))) // Inner signature.\n isValid := callIsValidSignature(signer, hash, s)\n if iszero(isValid) {\n if call(gas(), mload(o), 0, add(d, 0x20), mload(d), codesize(), 0x00) {\n noCode := iszero(extcodesize(signer))\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, s) }\n }\n }\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Returns whether `signature` is valid for `hash`.\n /// If the signature is postfixed with the ERC6492 magic number, it will attempt\n /// to use a reverting verifier to deploy / prepare the `signer` smart account\n /// and do a `isValidSignature` check via the reverting verifier.\n /// Note: This function is reentrancy safe.\n /// The reverting verifier must be deployed.\n /// Otherwise, the function will return false if `signer` is not yet deployed / prepared.\n /// See: https://gist.github.com/Vectorized/846a474c855eee9e441506676800a9ad\n function isValidERC6492SignatureNow(address signer, bytes32 hash, bytes memory signature)\n internal\n returns (bool isValid)\n {\n /// @solidity memory-safe-assembly\n assembly {\n function callIsValidSignature(signer_, hash_, signature_) -> _isValid {\n let m_ := mload(0x40)\n let f_ := shl(224, 0x1626ba7e)\n mstore(m_, f_) // `bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))`.\n mstore(add(m_, 0x04), hash_)\n let d_ := add(m_, 0x24)\n mstore(d_, 0x40) // The offset of the `signature` in the calldata.\n let n_ := add(0x20, mload(signature_))\n pop(staticcall(gas(), 4, signature_, n_, add(m_, 0x44), n_))\n _isValid := staticcall(gas(), signer_, m_, add(returndatasize(), 0x44), d_, 0x20)\n _isValid := and(eq(mload(d_), f_), _isValid)\n }\n let noCode := iszero(extcodesize(signer))\n let n := mload(signature)\n for {} 1 {} {\n if iszero(eq(mload(add(signature, n)), mul(0x6492, div(not(isValid), 0xffff)))) {\n if iszero(noCode) { isValid := callIsValidSignature(signer, hash, signature) }\n break\n }\n if iszero(noCode) {\n let o := add(signature, 0x20) // Signature bytes.\n isValid := callIsValidSignature(signer, hash, add(o, mload(add(o, 0x40))))\n if isValid { break }\n }\n let m := mload(0x40)\n mstore(m, signer)\n mstore(add(m, 0x20), hash)\n let willBeZeroIfRevertingVerifierExists :=\n call(\n gas(), // Remaining gas.\n 0x00007bd799e4A591FeA53f8A8a3E9f931626Ba7e, // Reverting verifier.\n 0, // Send zero ETH.\n m, // Start of memory.\n add(returndatasize(), 0x40), // Length of calldata in memory.\n staticcall(gas(), 4, add(signature, 0x20), n, add(m, 0x40), n), // 1.\n 0x00 // Length of returndata to write.\n )\n isValid := gt(returndatasize(), willBeZeroIfRevertingVerifierExists)\n break\n }\n // Do `ecrecover` fallback if `noCode && !isValid`.\n for {} gt(noCode, isValid) {} {\n switch n\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n let m := mload(0x40)\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n let recovered := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n isValid := gt(returndatasize(), shl(96, xor(signer, recovered)))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"node_modules/solady/src/utils/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Gas optimized ECDSA wrapper.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)\n///\n/// @dev Note:\n/// - The recovery functions use the ecrecover precompile (0x1).\n/// - As of Solady version 0.0.68, the `recover` variants will revert upon recovery failure.\n/// This is for more safety by default.\n/// Use the `tryRecover` variants if you need to get the zero address back\n/// upon recovery failure instead.\n/// - As of Solady version 0.0.134, all `bytes signature` variants accept both\n/// regular 65-byte `(r, s, v)` and EIP-2098 `(r, vs)` short form signatures.\n/// See: https://eips.ethereum.org/EIPS/eip-2098\n/// This is for calldata efficiency on smart accounts prevalent on L2s.\n///\n/// WARNING! Do NOT directly use signatures as unique identifiers:\n/// - The recovery operations do NOT check if a signature is non-malleable.\n/// - Use a nonce in the digest to prevent replay attacks on the same contract.\n/// - Use EIP-712 for the digest to prevent replay attacks across different chains and contracts.\n/// EIP-712 also enables readable signing of typed data for better user safety.\n/// - If you need a unique hash from a signature, please use the `canonicalHash` functions.\nlibrary ECDSA {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CONSTANTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The order of the secp256k1 elliptic curve.\n uint256 internal constant N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141;\n\n /// @dev `N/2 + 1`. Used for checking the malleability of the signature.\n uint256 private constant _HALF_N_PLUS_1 =\n 0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The signature is invalid.\n error InvalidSignature();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* RECOVERY OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { continue }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function recoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n } {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { continue }\n mstore(0x00, hash)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if returndatasize() { break }\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n result := mload(staticcall(gas(), 1, 0x00, 0x80, 0x01, 0x20))\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n if iszero(returndatasize()) {\n mstore(0x00, 0x8baa579f) // `InvalidSignature()`.\n revert(0x1c, 0x04)\n }\n mstore(0x60, 0) // Restore the zero slot.\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* TRY-RECOVER OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // WARNING!\n // These functions will NOT revert upon recovery failure.\n // Instead, they will return the zero address upon recovery failure.\n // It is critical that the returned address is NEVER compared against\n // a zero address (e.g. an uninitialized address variable).\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecover(bytes32 hash, bytes memory signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch mload(signature)\n case 64 {\n let vs := mload(add(signature, 0x40))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.\n mstore(0x60, mload(add(signature, 0x40))) // `s`.\n }\n default { break }\n mstore(0x00, hash)\n mstore(0x40, mload(add(signature, 0x20))) // `r`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`, and the `signature`.\n function tryRecoverCalldata(bytes32 hash, bytes calldata signature)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n for { let m := mload(0x40) } 1 {} {\n switch signature.length\n case 64 {\n let vs := calldataload(add(signature.offset, 0x20))\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, calldataload(signature.offset)) // `r`.\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n }\n case 65 {\n mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.\n calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.\n }\n default { break }\n mstore(0x00, hash)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n break\n }\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the EIP-2098 short form signature defined by `r` and `vs`.\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, add(shr(255, vs), 27)) // `v`.\n mstore(0x40, r)\n mstore(0x60, shr(1, shl(1, vs))) // `s`.\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /// @dev Recovers the signer's address from a message digest `hash`,\n /// and the signature defined by `v`, `r`, `s`.\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n internal\n view\n returns (address result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n let m := mload(0x40) // Cache the free memory pointer.\n mstore(0x00, hash)\n mstore(0x20, and(v, 0xff))\n mstore(0x40, r)\n mstore(0x60, s)\n pop(staticcall(gas(), 1, 0x00, 0x80, 0x40, 0x20))\n mstore(0x60, 0) // Restore the zero slot.\n // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.\n result := mload(xor(0x60, returndatasize()))\n mstore(0x40, m) // Restore the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* HASHING OPERATIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an Ethereum Signed Message, created from a `hash`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n mstore(0x20, hash) // Store into scratch space for keccak256.\n mstore(0x00, \"\\x00\\x00\\x00\\x00\\x19Ethereum Signed Message:\\n32\") // 28 bytes.\n result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.\n }\n }\n\n /// @dev Returns an Ethereum Signed Message, created from `s`.\n /// This produces a hash corresponding to the one signed with the\n /// [`eth_sign`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign)\n /// JSON-RPC method as part of EIP-191.\n /// Note: Supports lengths of `s` up to 999999 bytes.\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {\n /// @solidity memory-safe-assembly\n assembly {\n let sLength := mload(s)\n let o := 0x20\n mstore(o, \"\\x19Ethereum Signed Message:\\n\") // 26 bytes, zero-right-padded.\n mstore(0x00, 0x00)\n // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.\n for { let temp := sLength } 1 {} {\n o := sub(o, 1)\n mstore8(o, add(48, mod(temp, 10)))\n temp := div(temp, 10)\n if iszero(temp) { break }\n }\n let n := sub(0x3a, o) // Header length: `26 + 32 - o`.\n // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.\n returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))\n mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.\n result := keccak256(add(s, sub(0x20, n)), add(n, sLength))\n mstore(s, sLength) // Restore the length.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CANONICAL HASH FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n // The following functions returns the hash of the signature in it's canonicalized format,\n // which is the 65-byte `abi.encodePacked(r, s, uint8(v))`, where `v` is either 27 or 28.\n // If `s` is greater than `N / 2` then it will be converted to `N - s`\n // and the `v` value will be flipped.\n // If the signature has an invalid length, or if `v` is invalid,\n // a uniquely corrupt hash will be returned.\n // These functions are useful for \"poor-mans-VRF\".\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes memory signature) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n let l := mload(signature)\n for {} 1 {} {\n mstore(0x00, mload(add(signature, 0x20))) // `r`.\n let s := mload(add(signature, 0x40))\n let v := mload(add(signature, 0x41))\n if eq(l, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(l, 64), 2)) {\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(add(signature, 0x20), l), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHashCalldata(bytes calldata signature)\n internal\n pure\n returns (bytes32 result)\n {\n // @solidity memory-safe-assembly\n assembly {\n for {} 1 {} {\n mstore(0x00, calldataload(signature.offset)) // `r`.\n let s := calldataload(add(signature.offset, 0x20))\n let v := calldataload(add(signature.offset, 0x21))\n if eq(signature.length, 64) {\n v := add(shr(255, s), 27)\n s := shr(1, shl(1, s))\n }\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n break\n }\n // If the length is neither 64 nor 65, return a uniquely corrupted hash.\n if iszero(lt(sub(signature.length, 64), 2)) {\n calldatacopy(mload(0x40), signature.offset, signature.length)\n // `bytes4(keccak256(\"InvalidSignatureLength\"))`.\n result := xor(keccak256(mload(0x40), signature.length), 0xd62f1ab2)\n }\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(bytes32 r, bytes32 vs) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n let v := add(shr(255, vs), 27)\n let s := shr(1, shl(1, vs))\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /// @dev Returns the canonical hash of `signature`.\n function canonicalHash(uint8 v, bytes32 r, bytes32 s) internal pure returns (bytes32 result) {\n // @solidity memory-safe-assembly\n assembly {\n mstore(0x00, r) // `r`.\n if iszero(lt(s, _HALF_N_PLUS_1)) {\n v := xor(v, 7)\n s := sub(N, s)\n }\n mstore(0x21, v)\n mstore(0x20, s)\n result := keccak256(0x00, 0x41)\n mstore(0x21, 0) // Restore the overwritten part of the free memory pointer.\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EMPTY CALLDATA HELPERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns an empty calldata bytes.\n function emptySignature() internal pure returns (bytes calldata signature) {\n /// @solidity memory-safe-assembly\n assembly {\n signature.length := 0\n }\n }\n}\n"},"contracts/token/swaps/Uniswapper.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport \"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\";\nimport { IV3SwapRouter } from \"@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol\";\n\n/**\n * @title Uniswapper\n * @author ShivaanshK\n * @notice An abstract contract to assist the paymaster in swapping tokens to WETH and unwrapping WETH\n * @notice Based on Infinitism's Uniswap Helper contract\n */\nabstract contract Uniswapper {\n\n event SwappingReverted(address tokenIn, uint256 amountIn, bytes reason);\n error UnwrappingReverted(uint256 amount);\n\n /// @notice The ERC-20 token that wraps the native asset for current chain\n address public immutable wrappedNative;\n\n // Token address -> Fee tier of the pool to swap through\n mapping(address => uint24) public tokenToPools;\n\n /// @notice The Uniswap V3 SwapRouter contract\n IV3SwapRouter public uniswapRouter;\n\n // Errors\n error UniswapReverted(address tokenIn, address tokenOut, uint256 amountIn);\n error TokensAndPoolsLengthMismatch();\n error TokenNotSupported();\n\n constructor(\n IV3SwapRouter uniswapRouterArg,\n address wrappedNativeArg,\n address[] memory tokens,\n uint24[] memory tokenPoolFeeTiers\n ) {\n if (tokens.length != tokenPoolFeeTiers.length) {\n revert TokensAndPoolsLengthMismatch();\n }\n\n // Set router and native wrapped asset addresses\n uniswapRouter = uniswapRouterArg;\n wrappedNative = wrappedNativeArg;\n\n for (uint256 i = 0; i < tokens.length; ++i) {\n IERC20(tokens[i]).approve(address(uniswapRouter), type(uint256).max); // one time max approval\n tokenToPools[tokens[i]] = tokenPoolFeeTiers[i]; // set mapping of token to uniswap pool to use for swap\n }\n }\n\n function _setTokenPool(address token, uint24 poolFeeTier) internal {\n SafeERC20.forceApprove(IERC20(token), address(uniswapRouter), type(uint256).max); // one time max approval\n tokenToPools[token] = poolFeeTier; // set mapping of token to uniswap pool to use for swap\n }\n\n function _swapTokenToWeth(address tokenIn, uint256 amountIn, uint256 minAmountOut) internal returns (uint256 amountOut) {\n require(tokenToPools[tokenIn] != 0, TokenNotSupported());\n IV3SwapRouter.ExactInputSingleParams memory params = IV3SwapRouter.ExactInputSingleParams({\n tokenIn: tokenIn,\n tokenOut: wrappedNative,\n fee: tokenToPools[tokenIn],\n recipient: address(this),\n //deadline: block.timestamp, // legacy interface arg. Intentiaonally omitted.\n amountIn: amountIn,\n amountOutMinimum: minAmountOut,\n sqrtPriceLimitX96: 0\n });\n\n try uniswapRouter.exactInputSingle(params) returns (uint256 _amountOut) {\n amountOut = _amountOut;\n } catch (bytes memory reason) {\n emit SwappingReverted(tokenIn, amountIn, reason);\n amountOut = 0;\n }\n }\n\n function _unwrapWeth(uint256 amount) internal {\n if(amount == 0) return;\n (bool success, ) = address(wrappedNative).call(abi.encodeWithSignature(\"withdraw(uint256)\", amount));\n if (!success) revert UnwrappingReverted(amount);\n }\n\n function _setUniswapRouter(IV3SwapRouter uniswapRouterArg) internal {\n uniswapRouter = uniswapRouterArg;\n }\n}\n"},"node_modules/account-abstraction/contracts/core/Helpers.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.23;\n\n/* solhint-disable no-inline-assembly */\n\n\n /*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * must return this value in case of signature failure, instead of revert.\n */\nuint256 constant SIG_VALIDATION_FAILED = 1;\n\n\n/*\n * For simulation purposes, validateUserOp (and validatePaymasterUserOp)\n * return this value on success.\n */\nuint256 constant SIG_VALIDATION_SUCCESS = 0;\n\n\n/**\n * Returned data from validateUserOp.\n * validateUserOp returns a uint256, which is created by `_packedValidationData` and\n * parsed by `_parseValidationData`.\n * @param aggregator - address(0) - The account validated the signature by itself.\n * address(1) - The account failed to validate the signature.\n * otherwise - This is an address of a signature aggregator that must\n * be used to validate the signature.\n * @param validAfter - This UserOp is valid only after this timestamp.\n * @param validaUntil - This UserOp is valid only up to this timestamp.\n */\nstruct ValidationData {\n address aggregator;\n uint48 validAfter;\n uint48 validUntil;\n}\n\n/**\n * Extract sigFailed, validAfter, validUntil.\n * Also convert zero validUntil to type(uint48).max.\n * @param validationData - The packed validation data.\n */\nfunction _parseValidationData(\n uint256 validationData\n) pure returns (ValidationData memory data) {\n address aggregator = address(uint160(validationData));\n uint48 validUntil = uint48(validationData >> 160);\n if (validUntil == 0) {\n validUntil = type(uint48).max;\n }\n uint48 validAfter = uint48(validationData >> (48 + 160));\n return ValidationData(aggregator, validAfter, validUntil);\n}\n\n/**\n * Helper to pack the return value for validateUserOp.\n * @param data - The ValidationData to pack.\n */\nfunction _packValidationData(\n ValidationData memory data\n) pure returns (uint256) {\n return\n uint160(data.aggregator) |\n (uint256(data.validUntil) << 160) |\n (uint256(data.validAfter) << (160 + 48));\n}\n\n/**\n * Helper to pack the return value for validateUserOp, when not using an aggregator.\n * @param sigFailed - True for signature failure, false for success.\n * @param validUntil - Last timestamp this UserOperation is valid (or zero for infinite).\n * @param validAfter - First timestamp this UserOperation is valid.\n */\nfunction _packValidationData(\n bool sigFailed,\n uint48 validUntil,\n uint48 validAfter\n) pure returns (uint256) {\n return\n (sigFailed ? 1 : 0) |\n (uint256(validUntil) << 160) |\n (uint256(validAfter) << (160 + 48));\n}\n\n/**\n * keccak function over calldata.\n * @dev copy calldata into memory, do keccak and drop allocated memory. Strangely, this is more efficient than letting solidity do it.\n */\n function calldataKeccak(bytes calldata data) pure returns (bytes32 ret) {\n assembly (\"memory-safe\") {\n let mem := mload(0x40)\n let len := data.length\n calldatacopy(mem, data.offset, len)\n ret := keccak256(mem, len)\n }\n }\n\n\n/**\n * The minimum of two numbers.\n * @param a - First number.\n * @param b - Second number.\n */\n function min(uint256 a, uint256 b) pure returns (uint256) {\n return a < b ? a : b;\n }\n"},"node_modules/@openzeppelin/contracts/utils/TransientSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/TransientSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/TransientSlot.js.\n\npragma solidity ^0.8.24;\n\n/**\n * @dev Library for reading and writing value-types to specific transient storage slots.\n *\n * Transient slots are often used to store temporary values that are removed after the current transaction.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * * Example reading and writing values using transient storage:\n * ```solidity\n * contract Lock {\n * using TransientSlot for *;\n *\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _LOCK_SLOT = 0xf4678858b2b588224636b8522b729e7722d32fc491da849ed75b3fdf3c84f542;\n *\n * modifier locked() {\n * require(!_LOCK_SLOT.asBoolean().tload());\n *\n * _LOCK_SLOT.asBoolean().tstore(true);\n * _;\n * _LOCK_SLOT.asBoolean().tstore(false);\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary TransientSlot {\n /**\n * @dev UDVT that represent a slot holding a address.\n */\n type AddressSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a AddressSlot.\n */\n function asAddress(bytes32 slot) internal pure returns (AddressSlot) {\n return AddressSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bool.\n */\n type BooleanSlot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a BooleanSlot.\n */\n function asBoolean(bytes32 slot) internal pure returns (BooleanSlot) {\n return BooleanSlot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a bytes32.\n */\n type Bytes32Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Bytes32Slot.\n */\n function asBytes32(bytes32 slot) internal pure returns (Bytes32Slot) {\n return Bytes32Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a uint256.\n */\n type Uint256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Uint256Slot.\n */\n function asUint256(bytes32 slot) internal pure returns (Uint256Slot) {\n return Uint256Slot.wrap(slot);\n }\n\n /**\n * @dev UDVT that represent a slot holding a int256.\n */\n type Int256Slot is bytes32;\n\n /**\n * @dev Cast an arbitrary slot to a Int256Slot.\n */\n function asInt256(bytes32 slot) internal pure returns (Int256Slot) {\n return Int256Slot.wrap(slot);\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(AddressSlot slot) internal view returns (address value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(AddressSlot slot, address value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(BooleanSlot slot) internal view returns (bool value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(BooleanSlot slot, bool value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Bytes32Slot slot) internal view returns (bytes32 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Bytes32Slot slot, bytes32 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Uint256Slot slot) internal view returns (uint256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Uint256Slot slot, uint256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n\n /**\n * @dev Load the value held at location `slot` in transient storage.\n */\n function tload(Int256Slot slot) internal view returns (int256 value) {\n assembly (\"memory-safe\") {\n value := tload(slot)\n }\n }\n\n /**\n * @dev Store `value` at location `slot` in transient storage.\n */\n function tstore(Int256Slot slot, int256 value) internal {\n assembly (\"memory-safe\") {\n tstore(slot, value)\n }\n }\n}\n"},"node_modules/account-abstraction/contracts/interfaces/PackedUserOperation.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\n/**\n * User Operation struct\n * @param sender - The sender account of this request.\n * @param nonce - Unique value the sender uses to verify it is not a replay.\n * @param initCode - If set, the account contract will be created by this constructor/\n * @param callData - The method call to execute on this account.\n * @param accountGasLimits - Packed gas limits for validateUserOp and gas limit passed to the callData method call.\n * @param preVerificationGas - Gas not calculated by the handleOps method, but added to the gas paid.\n * Covers batch overhead.\n * @param gasFees - packed gas fields maxPriorityFeePerGas and maxFeePerGas - Same as EIP-1559 gas parameters.\n * @param paymasterAndData - If set, this field holds the paymaster address, verification gas limit, postOp gas limit and paymaster-specific extra data\n * The paymaster will pay for the transaction instead of the sender.\n * @param signature - Sender-verified signature over the entire request, the EntryPoint address and the chain ID.\n */\nstruct PackedUserOperation {\n address sender;\n uint256 nonce;\n bytes initCode;\n bytes callData;\n bytes32 accountGasLimits;\n uint256 preVerificationGas;\n bytes32 gasFees;\n bytes paymasterAndData;\n bytes signature;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IStakeManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-only\npragma solidity >=0.7.5;\n\n/**\n * Manage deposits and stakes.\n * Deposit is just a balance used to pay for UserOperations (either by a paymaster or an account).\n * Stake is value locked for at least \"unstakeDelay\" by the staked entity.\n */\ninterface IStakeManager {\n event Deposited(address indexed account, uint256 totalDeposit);\n\n event Withdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n // Emitted when stake or unstake delay are modified.\n event StakeLocked(\n address indexed account,\n uint256 totalStaked,\n uint256 unstakeDelaySec\n );\n\n // Emitted once a stake is scheduled for withdrawal.\n event StakeUnlocked(address indexed account, uint256 withdrawTime);\n\n event StakeWithdrawn(\n address indexed account,\n address withdrawAddress,\n uint256 amount\n );\n\n /**\n * @param deposit - The entity's deposit.\n * @param staked - True if this entity is staked.\n * @param stake - Actual amount of ether staked for this entity.\n * @param unstakeDelaySec - Minimum delay to withdraw the stake.\n * @param withdrawTime - First block timestamp where 'withdrawStake' will be callable, or zero if already locked.\n * @dev Sizes were chosen so that deposit fits into one cell (used during handleOp)\n * and the rest fit into a 2nd cell (used during stake/unstake)\n * - 112 bit allows for 10^15 eth\n * - 48 bit for full timestamp\n * - 32 bit allows 150 years for unstake delay\n */\n struct DepositInfo {\n uint256 deposit;\n bool staked;\n uint112 stake;\n uint32 unstakeDelaySec;\n uint48 withdrawTime;\n }\n\n // API struct used by getStakeInfo and simulateValidation.\n struct StakeInfo {\n uint256 stake;\n uint256 unstakeDelaySec;\n }\n\n /**\n * Get deposit info.\n * @param account - The account to query.\n * @return info - Full deposit information of given account.\n */\n function getDepositInfo(\n address account\n ) external view returns (DepositInfo memory info);\n\n /**\n * Get account balance.\n * @param account - The account to query.\n * @return - The deposit (for gas payment) of the account.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * Add to the deposit of the given account.\n * @param account - The account to add to.\n */\n function depositTo(address account) external payable;\n\n /**\n * Add to the account's stake - amount and delay\n * any pending unstake is first cancelled.\n * @param _unstakeDelaySec - The new lock duration before the deposit can be withdrawn.\n */\n function addStake(uint32 _unstakeDelaySec) external payable;\n\n /**\n * Attempt to unlock the stake.\n * The value can be withdrawn (using withdrawStake) after the unstake delay.\n */\n function unlockStake() external;\n\n /**\n * Withdraw from the (unlocked) stake.\n * Must first call unlockStake and wait for the unstakeDelay to pass.\n * @param withdrawAddress - The address to send withdrawn value.\n */\n function withdrawStake(address payable withdrawAddress) external;\n\n /**\n * Withdraw from the deposit.\n * @param withdrawAddress - The address to send withdrawn value.\n * @param withdrawAmount - The amount to withdraw.\n */\n function withdrawTo(\n address payable withdrawAddress,\n uint256 withdrawAmount\n ) external;\n}\n"},"node_modules/account-abstraction/contracts/interfaces/IAggregator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * Aggregated Signatures validator.\n */\ninterface IAggregator {\n /**\n * Validate aggregated signature.\n * Revert if the aggregated signature does not match the given list of operations.\n * @param userOps - Array of UserOperations to validate the signature for.\n * @param signature - The aggregated signature.\n */\n function validateSignatures(\n PackedUserOperation[] calldata userOps,\n bytes calldata signature\n ) external view;\n\n /**\n * Validate signature of a single userOp.\n * This method should be called by bundler after EntryPointSimulation.simulateValidation() returns\n * the aggregator this account uses.\n * First it validates the signature over the userOp. Then it returns data to be used when creating the handleOps.\n * @param userOp - The userOperation received from the user.\n * @return sigForUserOp - The value to put into the signature field of the userOp when calling handleOps.\n * (usually empty, unless account and aggregator support some kind of \"multisig\".\n */\n function validateUserOpSignature(\n PackedUserOperation calldata userOp\n ) external view returns (bytes memory sigForUserOp);\n\n /**\n * Aggregate multiple signatures into a single value.\n * This method is called off-chain to calculate the signature to pass with handleOps()\n * bundler MAY use optimized custom code perform this aggregation.\n * @param userOps - Array of UserOperations to collect the signatures from.\n * @return aggregatedSignature - The aggregated signature.\n */\n function aggregateSignatures(\n PackedUserOperation[] calldata userOps\n ) external view returns (bytes memory aggregatedSignature);\n}\n"},"node_modules/account-abstraction/contracts/interfaces/INonceManager.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\ninterface INonceManager {\n\n /**\n * Return the next nonce for this sender.\n * Within a given key, the nonce values are sequenced (starting with zero, and incremented by one on each userop)\n * But UserOp with different keys can come with arbitrary order.\n *\n * @param sender the account address\n * @param key the high 192 bit of the nonce\n * @return nonce a full nonce to pass for next UserOp with this sender.\n */\n function getNonce(address sender, uint192 key)\n external view returns (uint256 nonce);\n\n /**\n * Manually increment the nonce of the sender.\n * This method is exposed just for completeness..\n * Account does NOT need to call it, neither during validation, nor elsewhere,\n * as the EntryPoint will update the nonce regardless.\n * Possible use-case is call it with various keys to \"initialize\" their nonces to one, so that future\n * UserOperations will not pay extra for the first transaction with a given key.\n */\n function incrementNonce(uint192 key) external;\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n\n function _contextSuffixLength() internal view virtual returns (uint256) {\n return 0;\n }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n /**\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param balance Current balance for the interacting account.\n * @param needed Minimum amount required to perform a transfer.\n */\n error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC20InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC20InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n * @param spender Address that may be allowed to operate on tokens without being their owner.\n * @param allowance Amount of tokens a `spender` is allowed to operate with.\n * @param needed Minimum amount required to perform a transfer.\n */\n error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC20InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n * @param spender Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n /**\n * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n * Used in balance queries.\n * @param owner Address of the current owner of a token.\n */\n error ERC721InvalidOwner(address owner);\n\n /**\n * @dev Indicates a `tokenId` whose `owner` is the zero address.\n * @param tokenId Identifier number of a token.\n */\n error ERC721NonexistentToken(uint256 tokenId);\n\n /**\n * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param tokenId Identifier number of a token.\n * @param owner Address of the current owner of a token.\n */\n error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC721InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC721InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n * @param tokenId Identifier number of a token.\n */\n error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC721InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n /**\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param balance Current balance for the interacting account.\n * @param needed Minimum amount required to perform a transfer.\n * @param tokenId Identifier number of a token.\n */\n error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC1155InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC1155InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n * @param owner Address of the current owner of a token.\n */\n error ERC1155MissingApprovalForAll(address operator, address owner);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC1155InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC1155InvalidOperator(address operator);\n\n /**\n * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n * Used in batch transfers.\n * @param idsLength Length of the array of token identifiers\n * @param valuesLength Length of the array of token amounts\n */\n error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n /*\n * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n * 0xb0202a11 ===\n * bytes4(keccak256('transferAndCall(address,uint256)')) ^\n * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n * bytes4(keccak256('approveAndCall(address,uint256)')) ^\n * bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n */\n\n /**\n * @dev Moves a `value` amount of tokens from the caller's account to `to`\n * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n * @param to The address which you want to transfer to.\n * @param value The amount of tokens to be transferred.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function transferAndCall(address to, uint256 value) external returns (bool);\n\n /**\n * @dev Moves a `value` amount of tokens from the caller's account to `to`\n * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n * @param to The address which you want to transfer to.\n * @param value The amount of tokens to be transferred.\n * @param data Additional data with no specified format, sent in call to `to`.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n /**\n * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n * @param from The address which you want to send tokens from.\n * @param to The address which you want to transfer to.\n * @param value The amount of tokens to be transferred.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n /**\n * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n * @param from The address which you want to send tokens from.\n * @param to The address which you want to transfer to.\n * @param value The amount of tokens to be transferred.\n * @param data Additional data with no specified format, sent in call to `to`.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n /**\n * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n * @param spender The address which will spend the funds.\n * @param value The amount of tokens to be spent.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function approveAndCall(address spender, uint256 value) external returns (bool);\n\n /**\n * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n * @param spender The address which will spend the funds.\n * @param value The amount of tokens to be spent.\n * @param data Additional data with no specified format, sent in call to `spender`.\n * @return A boolean value indicating whether the operation succeeded unless throwing.\n */\n function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev There's no code at `target` (it is not a contract).\n */\n error AddressEmptyCode(address target);\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n if (address(this).balance < amount) {\n revert Errors.InsufficientBalance(address(this).balance, amount);\n }\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n if (!success) {\n revert Errors.FailedCall();\n }\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason or custom error, it is bubbled\n * up by this function (like regular Solidity function calls). However, if\n * the call reverted with no returned reason, this function reverts with a\n * {Errors.FailedCall} error.\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n if (address(this).balance < value) {\n revert Errors.InsufficientBalance(address(this).balance, value);\n }\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n * of an unsuccessful call.\n */\n function verifyCallResultFromTarget(\n address target,\n bool success,\n bytes memory returndata\n ) internal view returns (bytes memory) {\n if (!success) {\n _revert(returndata);\n } else {\n // only check if target is a contract if the call was successful and the return data is empty\n // otherwise we already know that it was a contract\n if (returndata.length == 0 && target.code.length == 0) {\n revert AddressEmptyCode(target);\n }\n return returndata;\n }\n }\n\n /**\n * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n * revert reason or with a default {Errors.FailedCall} error.\n */\n function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n if (!success) {\n _revert(returndata);\n } else {\n return returndata;\n }\n }\n\n /**\n * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n */\n function _revert(bytes memory returndata) private pure {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n assembly (\"memory-safe\") {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert Errors.FailedCall();\n }\n }\n}\n"},"contracts/utils/SoladyOwnable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.27;\n\nimport { Ownable } from \"solady/auth/Ownable.sol\";\n\ncontract SoladyOwnable is Ownable {\n constructor(address _owner) Ownable() {\n assembly {\n if iszero(shl(96, _owner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _initializeOwner(_owner);\n }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\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[ERC 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"},"node_modules/account-abstraction/contracts/interfaces/IPaymaster.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.7.5;\n\nimport \"./PackedUserOperation.sol\";\n\n/**\n * The interface exposed by a paymaster contract, who agrees to pay the gas for user's operations.\n * A paymaster must hold a stake to cover the required entrypoint stake and also the gas for the transaction.\n */\ninterface IPaymaster {\n enum PostOpMode {\n // User op succeeded.\n opSucceeded,\n // User op reverted. Still has to pay for gas.\n opReverted,\n // Only used internally in the EntryPoint (cleanup after postOp reverts). Never calling paymaster with this value\n postOpReverted\n }\n\n /**\n * Payment validation: check if paymaster agrees to pay.\n * Must verify sender is the entryPoint.\n * Revert to reject this request.\n * Note that bundlers will reject this method if it changes the state, unless the paymaster is trusted (whitelisted).\n * The paymaster pre-pays using its deposit, and receive back a refund after the postOp method returns.\n * @param userOp - The user operation.\n * @param userOpHash - Hash of the user's request data.\n * @param maxCost - The maximum cost of this transaction (based on maximum gas and gas price from userOp).\n * @return context - Value to send to a postOp. Zero length to signify postOp is not required.\n * @return validationData - Signature and time-range of this operation, encoded the same as the return\n * value of validateUserOperation.\n * <20-byte> sigAuthorizer - 0 for valid signature, 1 to mark signature failure,\n * other values are invalid for paymaster.\n * <6-byte> validUntil - last timestamp this operation is valid. 0 for \"indefinite\"\n * <6-byte> validAfter - first timestamp this operation is valid\n * Note that the validation code cannot use block.timestamp (or block.number) directly.\n */\n function validatePaymasterUserOp(\n PackedUserOperation calldata userOp,\n bytes32 userOpHash,\n uint256 maxCost\n ) external returns (bytes memory context, uint256 validationData);\n\n /**\n * Post-operation handler.\n * Must verify sender is the entryPoint.\n * @param mode - Enum with the following options:\n * opSucceeded - User operation succeeded.\n * opReverted - User op reverted. The paymaster still has to pay for gas.\n * postOpReverted - never passed in a call to postOp().\n * @param context - The context value returned by validatePaymasterUserOp\n * @param actualGasCost - Actual gas used so far (without this postOp call).\n * @param actualUserOpFeePerGas - the gas price this UserOp pays. This value is based on the UserOp's maxFeePerGas\n * and maxPriorityFee (and basefee)\n * It is not the same as tx.gasprice, which is what the bundler pays.\n */\n function postOp(\n PostOpMode mode,\n bytes calldata context,\n uint256 actualGasCost,\n uint256 actualUserOpFeePerGas\n ) external;\n}\n"},"node_modules/@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"},"node_modules/@uniswap/swap-router-contracts/contracts/interfaces/IV3SwapRouter.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\nimport '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';\n\n/// @title Router token swapping functionality\n/// @notice Functions for swapping tokens via Uniswap V3\ninterface IV3SwapRouter is IUniswapV3SwapCallback {\n struct ExactInputSingleParams {\n address tokenIn;\n address tokenOut;\n uint24 fee;\n address recipient;\n uint256 amountIn;\n uint256 amountOutMinimum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another token\n /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,\n /// and swap the entire amount, enabling contracts to send tokens before calling this function.\n /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);\n\n struct ExactInputParams {\n bytes path;\n address recipient;\n uint256 amountIn;\n uint256 amountOutMinimum;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\n /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,\n /// and swap the entire amount, enabling contracts to send tokens before calling this function.\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);\n\n struct ExactOutputSingleParams {\n address tokenIn;\n address tokenOut;\n uint24 fee;\n address recipient;\n uint256 amountOut;\n uint256 amountInMaximum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another token\n /// that may remain in the router after the swap.\n /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);\n\n struct ExactOutputParams {\n bytes path;\n address recipient;\n uint256 amountOut;\n uint256 amountInMaximum;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\n /// that may remain in the router after the swap.\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n /**\n * @dev The ETH balance of the account is not enough to perform the operation.\n */\n error InsufficientBalance(uint256 balance, uint256 needed);\n\n /**\n * @dev A call to an address target failed. The target may have reverted.\n */\n error FailedCall();\n\n /**\n * @dev The deployment failed.\n */\n error FailedDeployment();\n\n /**\n * @dev A necessary precompile is missing.\n */\n error MissingPrecompile(address);\n}\n"},"node_modules/solady/src/auth/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)\n///\n/// @dev Note:\n/// This implementation does NOT auto-initialize the owner to `msg.sender`.\n/// You MUST call the `_initializeOwner` in the constructor / initializer.\n///\n/// While the ownable portion follows\n/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,\n/// the nomenclature for the 2-step ownership handover may be unique to this codebase.\nabstract contract Ownable {\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* CUSTOM ERRORS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The caller is not authorized to call the function.\n error Unauthorized();\n\n /// @dev The `newOwner` cannot be the zero address.\n error NewOwnerIsZeroAddress();\n\n /// @dev The `pendingOwner` does not have a valid handover request.\n error NoHandoverRequest();\n\n /// @dev Cannot double-initialize.\n error AlreadyInitialized();\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* EVENTS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The ownership is transferred from `oldOwner` to `newOwner`.\n /// This event is intentionally kept the same as OpenZeppelin's Ownable to be\n /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),\n /// despite it not being as lightweight as a single argument event.\n event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);\n\n /// @dev An ownership handover to `pendingOwner` has been requested.\n event OwnershipHandoverRequested(address indexed pendingOwner);\n\n /// @dev The ownership handover to `pendingOwner` has been canceled.\n event OwnershipHandoverCanceled(address indexed pendingOwner);\n\n /// @dev `keccak256(bytes(\"OwnershipTransferred(address,address)\"))`.\n uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverRequested(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =\n 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;\n\n /// @dev `keccak256(bytes(\"OwnershipHandoverCanceled(address)\"))`.\n uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =\n 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* STORAGE */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev The owner slot is given by:\n /// `bytes32(~uint256(uint32(bytes4(keccak256(\"_OWNER_SLOT_NOT\")))))`.\n /// It is intentionally chosen to be a high value\n /// to avoid collision with lower slots.\n /// The choice of manual storage layout is to enable compatibility\n /// with both regular and upgradeable contracts.\n bytes32 internal constant _OWNER_SLOT =\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;\n\n /// The ownership handover slot of `newOwner` is given by:\n /// ```\n /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))\n /// let handoverSlot := keccak256(0x00, 0x20)\n /// ```\n /// It stores the expiry timestamp of the two-step ownership handover.\n uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* INTERNAL FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.\n function _guardInitializeOwner() internal pure virtual returns (bool guard) {}\n\n /// @dev Initializes the owner directly without authorization guard.\n /// This function must be called upon initialization,\n /// regardless of whether the contract is upgradeable or not.\n /// This is to enable generalization to both regular and upgradeable contracts,\n /// and to save gas in case the initial owner is not the caller.\n /// For performance reasons, this function will not check if there\n /// is an existing owner.\n function _initializeOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n if sload(ownerSlot) {\n mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.\n revert(0x1c, 0x04)\n }\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Store the new value.\n sstore(_OWNER_SLOT, newOwner)\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)\n }\n }\n }\n\n /// @dev Sets the owner directly without authorization guard.\n function _setOwner(address newOwner) internal virtual {\n if (_guardInitializeOwner()) {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))\n }\n } else {\n /// @solidity memory-safe-assembly\n assembly {\n let ownerSlot := _OWNER_SLOT\n // Clean the upper 96 bits.\n newOwner := shr(96, shl(96, newOwner))\n // Emit the {OwnershipTransferred} event.\n log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)\n // Store the new value.\n sstore(ownerSlot, newOwner)\n }\n }\n }\n\n /// @dev Throws if the sender is not the owner.\n function _checkOwner() internal view virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // If the caller is not the stored owner, revert.\n if iszero(eq(caller(), sload(_OWNER_SLOT))) {\n mstore(0x00, 0x82b42900) // `Unauthorized()`.\n revert(0x1c, 0x04)\n }\n }\n }\n\n /// @dev Returns how long a two-step ownership handover is valid for in seconds.\n /// Override to return a different value if needed.\n /// Made internal to conserve bytecode. Wrap it in a public function if needed.\n function _ownershipHandoverValidFor() internal view virtual returns (uint64) {\n return 48 * 3600;\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC UPDATE FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Allows the owner to transfer the ownership to `newOwner`.\n function transferOwnership(address newOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n if iszero(shl(96, newOwner)) {\n mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.\n revert(0x1c, 0x04)\n }\n }\n _setOwner(newOwner);\n }\n\n /// @dev Allows the owner to renounce their ownership.\n function renounceOwnership() public payable virtual onlyOwner {\n _setOwner(address(0));\n }\n\n /// @dev Request a two-step ownership handover to the caller.\n /// The request will automatically expire in 48 hours (172800 seconds) by default.\n function requestOwnershipHandover() public payable virtual {\n unchecked {\n uint256 expires = block.timestamp + _ownershipHandoverValidFor();\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to `expires`.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), expires)\n // Emit the {OwnershipHandoverRequested} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())\n }\n }\n }\n\n /// @dev Cancels the two-step ownership handover to the caller, if any.\n function cancelOwnershipHandover() public payable virtual {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, caller())\n sstore(keccak256(0x0c, 0x20), 0)\n // Emit the {OwnershipHandoverCanceled} event.\n log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())\n }\n }\n\n /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.\n /// Reverts if there is no existing ownership handover requested by `pendingOwner`.\n function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute and set the handover slot to 0.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n let handoverSlot := keccak256(0x0c, 0x20)\n // If the handover does not exist, or has expired.\n if gt(timestamp(), sload(handoverSlot)) {\n mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.\n revert(0x1c, 0x04)\n }\n // Set the handover slot to 0.\n sstore(handoverSlot, 0)\n }\n _setOwner(pendingOwner);\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* PUBLIC READ FUNCTIONS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Returns the owner of the contract.\n function owner() public view virtual returns (address result) {\n /// @solidity memory-safe-assembly\n assembly {\n result := sload(_OWNER_SLOT)\n }\n }\n\n /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.\n function ownershipHandoverExpiresAt(address pendingOwner)\n public\n view\n virtual\n returns (uint256 result)\n {\n /// @solidity memory-safe-assembly\n assembly {\n // Compute the handover slot.\n mstore(0x0c, _HANDOVER_SLOT_SEED)\n mstore(0x00, pendingOwner)\n // Load the handover slot.\n result := sload(keccak256(0x0c, 0x20))\n }\n }\n\n /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/\n /* MODIFIERS */\n /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/\n\n /// @dev Marks a function as only callable by the owner.\n modifier onlyOwner() virtual {\n _checkOwner();\n _;\n }\n}\n"},"node_modules/@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"}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/test/=node_modules/@prb/test/","@nexus/=node_modules/nexus/","forge-std/=lib/forge-std/src/","account-abstraction/=node_modules/account-abstraction/contracts/","@ERC4337/account-abstraction/=node_modules/account-abstraction/","@modulekit/=node_modules/modulekit/src/","sentinellist/=node_modules/sentinellist/src/","solady/=node_modules/solady/src/","@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts/","@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/","@uniswap/swap-router-contracts/contracts/=node_modules/@uniswap/swap-router-contracts/contracts/","solady/src/=node_modules/solady/src/","excessively-safe-call/=node_modules/excessively-safe-call/src/","modulekit/=node_modules/@rhinestone/modulekit/src/","module-bases/=node_modules/module-bases/src/","erc7579/=node_modules/erc7579/src/","kernel/=node_modules/@zerodev/kernel/src/","@safe-global/=node_modules/@safe-global/","solarray/=node_modules/solarray/src/","erc7739Validator/=node_modules/erc7739-validator-base/src/","@biconomy-devx/=node_modules/@biconomy-devx/","@erc7579/=node_modules/@erc7579/","@gnosis.pm/=node_modules/@gnosis.pm/","@prb/math/=node_modules/erc7739-validator-base/node_modules/@prb/math/src/","@rhinestone/=node_modules/@rhinestone/","@zerodev/=node_modules/@zerodev/","ExcessivelySafeCall/=node_modules/erc7739-validator-base/node_modules/excessively-safe-call/src/","account-abstraction-v0.6/=node_modules/account-abstraction-v0.6/","accountabstraction/=node_modules/accountabstraction/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/ds-test/","enumerableset4337/=node_modules/erc7739-validator-base/node_modules/@erc7579/enumerablemap4337/src/","erc4337-validation/=node_modules/erc7739-validator-base/node_modules/@rhinestone/erc4337-validation/src/","erc7739-validator-base/=node_modules/erc7739-validator-base/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/","nexus/=node_modules/nexus/","registry/=node_modules/modulekit/node_modules/@rhinestone/registry/src/","safe7579/=node_modules/erc7739-validator-base/node_modules/@rhinestone/safe7579/src/"],"optimizer":{"enabled":true,"runs":800},"metadata":{"useLiteralContent":false,"bytecodeHash":"none","appendCBOR":true},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"cancun","viaIR":true,"libraries":{}}} diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index e2e717c..3866a08 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -27,8 +27,8 @@ contract DeployGasdaddy is Script { } // SALTS - bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0x3e81534a95d3368136d6c49522f8e20ada0b768931512a65c785c15a83178777; // - bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xf5516e76713013dc560228c61d8ad21680be770b25fcaed28edf3071e09bb777; // + bytes32 constant SPONSORSHIP_PAYMASTER_DEPLOYMENT_SALT = 0xc9ec6c618ddf6abc86e028d1ec4b5134220e43bf3077b043e67f191f9eb347e1; // ==> 0x000000f05e956f96bbcbf39012809070da94047c + bytes32 constant TOKEN_PAYMASTER_DEPLOYMENT_SALT = 0xaa3606532a9bab499b169e3b3b73d84c75b65a74c34a55188d89a91402de1936; // ==> 0x00000054bbe1c7aefb16e7cc9be4f5ebd7e88361 // CONSTRUCTOR ARGS address constant VERIFYING_PAYMASTER_OWNER = 0x2cf491602ad22944D9047282aBC00D3e52F56B37; From af42258e3ab53c2a7cd83513246bac73905bba9a Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 19:24:08 +0300 Subject: [PATCH 16/16] chains and logs --- foundry.toml | 4 ++-- scripts/bash-deploy/deploy-gasdaddy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/foundry.toml b/foundry.toml index ecfe124..cccd071 100644 --- a/foundry.toml +++ b/foundry.toml @@ -66,7 +66,7 @@ optimism = "${OPTIMISM_MAINNET_RPC_URL}" optimism-sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}" - berachain_bartio = "${BERA_BARTIO_TESTNET_RPC_URL}" + berachain-bartio = "${BERA_BARTIO_TESTNET_RPC_URL}" [etherscan] mainnet = { key = "${ETHERSCAN_API_KEY}", url = "https://api.etherscan.io/api" } @@ -96,6 +96,6 @@ optimism = { key = "${OPTIMISM_API_KEY}", url = "https://api-optimistic.etherscan.io/api" } optimism-sepolia = { key = "${OPTIMISM_API_KEY}", url = "https://api-sepolia-optimistic.etherscan.io/api" } - berachain_bartio = { key = "${BERACHAIN_API_KEY}", url = "https://api.routescan.io/v2/network/testnet/evm/80084/etherscan" } + berachain-bartio = { key = "${BERACHAIN_API_KEY}", url = "https://api.routescan.io/v2/network/testnet/evm/80084/etherscan" } # [possible values: mainnet, morden, ropsten, rinkeby, goerli, kovan, holesky, sepolia, odyssey, optimism, optimism-kovan, optimism-goerli, optimism-sepolia, arbitrum, arbitrum-testnet, arbitrum-goerli, arbitrum-sepolia, arbitrum-nova, cronos, cronos-testnet, rsk, crab, darwinia, koi, bsc, bsc-testnet, poa, sokol, scroll, scroll-sepolia, metis, cfx-testnet, cfx, xdai, polygon, mumbai, amoy, polygon-zkevm, polygon-zkevm-testnet, fantom, fantom-testnet, moonbeam, moonbeam-dev, moonriver, moonbase, dev, anvil-hardhat, gravity-alpha-mainnet, gravity-alpha-testnet-sepolia, evmos, evmos-testnet, chiado, oasis, emerald, emerald-testnet, filecoin-mainnet, filecoin-calibration-testnet, avalanche, fuji, celo, celo-alfajores, celo-baklava, aurora, aurora-testnet, canto, canto-testnet, boba, base, base-goerli, base-sepolia, syndr, syndr-sepolia, shimmer, ink-sepolia, fraxtal, fraxtal-testnet, blast, blast-sepolia, linea, linea-goerli, linea-sepolia, zksync, zksync-testnet, mantle, mantle-testnet, mantle-sepolia, xai, xai-sepolia, viction, zora, zora-goerli, zora-sepolia, pgn, pgn-sepolia, mode, mode-sepolia, elastos, kakarot-sepolia, etherlink, etherlink-testnet, degen, opbnb-mainnet, opbnb-testnet, ronin, taiko, taiko-hekla, autonomys-nova-testnet, flare, flare-coston2, acala, acala-mandala-testnet, acala-testnet, karura, karura-testnet, pulsechain, pulsechain-testnet, immutable, immutable-testnet, soneium-minato-testnet, world, world-sepolia, iotex, core, merlin, bitlayer, unichain-sepolia, apechain, curtis, sonic-testnet] \ No newline at end of file diff --git a/scripts/bash-deploy/deploy-gasdaddy.sh b/scripts/bash-deploy/deploy-gasdaddy.sh index b5e3787..7e06c07 100644 --- a/scripts/bash-deploy/deploy-gasdaddy.sh +++ b/scripts/bash-deploy/deploy-gasdaddy.sh @@ -85,7 +85,7 @@ else fi ### Get custom min deposit -read -r -p "Do you want to specify a custom min deposit? (y/n): " proceed +read -r -p "Default min deposit param is 0.001 native token. Do you want to specify a custom min deposit? (y/n): " proceed if [ $proceed = "y" ]; then printf "Choose a custom min deposit: \n 1. 0.001 native token \n 2. 0.01 native token \n 3. 0.1 native token \n 4. 1 native token \n 5. 10 native tokens \n" read -r -a MIN_DEPOSIT_CHOICE