[
  {
    "path": ".gitignore",
    "content": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Diagnostic reports (https://nodejs.org/api/report.html)\nreport.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n*.lcov\ncoverage.json\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Microbundle cache\n.rpt2_cache/\n.rts2_cache_cjs/\n.rts2_cache_es/\n.rts2_cache_umd/\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# Next.js build output\n.next\n\n# Nuxt.js build / generate output\n.nuxt\ndist\n\n# Gatsby files\n.cache/\n# Comment in the public line in if your project uses Gatsby and *not* Next.js\n# https://nextjs.org/blog/next-9-1#public-directory-support\n# public\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# TernJS port file\n.tern-port\n\n.DS_Store\npackage-lock.json\n.idea\ncache/\nartifacts/\n.openzeppelin/\n\n"
  },
  {
    "path": ".prettierrc.js",
    "content": "module.exports = {\n\toverrides: [\n\t\t{\n\t\t\tfiles: \"*.sol\",\n\t\t\toptions: {\n\t\t\t\tbracketSpacing: false,\n\t\t\t\tprintWidth: 300,\n\t\t\t\ttabWidth: 4,\n\t\t\t\tuseTabs: false,\n\t\t\t\tsingleQuote: false,\n\t\t\t\texplicitTypes: \"never\",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tfiles: \"*.ts\",\n\t\t\toptions: {\n\t\t\t\tprintWidth: 300,\n\t\t\t\tsemi: false,\n\t\t\t\ttabWidth: 4,\n\t\t\t\tuseTabs: false,\n\t\t\t\ttrailingComma: \"es5\",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tfiles: \"*.js\",\n\t\t\toptions: {\n\t\t\t\tprintWidth: 300,\n\t\t\t\tsemi: false,\n\t\t\t\ttabWidth: 4,\n\t\t\t\tuseTabs: false,\n\t\t\t\ttrailingComma: \"es5\",\n\t\t\t},\n\t\t},\n\t],\n}\n"
  },
  {
    "path": ".solcover.js",
    "content": "module.exports = {\t\n\tskipFiles: [\"interfaces\", \"test\", \"wrappedTokens\"]\n};"
  },
  {
    "path": ".solhint.json",
    "content": "{\n\t\"extends\": \"solhint:default\",\n\t\"rules\": {\n\t\t\"avoid-suicide\": \"error\",\n\t\t\"avoid-sha3\": \"warn\",\n\t\t\"max-line-length\": [\n\t\t\t\"warn\",\n\t\t\t300\n\t\t]\n\t}\n}"
  },
  {
    "path": "README.md",
    "content": "<div align=\"center\">\n    <img alt=\"LayerZero\" src=\"resources/LayerZeroLogo.png\"/>\n</div>\n\n---\n\n# Wrapped Asset Bridge\n\nWrapped asset bridge allows bridging `ERC20` tokens and native gas tokens (e.g. `ETH`) from existing EVM chains (e.g. Ethereum, Avalanche, BSC, etc.) to subnets or brand new EVM chains where those assets do not exist natively. It supports mapping the same wrapped token to multiple tokens on other chains. E.g. moving native USDC from Ethereum or Avalanche to NewChainX will result in the same wrapped asset on NewChainX. \n\n\n<br>\n\n\n[badge-warning]: https://github.com/Mqxx/GitHub-Markdown/blob/main/blockquotes/badge/dark-theme/warning.svg 'Warning'\n\n> ![badge-warning][badge-warning]<br>\n> The bridge is not intended for bridging between existing L1 EVM chains (e.g. between Ethereum and Avalanche)\n\n<br>\n\n## Getting Started\n\n### Setup\n\n- Clone the repository\n- run `yarn`\n\n### Test\n\n`yarn test`\n\nRun the full suite of unit tests.\n\n### Coverage\n\n`yarn coverage`\n\nGet the coverage report.\n\n<br>\n\n## Deployment and configuration\n\n1. Deploy `OriginalTokenBridge.sol` on existing EVM chains.\n2. Deploy `WrappedTokenBridge.sol` on the new EVM chain.\n3. Call `setTrustedRemoteAddress` in `WrappedTokenBridge` contract and in each `OriginalTokenBridge` contract.\n4. For each token you want to bridge (e.g., `USDC`, `WETH`, etc), deploy `WrappedERC20` contract on the new EVM chain. Make sure to set `decimals` in the `WrappedERC20` to the number of decimals used in the original token you want to bridge (e.g., `6` decimals for `USDC`, `18` decimals for `WETH`). If you want to add an additional functionality to the wrapped token, inherit it from `WrappedERC20` and add a custom logic to the derived contract.\n5. For each token you want to bridge, call `registerToken(address token, uint8 sharedDecimals)` function in `OriginalTokenBridge` and `registerToken(address localToken, uint16 remoteChainId, address remoteToken)` function in `WrappedTokenBridge`. Each wrapped token can be mapped to multiple original tokens on different chains (e.g. `USDC` on the new chain is mapped to `USDC` on Ethereum and `USDC` on Avalanche).\n\n<br>\n\n## Bridging from a native asset EVM chain to a new EVM chain\n\n1. Call `estimateBridgeFee(bool useZro, bytes calldata adapterParams)` in `OriginalTokenBridge` contract.\n2. Call `bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams)` in `OriginalTokenBridge` contract to bridge `ERC20` tokens passing `nativeFee` obtained earlier as a value. This will lock `ERC20` tokens in `OriginalTokenBridge` contract and send a LayerZero message to the `WrappedTokenBridge` on another chain to mint wrapped tokens. To bridge `ETH` use `bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams)` function and pass a sum of `nativeFee` and amount as a value.\n\n</br>\n\n## Bridging from a new EVM chain to a native asset EVM\n1. Call `estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams)` in `WrappedTokenBridge`.\n2. Call `bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams)` supplying `nativeFee` obtained earlier as a value. This will burn wrapped tokens and send a LayerZero message to `OriginalTokenBridge` contract on another chain to unlock original tokens.\n\n\n\n\n"
  },
  {
    "path": "constants/blockExplorerApi.json",
    "content": "{\n\t\"ethereum\": \"https://api.etherscan.io/api\",\n\t\"bsc\": \"https://api.bscscan.com/api\",\t\n\t\"polygon\": \"https://api.polygonscan.com/api\",\n\t\"coredao\": \"https://openapi.coredao.org/api\"\n}"
  },
  {
    "path": "constants/chainIds.json",
    "content": "{\n  \"ethereum\":         101,\n  \"bsc\":              102,\n  \"avalanche\":        106,\n  \"polygon\":          109,\n  \"arbitrum\":         110,\n  \"optimism\":         111,\n  \"fantom\":           112,\n  \"coredao\":          153,\n\n  \"goerli\":           10121,\n  \"bsc-testnet\":      10102,\n  \"fuji\":             10106,\n  \"mumbai\":           10109,\n  \"arbitrum-goerli\":  10143,\n  \"optimism-goerli\":  10132,\n  \"fantom-testnet\":   10112,\n  \"coredao-testnet\":  10153\n}"
  },
  {
    "path": "constants/layerzeroEndpoints.json",
    "content": "{\n  \"ethereum\": \"0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675\",\n  \"bsc\": \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n  \"avalanche\": \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n  \"polygon\": \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n  \"arbitrum\": \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n  \"optimism\": \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n  \"fantom\": \"0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7\",\n  \"coredao\": \"0x9740FF91F1985D8d2B71494aE1A2f723bb3Ed9E4\",\n\n  \"goerli\": \"0xbfD2135BFfbb0B5378b56643c2Df8a87552Bfa23\",\n  \"bsc-testnet\": \"0x6Fcb97553D41516Cb228ac03FdC8B9a0a9df04A1\",\n  \"fuji\": \"0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706\",\n  \"mumbai\": \"0xf69186dfBa60DdB133E91E9A4B5673624293d8F8\",\n  \"arbitrum-goerli\": \"0x6aB5Ae6822647046626e83ee6dB8187151E1d5ab\",\n  \"optimism-goerli\": \"0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1\",\n  \"fantom-testnet\": \"0x7dcAD72640F835B0FA36EFD3D6d3ec902C7E5acf\",\n  \"coredao-testnet\": \"0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1\"\n}"
  },
  {
    "path": "constants/remoteChainIds.json",
    "content": "{\n\t\"ethereum\":\t\t153,\n\t\"bsc\":\t\t\t153,\n\t\"polygon\":\t\t153,\n\t\n\t\"goerli\": \t\t10153,\n\t\"bsc-testnet\": \t10153,\n\t\"mumbai\": \t\t10153\n}"
  },
  {
    "path": "constants/sharedDecimals.json",
    "content": "{\n\t\"WETH\": 18,\n\t\"USDC\": 6,\n\t\"USDT\": 6\n}"
  },
  {
    "path": "constants/tokens.json",
    "content": "{\n\t\"ethereum\": {\n\t\t\"WETH\": \"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\",\n\t\t\"USDC\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n\t\t\"USDT\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\"\n\t},\n\t\"bsc\": {\n\t\t\"USDC\": \"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d\",\n\t\t\"USDT\": \"0x55d398326f99059fF775485246999027B3197955\"\n\t},\n\t\"polygon\": {\n\t\t\"USDC\": \"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\",\n\t\t\"USDT\": \"0xc2132D05D31c914a87C6611C10748AEb04B58e8F\"\n\t},\n\t\"coredao\":{\n\t\t\"WETH\": \"0xeAB3aC417c4d6dF6b143346a46fEe1B847B50296\",\n\t\t\"USDC\": \"0xa4151B2B3e269645181dCcF2D426cE75fcbDeca9\",\n\t\t\"USDT\": \"0x900101d06A7426441Ae63e9AB3B9b0F63Be145F1\"\n\t},\n\t\"goerli\": {\n\t\t\"WETH\": \"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6\",\n\t\t\"USDC\": \"0x122B8f9fAda7586072e76950c7a299523D1f3846\"\n\t},\n\t\"bsc-testnet\": {\n\t\t\"USDC\": \"0x6795cbCF57760947b34eFf59E7465611B80A615b\"\n\t},\n\t\"mumbai\": {\n\t\t\"USDC\": \"0x9ebF92a4b1615CcD5fd10E46adF509d6071345A9\"\n\t},\n\t\"coredao-testnet\": {\n\t\t\"WETH\": \"0x2e3531Ad3C30d78e153e485FA5098ddF1524d79d\",\n\t\t\"USDC\": \"0xE1B5004075CE96E5E59B3698BE29AF585e0F1c5C\"\n\t}\n}"
  },
  {
    "path": "constants/weths.json",
    "content": "{\n\t\"ethereum\": \"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\",\n\t\"bsc\": \"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c\",\n\t\"polygon\": \"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270\",\n\t\n\t\"goerli\": \"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6\",\n\t\"bsc-testnet\": \"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd\",\n\t\"mumbai\": \"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889\"\n}"
  },
  {
    "path": "contracts/OriginalTokenBridge.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {LzLib} from \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\";\nimport {TokenBridgeBase} from \"./TokenBridgeBase.sol\";\nimport {IWETH} from \"./interfaces/IWETH.sol\";\n\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\ncontract OriginalTokenBridge is TokenBridgeBase {\n    using SafeERC20 for IERC20;\n\n    /// @notice Tokens that can be bridged to the remote chain\n    mapping(address => bool) public supportedTokens;\n\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\n    mapping(address => uint) public LDtoSDConversionRate;\n\n    /// @notice Total value locked per each supported token in shared decimals\n    mapping(address => uint) public totalValueLockedSD;\n\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\n    uint16 public remoteChainId;\n\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\n    address public immutable weth;\n\n    event SendToken(address token, address from, address to, uint amount);\n    event ReceiveToken(address token, address to, uint amount);\n    event SetRemoteChainId(uint16 remoteChainId);\n    event RegisterToken(address token);\n    event WithdrawFee(address indexed token, address to, uint amount);\n\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\n        require(_weth != address(0), \"OriginalTokenBridge: invalid WETH address\");\n        remoteChainId = _remoteChainId;\n        weth = _weth;\n    }\n\n    /// @notice Registers a token for bridging\n    /// @param token address of the token\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\n        require(token != address(0), \"OriginalTokenBridge: invalid token address\");\n        require(!supportedTokens[token], \"OriginalTokenBridge: token already registered\");\n\n        uint8 localDecimals = _getTokenDecimals(token);\n        require(localDecimals >= sharedDecimals, \"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\");\n\n        supportedTokens[token] = true;\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\n        emit RegisterToken(token);\n    }\n\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\n        remoteChainId = _remoteChainId;\n        emit SetRemoteChainId(_remoteChainId);\n    }\n\n    function accruedFeeLD(address token) public view returns (uint) {\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\n    }\n\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\n        // Only the payload format matters when estimating fee, not the actual data\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\n    }\n\n    /// @notice Bridges ERC20 to the remote chain\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\n        require(supportedTokens[token], \"OriginalTokenBridge: token is not supported\");\n   \n        // Supports tokens with transfer fee\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\n\n        // return dust to the sender\n        if (dust > 0) {\n            IERC20(token).safeTransfer(msg.sender, dust);\n        }\n\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\n    }\n\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\n        require(supportedTokens[weth], \"OriginalTokenBridge: token is not supported\");\n        require(msg.value >= amountLD, \"OriginalTokenBridge: not enough value sent\");\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\n    }\n\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\n        require(to != address(0), \"OriginalTokenBridge: invalid to\");\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\n\n        uint amountSD = _amountLDtoSD(token, amountLD);\n        require(amountSD > 0, \"OriginalTokenBridge: invalid amount\");\n\n        totalValueLockedSD[token] += amountSD;\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\n        emit SendToken(token, msg.sender, to, amountLD);\n    }\n\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\n        uint feeLD = accruedFeeLD(token);\n        require(amountLD <= feeLD, \"OriginalTokenBridge: not enough fees collected\");\n\n        IERC20(token).safeTransfer(to, amountLD);\n        emit WithdrawFee(token, to, amountLD);\n    }\n\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\n        require(srcChainId == remoteChainId, \"OriginalTokenBridge: invalid source chain id\");\n\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\n        require(packetType == PT_UNLOCK, \"OriginalTokenBridge: unknown packet type\");\n        require(supportedTokens[token], \"OriginalTokenBridge: token is not supported\");\n\n        totalValueLockedSD[token] -= totalAmountSD;\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\n\n        if (token == weth && unwrapWeth) {\n            IWETH(weth).withdraw(withdrawalAmountLD);\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\"\");\n            require(success, \"OriginalTokenBridge: failed to send\");\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\n        } else {\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\n            emit ReceiveToken(token, to, withdrawalAmountLD);\n        }\n    }\n\n    function _getTokenDecimals(address token) internal view returns (uint8) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\"decimals()\"));\n        require(success, \"OriginalTokenBridge: failed to get token decimals\");\n        return abi.decode(data, (uint8));\n    }\n\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\n        return amountSD * LDtoSDConversionRate[token];\n    }\n\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\n        return amountLD / LDtoSDConversionRate[token];\n    }\n\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\n        dust = amountLD % LDtoSDConversionRate[token];\n        amountWithoutDustLD = amountLD - dust;\n    }\n\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\n    receive() external payable {}\n}"
  },
  {
    "path": "contracts/TokenBridgeBase.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/security/ReentrancyGuard.sol\";\nimport {NonblockingLzApp} from \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\";\n\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\n    uint8 public constant PT_MINT = 0;\n\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\n    uint8 public constant PT_UNLOCK = 1;\n\n    bool public useCustomAdapterParams;\n\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\n\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\n\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\n    /// @dev Can be called only by the bridge owner\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\n        useCustomAdapterParams = _useCustomAdapterParams;\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\n    }\n\n    /// @dev Checks `adapterParams` for correctness\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\n        if (useCustomAdapterParams) {\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\n        } else {\n            require(adapterParams.length == 0, \"TokenBridgeBase: adapterParams must be empty\");\n        }\n    }\n\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\n    function renounceOwnership() public override onlyOwner {}\n}"
  },
  {
    "path": "contracts/WrappedERC20.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\n/// @title Wrapped ERC20\n/// @notice Represents a token on another chain\n/// @dev Can be minted and burned only by the bridge\ncontract WrappedERC20 is ERC20 {\n    address public immutable bridge;\n    uint8 private immutable _tokenDecimals;\n\n    /// @param _bridge responsible for minting and burning the wrapped token\n    /// @param _name wrapped token name\n    /// @param _symbol wrapped token symbol\n    /// @param _decimals number of decimals of the original token\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\n        require(_bridge != address(0), \"WrappedERC20: invalid bridge\");\n\n        bridge = _bridge;\n        _tokenDecimals = _decimals;\n    }\n\n    modifier onlyBridge() {\n        require(msg.sender == bridge, \"WrappedERC20: caller is not the bridge\");\n        _;\n    }\n\n    /// @notice Number of decimal places used to represent the token's smallest unit\n    /// @dev Overrides the default value of 18\n    /// @return number of decimal places\n    function decimals() public view virtual override returns (uint8) {\n        return _tokenDecimals;\n    }\n\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\n    /// @dev called only by the bridge\n    function mint(address _to, uint _amount) external virtual onlyBridge {\n        _mint(_to, _amount);\n    }\n\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\n    /// @dev Called only by the bridge\n    function burn(address _from, uint _amount) external virtual onlyBridge {\n        _burn(_from, _amount);\n    }\n}\n"
  },
  {
    "path": "contracts/WrappedTokenBridge.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {LzLib} from \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\";\nimport {TokenBridgeBase} from \"./TokenBridgeBase.sol\";\nimport {IWrappedERC20} from \"./interfaces/IWrappedERC20.sol\";\n\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\ncontract WrappedTokenBridge is TokenBridgeBase {\n    /// @notice Total bps representing 100%\n    uint16 public constant TOTAL_BPS = 10000;\n\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\n    uint16 public withdrawalFeeBps;\n\n    /// @notice Tokens that can be bridged\n    /// @dev [local token] => [remote chain] => [remote token]\n    mapping(address => mapping(uint16 => address)) public localToRemote;\n\n    /// @notice Tokens that can be bridged\n    /// @dev [remote token] => [remote chain] => [local token]\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\n\n    /// @notice Total value bridged per token and remote chains\n    /// @dev [remote chain] => [remote token] => [bridged amount]\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\n\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\n\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\n\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\n        require(localToken != address(0), \"WrappedTokenBridge: invalid local token\");\n        require(remoteToken != address(0), \"WrappedTokenBridge: invalid remote token\");\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \"WrappedTokenBridge: token already registered\");\n\n        localToRemote[localToken][remoteChainId] = remoteToken;\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\n    }\n\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\n        require(_withdrawalFeeBps < TOTAL_BPS, \"WrappedTokenBridge: invalid withdrawal fee bps\");\n        withdrawalFeeBps = _withdrawalFeeBps;\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\n    }\n\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\n        // Only the payload format matters when estimating fee, not the actual data\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\n    }\n\n    /// @notice Bridges `localToken` to the remote chain\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\n        require(localToken != address(0), \"WrappedTokenBridge: invalid token\");\n        require(to != address(0), \"WrappedTokenBridge: invalid to\");\n        require(amount > 0, \"WrappedTokenBridge: invalid amount\");\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\n\n        address remoteToken = localToRemote[localToken][remoteChainId];\n        require(remoteToken != address(0), \"WrappedTokenBridge: token is not supported\");\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \"WrappedTokenBridge: insufficient liquidity on the destination\");\n\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\n        IWrappedERC20(localToken).burn(msg.sender, amount);\n\n        uint withdrawalAmount = amount;\n        if (withdrawalFeeBps > 0) {\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\n            withdrawalAmount -= withdrawalFee;\n        }\n\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\n    }\n\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\n        require(packetType == PT_MINT, \"WrappedTokenBridge: unknown packet type\");\n\n        address localToken = remoteToLocal[remoteToken][srcChainId];\n        require(localToken != address(0), \"WrappedTokenBridge: token is not supported\");\n\n        totalValueLocked[srcChainId][remoteToken] += amount;\n        IWrappedERC20(localToken).mint(to, amount);\n\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\n    }\n}"
  },
  {
    "path": "contracts/interfaces/IWETH.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\ninterface IWETH {\n    /// @notice Deposit ether to get wrapped ether\n    function deposit() external payable;\n\n    /// @notice Withdraw wrapped ether to get ether\n    function withdraw(uint) external;\n}"
  },
  {
    "path": "contracts/interfaces/IWrappedERC20.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ninterface IWrappedERC20 is IERC20 {\n    function mint(address _to, uint _amount) external;\n\n    function burn(address _from, uint _amount) external;\n}\n"
  },
  {
    "path": "contracts/test/LZEndpointStub.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\";\nimport \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\";\n\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\n\n    function setSendVersion(uint16 _version) external {}\n\n    function setReceiveVersion(uint16 _version) external {}\n\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\n\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\n\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\n\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\n        return 0;\n    }\n\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\n        return 0;\n    }\n\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\n        nativeFee = 10000;\n        zroFee = 0;\n    }\n\n    function getChainId() external view returns (uint16) {}\n\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\n\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\n        return false;\n    }\n\n    function getSendLibraryAddress(address) external pure returns (address) {\n        return address(0);\n    }\n\n    function getReceiveLibraryAddress(address) external pure returns (address) {\n        return address(0);\n    }\n\n    function isSendingPayload() external pure returns (bool) {\n        return false;\n    }\n\n    function isReceivingPayload() external pure returns (bool) {\n        return false;\n    }\n\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\n        return \"0x\";\n    }\n\n    function getSendVersion(address) external pure returns (uint16) {\n        return uint16(0);\n    }\n\n    function getReceiveVersion(address) external pure returns (uint16) {\n        return uint16(0);\n    }\n}"
  },
  {
    "path": "contracts/test/MintableERC20Mock.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\ncontract MintableERC20Mock is ERC20 {\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\n\n    function mint(address _to, uint _amount) external {\n        _mint(_to, _amount);\n    }\n}"
  },
  {
    "path": "contracts/test/OriginalTokenBridgeHarness.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {OriginalTokenBridge} from \"../OriginalTokenBridge.sol\";\n\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\n\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\n        _nonblockingLzReceive(srcChainId, \"0x\", 0, payload);\n    }\n}"
  },
  {
    "path": "contracts/test/USDCMock.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\ncontract USDCMock is ERC20 {\n    uint8 private immutable _tokenDecimals;\n\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\n        _tokenDecimals = _decimals;\n    }\n\n    function mint(address _to, uint _amount) external {\n        _mint(_to, _amount);\n    }\n\n    function decimals() public view virtual override returns (uint8) {\n        return _tokenDecimals;\n    }\n}"
  },
  {
    "path": "contracts/test/WETH9.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\ncontract WETH9 {\n    string public name = \"Wrapped Ether\";\n    string public symbol = \"WETH\";\n    uint8 public decimals = 18;\n\n    mapping(address => uint) public balanceOf;\n    mapping(address => mapping(address => uint)) public allowance;\n\n    event Transfer(address indexed _from, address indexed _to, uint _value);\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\n    event Deposit(address indexed from, uint amount);\n    event Withdrawal(address indexed to, uint amount);\n\n    receive() external payable {\n        deposit();\n    }\n\n    function deposit() public payable {\n        balanceOf[msg.sender] += msg.value;\n        emit Deposit(msg.sender, msg.value);\n    }\n\n    function withdraw(uint wad) public {\n        require(balanceOf[msg.sender] >= wad, \"withdraw: not enough balance\");\n        balanceOf[msg.sender] -= wad;\n        payable(msg.sender).transfer(wad);\n        emit Withdrawal(msg.sender, wad);\n    }\n\n    function totalSupply() public view returns (uint) {\n        return address(this).balance;\n    }\n\n    function approve(address guy, uint wad) public returns (bool) {\n        allowance[msg.sender][guy] = wad;\n        emit Approval(msg.sender, guy, wad);\n        return true;\n    }\n\n    function transfer(address dst, uint wad) public returns (bool) {\n        return transferFrom(msg.sender, dst, wad);\n    }\n\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\n        require(balanceOf[src] >= wad, \"transferFrom: not enough balance\");\n\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\n            require(allowance[src][msg.sender] >= wad, \"transferFrom: not enough allowance\");\n            allowance[src][msg.sender] -= wad;\n        }\n\n        balanceOf[src] -= wad;\n        balanceOf[dst] += wad;\n\n        emit Transfer(src, dst, wad);\n\n        return true;\n    }\n}"
  },
  {
    "path": "contracts/test/WrappedTokenBridgeHarness.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {WrappedTokenBridge} from \"../WrappedTokenBridge.sol\";\n\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\n\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\n        _nonblockingLzReceive(srcChainId, \"0x\", 0, payload);\n    }\n}"
  },
  {
    "path": "contracts/wrappedTokens/USDC.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {WrappedERC20} from \"../WrappedERC20.sol\";\n\ncontract USDC is WrappedERC20 {\n\tconstructor(address _bridge) WrappedERC20(_bridge, \"USD Coin\", \"USDC\", 6) {}\n}"
  },
  {
    "path": "contracts/wrappedTokens/USDT.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {WrappedERC20} from \"../WrappedERC20.sol\";\n\ncontract USDT is WrappedERC20 {\n\tconstructor(address _bridge) WrappedERC20(_bridge, \"Tether USD\", \"USDT\", 6) {}\n}"
  },
  {
    "path": "contracts/wrappedTokens/WETH.sol",
    "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {WrappedERC20} from \"../WrappedERC20.sol\";\n\ncontract WETH is WrappedERC20 {\n\tconstructor(address _bridge) WrappedERC20(_bridge, \"Wrapped Ether\", \"WETH\", 18) {}\n}"
  },
  {
    "path": "deploy/OriginalTokenBridge.js",
    "content": "const LZ_ENDPOINTS = require(\"../constants/layerzeroEndpoints.json\")\nconst REMOTE_CHAIN_IDS = require(\"../constants/remoteChainIds.json\")\nconst WETHS = require(\"../constants/weths.json\")\n\nmodule.exports = async function ({ deployments, getNamedAccounts, network }) {\n\tconst { deploy } = deployments\n\tconst { deployer } = await getNamedAccounts()\n\tconsole.log(`Deployer address: ${deployer}`)\n\n\tconst lzEndpointAddress = LZ_ENDPOINTS[network.name]\n\tconsole.log(`[${network.name}] Endpoint Address: ${lzEndpointAddress}`)\n\n\tconst remoteChainId = REMOTE_CHAIN_IDS[network.name]\n\tconsole.log(`[${network.name}] Remote Chain Id: ${remoteChainId}`)\n\n\tconst weth = WETHS[network.name]\n\tconsole.log(`[${network.name}] WETH Address: ${weth}`)\n\n\tawait deploy(\"OriginalTokenBridge\", {\n\t\tfrom: deployer,\n\t\targs: [lzEndpointAddress, remoteChainId, weth],\n\t\tlog: true,\n\t\twaitConfirmations: 1,\n\t\tskipIfAlreadyDeployed: true\n\t})\n}\n\nmodule.exports.tags = [\"OriginalTokenBridge\"]"
  },
  {
    "path": "deploy/USDCMock.js",
    "content": "module.exports = async function ({ deployments, getNamedAccounts }) {\n\tconst { deploy } = deployments\n\tconst { deployer } = await getNamedAccounts()\n\tconsole.log(`Deployer address: ${deployer}`)\n\n\tconst name = \"USDC Mock\"\n\tconst symbol = \"USDC\"\n\tconst decimals = 6\n\n\tawait deploy(\"USDCMock\", {\n\t\tfrom: deployer,\n\t\targs: [name, symbol, decimals],\n\t\tlog: true,\n\t\twaitConfirmations: 1,\n\t\tskipIfAlreadyDeployed: true\n\t})\n}\n\nmodule.exports.tags = [\"USDCMock\"]"
  },
  {
    "path": "deploy/WrappedERC20.js",
    "content": "module.exports = async function ({ deployments, getNamedAccounts }) {\n\tconst { deploy } = deployments\n\tconst { deployer } = await getNamedAccounts()\n\tconsole.log(`Deployer address: ${deployer}`)\n\n\tconst wrappedTokenBridge = await ethers.getContract(\"WrappedTokenBridge\")\n\tconst wrappedTokens = [\"WETH\", \"USDC\", \"USDT\"]\n\n\tfor (let i = 0; i < wrappedTokens.length; i++) {\n\t\tawait deploy(wrappedTokens[i], {\n\t\t\tfrom: deployer,\n\t\t\targs: [wrappedTokenBridge.address],\n\t\t\tlog: true,\n\t\t\twaitConfirmations: 1,\n\t\t\tskipIfAlreadyDeployed: true\n\t\t})\n\t}\n}\n\nmodule.exports.tags = [\"WrappedERC20\"]"
  },
  {
    "path": "deploy/WrappedTokenBridge.js",
    "content": "const LZ_ENDPOINTS = require(\"../constants/layerzeroEndpoints.json\")\n\nmodule.exports = async function ({ deployments, getNamedAccounts, network }) {\n\tconst { deploy } = deployments\n\tconst { deployer } = await getNamedAccounts()\n\tconsole.log(`Deployer address: ${deployer}`)\n\n\tconst lzEndpointAddress = LZ_ENDPOINTS[network.name]\n\tconsole.log(`[${network.name}] Endpoint Address: ${lzEndpointAddress}`)\n\n\tawait deploy(\"WrappedTokenBridge\", {\n\t\tfrom: deployer,\n\t\targs: [lzEndpointAddress],\n\t\tlog: true,\n\t\twaitConfirmations: 1,\n\t\tskipIfAlreadyDeployed: true\n\t})\n}\n\nmodule.exports.tags = [\"WrappedTokenBridge\"]"
  },
  {
    "path": "deployments/bsc/.chainId",
    "content": "56"
  },
  {
    "path": "deployments/bsc/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeETH\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0xb3cc943fbfa26fd5d5572de62e9624ad108a73df6413a3632840f7150730ab06\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n    \"transactionIndex\": 88,\n    \"gasUsed\": \"3410865\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000800000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000400000000040000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000020000000000000000000000000040000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xde742a3f6237d83e46657b4aa51d2eb8b2c75e17931e942e33a9fe65450830b7\",\n    \"transactionHash\": \"0xb3cc943fbfa26fd5d5572de62e9624ad108a73df6413a3632840f7150730ab06\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 88,\n        \"blockNumber\": 26065836,\n        \"transactionHash\": \"0xb3cc943fbfa26fd5d5572de62e9624ad108a73df6413a3632840f7150730ab06\",\n        \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000004a8a8503360f3e44c945f34c7003b17827064e90\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 286,\n        \"blockHash\": \"0xde742a3f6237d83e46657b4aa51d2eb8b2c75e17931e942e33a9fe65450830b7\"\n      }\n    ],\n    \"blockNumber\": 26065836,\n    \"cumulativeGasUsed\": \"11723663\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n    153,\n    \"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeETH\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ETH to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ETH to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x237d9a4fc316a9abff2f12f4ee527aae15289e840736e8113bd3049832cc7700\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d01528181611711015281816117c9015281816117f30152818161186a0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161147301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ETH to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 2900,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 3016,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 5194,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 4442,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 4447,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4452,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4455,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/bsc/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/bsc-testnet/.chainId",
    "content": "97"
  },
  {
    "path": "deployments/bsc-testnet/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0xFbDaE4aBfB672C630a22219Bed27bc4ee2546488\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeNative\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0xb266f4e8b487b189b30b2cb394a5cae9c58eade3b3983e561cbf50ac87897695\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xFbDaE4aBfB672C630a22219Bed27bc4ee2546488\",\n    \"transactionIndex\": 2,\n    \"gasUsed\": \"3410877\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000800000000000000000000400000000000000000000000000000000000080000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000020000000000000000000800000000000000000000000000000000401000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x1b02b378437e6a7bf58f5aeb765b203f0e214dc397903274a516126a5bcae380\",\n    \"transactionHash\": \"0xb266f4e8b487b189b30b2cb394a5cae9c58eade3b3983e561cbf50ac87897695\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 2,\n        \"blockNumber\": 30870247,\n        \"transactionHash\": \"0xb266f4e8b487b189b30b2cb394a5cae9c58eade3b3983e561cbf50ac87897695\",\n        \"address\": \"0xFbDaE4aBfB672C630a22219Bed27bc4ee2546488\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 1,\n        \"blockHash\": \"0x1b02b378437e6a7bf58f5aeb765b203f0e214dc397903274a516126a5bcae380\"\n      }\n    ],\n    \"blockNumber\": 30870247,\n    \"cumulativeGasUsed\": \"3506294\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x6Fcb97553D41516Cb228ac03FdC8B9a0a9df04A1\",\n    10153,\n    \"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"0407409643605285ad8f1f36d989de15\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeNative\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges native gas token (e.g. ETH) to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0xe06dc2838b0af062d21f6a29f8f3698e5d210dd9a5509f8a1d0dd12b56451210\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d015281816114660152818161151e01528181611548015281816115bf0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161162301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges native gas token (e.g. ETH) to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 1583,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 1699,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3265,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 2513,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 2518,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2523,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2526,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/bsc-testnet/USDCMock.json",
    "content": "{\n  \"address\": \"0x6795cbCF57760947b34eFf59E7465611B80A615b\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_name\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_symbol\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"_decimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xa7288adc2a4138be04c486d71f47c6d51cd343de76478e555336efa2fceec8dc\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0x6795cbCF57760947b34eFf59E7465611B80A615b\",\n    \"transactionIndex\": 4,\n    \"gasUsed\": \"627552\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xdc417622f57658f26e5a2b3fefe562dc456a44e58cca89ddf4d737c1cc0fad18\",\n    \"transactionHash\": \"0xa7288adc2a4138be04c486d71f47c6d51cd343de76478e555336efa2fceec8dc\",\n    \"logs\": [],\n    \"blockNumber\": 29657193,\n    \"cumulativeGasUsed\": \"987589\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"USDC Mock\",\n    \"USDC\",\n    18\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_name\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_symbol\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"_decimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\\\"},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/test/USDCMock.sol\\\":\\\"USDCMock\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/test/USDCMock.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\ncontract USDCMock is ERC20 {\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    function mint(address _to, uint _amount) external {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n}\\\",\\\"keccak256\\\":\\\"0xbc161462e7e1c866462e178de6e6d9f1ef4cca2c592a1171b957f967e44a21d0\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60a06040523480156200001157600080fd5b5060405162000c8738038062000c8783398101604081905262000034916200012a565b828260036200004483826200023e565b5060046200005382826200023e565b50505060ff16608052506200030a9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008d57600080fd5b81516001600160401b0380821115620000aa57620000aa62000065565b604051601f8301601f19908116603f01168101908282118183101715620000d557620000d562000065565b81604052838152602092508683858801011115620000f257600080fd5b600091505b83821015620001165785820183015181830184015290820190620000f7565b600093810190920192909252949350505050565b6000806000606084860312156200014057600080fd5b83516001600160401b03808211156200015857600080fd5b62000166878388016200007b565b945060208601519150808211156200017d57600080fd5b506200018c868287016200007b565b925050604084015160ff81168114620001a457600080fd5b809150509250925092565b600181811c90821680620001c457607f821691505b602082108103620001e557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023957600081815260208120601f850160051c81016020861015620002145750805b601f850160051c820191505b81811015620002355782815560010162000220565b5050505b505050565b81516001600160401b038111156200025a576200025a62000065565b62000272816200026b8454620001af565b84620001eb565b602080601f831160018114620002aa5760008415620002915750858301515b600019600386901b1c1916600185901b17855562000235565b600085815260208120601f198616915b82811015620002db57888601518255948401946001909101908401620002ba565b5085821015620002fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161096162000326600039600061012601526109616000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"decimals()\": {\n        \"details\": \"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {},\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/bsc-testnet/solcInputs/0407409643605285ad8f1f36d989de15.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/bsc-testnet/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao/.chainId",
    "content": "1116"
  },
  {
    "path": "deployments/coredao/USDC.json",
    "content": "{\n  \"address\": \"0xa4151B2B3e269645181dCcF2D426cE75fcbDeca9\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xbb08151d320ad1675d3ca3b0809fb4d63972d2d9c86b49ce3e18690d142492a2\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0xa4151B2B3e269645181dCcF2D426cE75fcbDeca9\",\n    \"transactionIndex\": 10,\n    \"gasUsed\": \"767689\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xa154de88442f0d00c8dafdf78f6f16590b98ce00e72769054345090b6cb58152\",\n    \"transactionHash\": \"0xbb08151d320ad1675d3ca3b0809fb4d63972d2d9c86b49ce3e18690d142492a2\",\n    \"logs\": [],\n    \"blockNumber\": 1252040,\n    \"cumulativeGasUsed\": \"1766883\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"7d3bbfb19556a475308339cf2159a0b9\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/USDC.sol\\\":\\\"USDC\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/USDC.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract USDC is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"USD Coin\\\\\\\", \\\\\\\"USDC\\\\\\\", 6) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x904701139ead02e0771a63b2f515aca74d4e4df1e686b032ceb9d20029c20a86\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee138038062000ee1833981016040819052620000349162000112565b80604051806040016040528060088152602001672aa9a21021b7b4b760c11b815250604051806040016040528060048152602001635553444360e01b815250600682828160039081620000889190620001e9565b506004620000978282620001e9565b5050506001600160a01b038416620000f55760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002b5565b6000602082840312156200012557600080fd5b81516001600160a01b03811681146200013d57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016f57607f821691505b6020821081036200019057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e457600081815260208120601f850160051c81016020861015620001bf5750805b601f850160051c820191505b81811015620001e057828155600101620001cb565b5050505b505050565b81516001600160401b0381111562000205576200020562000144565b6200021d816200021684546200015a565b8462000196565b602080601f8311600181146200025557600084156200023c5750858301515b600019600386901b1c1916600185901b178555620001e0565b600085815260208120601f198616915b82811015620002865788860151825594840194600190910190840162000265565b5085821015620002a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002e9600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea2646970667358221220c412275cb104e0fb48d29b5d6e6040d6461e3e02c8cbb522fecfe9979a35cbe564736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea2646970667358221220c412275cb104e0fb48d29b5d6e6040d6461e3e02c8cbb522fecfe9979a35cbe564736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao/USDT.json",
    "content": "{\n  \"address\": \"0x900101d06A7426441Ae63e9AB3B9b0F63Be145F1\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0x7eca4aa5031b252b7e3e93704635afaac2ee23510a1f0edbb3aeb2aea065415f\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0x900101d06A7426441Ae63e9AB3B9b0F63Be145F1\",\n    \"transactionIndex\": 3,\n    \"gasUsed\": \"767709\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xacd9d9ef77e00a8b6fb39ffd0443b72824c551e8fafc6b6eb4481fa5ec95b8fd\",\n    \"transactionHash\": \"0x7eca4aa5031b252b7e3e93704635afaac2ee23510a1f0edbb3aeb2aea065415f\",\n    \"logs\": [],\n    \"blockNumber\": 1252043,\n    \"cumulativeGasUsed\": \"963218\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"7d3bbfb19556a475308339cf2159a0b9\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/USDT.sol\\\":\\\"USDT\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/USDT.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract USDT is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"Tether USD\\\\\\\", \\\\\\\"USDT\\\\\\\", 6) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0xaf5d19a03b6fd010008772473a3af8ec90c846555b1afd0479a51b36b801d887\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee338038062000ee3833981016040819052620000349162000114565b806040518060400160405280600a81526020016915195d1a195c881554d160b21b815250604051806040016040528060048152602001631554d11560e21b8152506006828281600390816200008a9190620001eb565b506004620000998282620001eb565b5050506001600160a01b038416620000f75760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002b7565b6000602082840312156200012757600080fd5b81516001600160a01b03811681146200013f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017157607f821691505b6020821081036200019257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e657600081815260208120601f850160051c81016020861015620001c15750805b601f850160051c820191505b81811015620001e257828155600101620001cd565b5050505b505050565b81516001600160401b0381111562000207576200020762000146565b6200021f816200021884546200015c565b8462000198565b602080601f8311600181146200025757600084156200023e5750858301515b600019600386901b1c1916600185901b178555620001e2565b600085815260208120601f198616915b82811015620002885788860151825594840194600190910190840162000267565b5085821015620002a75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002eb600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212202b03de00bdcec5d128fdf55913c0874cf04abfc3e84abc2d32f6b952493b99d164736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212202b03de00bdcec5d128fdf55913c0874cf04abfc3e84abc2d32f6b952493b99d164736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao/WETH.json",
    "content": "{\n  \"address\": \"0xeAB3aC417c4d6dF6b143346a46fEe1B847B50296\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0x973233cb7e4829c44d0eedf2e3a45b49d907b0c5248095fae23299f61a8e6abc\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0xeAB3aC417c4d6dF6b143346a46fEe1B847B50296\",\n    \"transactionIndex\": 14,\n    \"gasUsed\": \"767769\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x2768ca19c50b899cffbf2c3221eeef8f8422d6e38726777726687ce68c058847\",\n    \"transactionHash\": \"0x973233cb7e4829c44d0eedf2e3a45b49d907b0c5248095fae23299f61a8e6abc\",\n    \"logs\": [],\n    \"blockNumber\": 1252038,\n    \"cumulativeGasUsed\": \"1843026\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"7d3bbfb19556a475308339cf2159a0b9\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/WETH.sol\\\":\\\"WETH\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/WETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract WETH is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"Wrapped Ether\\\\\\\", \\\\\\\"WETH\\\\\\\", 18) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x503eb68bbcf708aa75ea1b7adb31e1f37e98b2f0e372f232ca7c0ec398c9ca8c\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee638038062000ee6833981016040819052620000349162000117565b806040518060400160405280600d81526020016c2bb930b83832b21022ba3432b960991b815250604051806040016040528060048152602001630ae8aa8960e31b8152506012828281600390816200008d9190620001ee565b5060046200009c8282620001ee565b5050506001600160a01b038416620000fa5760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002ba565b6000602082840312156200012a57600080fd5b81516001600160a01b03811681146200014257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017457607f821691505b6020821081036200019557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e957600081815260208120601f850160051c81016020861015620001c45750805b601f850160051c820191505b81811015620001e557828155600101620001d0565b5050505b505050565b81516001600160401b038111156200020a576200020a62000149565b62000222816200021b84546200015f565b846200019b565b602080601f8311600181146200025a5760008415620002415750858301515b600019600386901b1c1916600185901b178555620001e5565b600085815260208120601f198616915b828110156200028b578886015182559484019460019091019084016200026a565b5085821015620002aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002ee600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212206f935d2c713a94164c7ce945159eb65662779ae43a61a590d558d09351db1a4a64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212206f935d2c713a94164c7ce945159eb65662779ae43a61a590d558d09351db1a4a64736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao/WrappedTokenBridge.json",
    "content": "{\n  \"address\": \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"withdrawalFeeBps\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetWithdrawalFeeBps\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"UnwrapToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WrapToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"TOTAL_BPS\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"unwrapWeth\",\n          \"type\": \"bool\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"localToRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"remoteToLocal\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_withdrawalFeeBps\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setWithdrawalFeeBps\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLocked\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"withdrawalFeeBps\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xd9bc2dddc319471d43119c5468e42f7432f0dbe0458ed874b0886a9039d4a88a\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\",\n    \"transactionIndex\": 1,\n    \"gasUsed\": \"2820077\",\n    \"logsBloom\": \"0x00000004000000000000000000000000000000000000000000800000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000001000000000000000001000000400000000000000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000020000000000000000000000000040000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x590e578dcec67393967714ce52cd5242e5b459adeb5d2a8f8468802d6aa02d2d\",\n    \"transactionHash\": \"0xd9bc2dddc319471d43119c5468e42f7432f0dbe0458ed874b0886a9039d4a88a\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 1,\n        \"blockNumber\": 1251606,\n        \"transactionHash\": \"0xd9bc2dddc319471d43119c5468e42f7432f0dbe0458ed874b0886a9039d4a88a\",\n        \"address\": \"0xA4218e1F39DA4AaDaC971066458Db56e901bcbdE\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000004a8a8503360f3e44c945f34c7003b17827064e90\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 12,\n        \"blockHash\": \"0x590e578dcec67393967714ce52cd5242e5b459adeb5d2a8f8468802d6aa02d2d\"\n      }\n    ],\n    \"blockNumber\": 1251606,\n    \"cumulativeGasUsed\": \"3080701\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x9740FF91F1985D8d2B71494aE1A2f723bb3Ed9E4\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"7d3bbfb19556a475308339cf2159a0b9\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"withdrawalFeeBps\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetWithdrawalFeeBps\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"UnwrapToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WrapToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"TOTAL_BPS\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"unwrapWeth\\\",\\\"type\\\":\\\"bool\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"localToRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"remoteToLocal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_withdrawalFeeBps\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setWithdrawalFeeBps\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLocked\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"withdrawalFeeBps\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\\\":{\\\"details\\\":\\\"Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"stateVariables\\\":{\\\"localToRemote\\\":{\\\"details\\\":\\\"[local token] => [remote chain] => [remote token]\\\"},\\\"remoteToLocal\\\":{\\\"details\\\":\\\"[remote token] => [remote chain] => [local token]\\\"},\\\"totalValueLocked\\\":{\\\"details\\\":\\\"[remote chain] => [remote token] => [bridged amount]\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"TOTAL_BPS()\\\":{\\\"notice\\\":\\\"Total bps representing 100%\\\"},\\\"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges `localToken` to the remote chain\\\"},\\\"localToRemote(address,uint16)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged\\\"},\\\"remoteToLocal(address,uint16)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"totalValueLocked(uint16,address)\\\":{\\\"notice\\\":\\\"Total value bridged per token and remote chains\\\"},\\\"withdrawalFeeBps()\\\":{\\\"notice\\\":\\\"An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/WrappedTokenBridge.sol\\\":\\\"WrappedTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWrappedERC20} from \\\\\\\"./interfaces/IWrappedERC20.sol\\\\\\\";\\\\n\\\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\\\ncontract WrappedTokenBridge is TokenBridgeBase {\\\\n    /// @notice Total bps representing 100%\\\\n    uint16 public constant TOTAL_BPS = 10000;\\\\n\\\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\\\n    uint16 public withdrawalFeeBps;\\\\n\\\\n    /// @notice Tokens that can be bridged\\\\n    /// @dev [local token] => [remote chain] => [remote token]\\\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\\\n\\\\n    /// @notice Tokens that can be bridged\\\\n    /// @dev [remote token] => [remote chain] => [local token]\\\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\\\n\\\\n    /// @notice Total value bridged per token and remote chains\\\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\\\n\\\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\\\n\\\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\\\n\\\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: invalid local token\\\\\\\");\\\\n        require(remoteToken != address(0), \\\\\\\"WrappedTokenBridge: invalid remote token\\\\\\\");\\\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\\\\\"WrappedTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\\\n    }\\\\n\\\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\\\\\"WrappedTokenBridge: invalid withdrawal fee bps\\\\\\\");\\\\n        withdrawalFeeBps = _withdrawalFeeBps;\\\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges `localToken` to the remote chain\\\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: invalid token\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"WrappedTokenBridge: invalid to\\\\\\\");\\\\n        require(amount > 0, \\\\\\\"WrappedTokenBridge: invalid amount\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\\\n\\\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\\\n        require(remoteToken != address(0), \\\\\\\"WrappedTokenBridge: token is not supported\\\\\\\");\\\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\\\\\"WrappedTokenBridge: insufficient liquidity on the destination\\\\\\\");\\\\n\\\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\\\n\\\\n        uint withdrawalAmount = amount;\\\\n        if (withdrawalFeeBps > 0) {\\\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\\\n            withdrawalAmount -= withdrawalFee;\\\\n        }\\\\n\\\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\\\n        require(packetType == PT_MINT, \\\\\\\"WrappedTokenBridge: unknown packet type\\\\\\\");\\\\n\\\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\\\n        IWrappedERC20(localToken).mint(to, amount);\\\\n\\\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\\\n    }\\\\n}\\\",\\\"keccak256\\\":\\\"0x77a6a1de508e90beb263676e0b8d0e1f1f7ec8b2b61366d623a29fc9dbeabad3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\n\\\\ninterface IWrappedERC20 is IERC20 {\\\\n    function mint(address _to, uint _amount) external;\\\\n\\\\n    function burn(address _from, uint _amount) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4b81d06696b2ad1bebbe83762ded7f28401e092112ae0b43c4bcde4a10d2244d\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60a06040523480156200001157600080fd5b5060405162003274380380620032748339810160408190526200003491620000ac565b80808062000042336200005c565b6001600160a01b03166080525050600160055550620000de565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000bf57600080fd5b81516001600160a01b0381168114620000d757600080fd5b9392505050565b60805161314262000132600039600081816105cf01528181610757015281816109a601528181610a2f01528181610b51015281816111450152818161162201528181611b6d015261206c01526131426000f3fe6080604052600436106102035760003560e01c8063950c8a7411610118578063d1deba1f116100a0578063eab45d9c1161006f578063eab45d9c146106ba578063eb8d72b7146106da578063ed629c5c146106fa578063f2fde38b14610714578063f5ecbdbc1461073457600080fd5b8063d1deba1f14610651578063d3cd52bc14610664578063df2a5b3b1461067a578063e6e7dd001461069a57600080fd5b8063a6c3d165116100e7578063a6c3d1651461059d578063b353aaa7146105bd578063b7cb1f7f146105f1578063baf3292d14610611578063cbed8b9c1461063157600080fd5b8063950c8a74146104e45780639a973587146105045780639b51251e1461053c5780639f38369a1461057d57600080fd5b80635b8c41e61161019b5780637533d7881161016a5780637533d78814610419578063879762e2146104465780638cfd8f5c146104595780638da5cb5b1461049157806394723256146104af57600080fd5b80635b8c41e61461037257806366ad5c8a146103cf57806368ea28b0146103ef578063715018a61461040457600080fd5b806310ddb137116101d757806310ddb137146102db5780633d8b38f6146102fb57806342d65a8d1461032b57806346f6f9b51461034b57600080fd5b80621d35671461020857806304336bb31461022a57806307e0db1714610262578063083f61fe14610282575b600080fd5b34801561021457600080fd5b5061022861022336600461251d565b610754565b005b34801561023657600080fd5b5060065461024a90610100900461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561026e57600080fd5b5061022861027d3660046125b0565b610985565b34801561028e57600080fd5b506102c361029d3660046125e0565b60076020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610259565b3480156102e757600080fd5b506102286102f63660046125b0565b610a0e565b34801561030757600080fd5b5061031b610316366004612615565b610a66565b6040519015158152602001610259565b34801561033757600080fd5b50610228610346366004612615565b610b32565b34801561035757600080fd5b50610360600081565b60405160ff9091168152602001610259565b34801561037e57600080fd5b506103c161038d36600461272a565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610259565b3480156103db57600080fd5b506102286103ea36600461251d565b610bb8565b3480156103fb57600080fd5b50610360600181565b34801561041057600080fd5b50610228610c94565b34801561042557600080fd5b506104396104343660046125b0565b610c9e565b60405161025991906127d7565b6102286104543660046127fa565b610d38565b34801561046557600080fd5b506103c16104743660046128a4565b600260209081526000928352604080842090915290825290205481565b34801561049d57600080fd5b506000546001600160a01b03166102c3565b3480156104bb57600080fd5b506104cf6104ca3660046128c0565b6110f0565b60408051928352602083019190915201610259565b3480156104f057600080fd5b506003546102c3906001600160a01b031681565b34801561051057600080fd5b506103c161051f366004612920565b600960209081526000928352604080842090915290825290205481565b34801561054857600080fd5b506102c36105573660046125e0565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b34801561058957600080fd5b506104396105983660046125b0565b6111d9565b3480156105a957600080fd5b506102286105b8366004612615565b6112ef565b3480156105c957600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b3480156105fd57600080fd5b5061022861060c366004612957565b611378565b34801561061d57600080fd5b5061022861062c3660046129a0565b6115a6565b34801561063d57600080fd5b5061022861064c3660046129bd565b611603565b61022861065f36600461251d565b611698565b34801561067057600080fd5b5061024a61271081565b34801561068657600080fd5b50610228610695366004612a2b565b6118ae565b3480156106a657600080fd5b506102286106b53660046125b0565b611960565b3480156106c657600080fd5b506102286106d5366004612a67565b611a20565b3480156106e657600080fd5b506102286106f5366004612615565b611a69565b34801561070657600080fd5b5060065461031b9060ff1681565b34801561072057600080fd5b5061022861072f3660046129a0565b611ac3565b34801561074057600080fd5b5061043961074f366004612a82565b611b3c565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107d15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546107ef90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612acf565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b50505050509050805186869050148015610883575060008151115b80156108ab5750805160208201206040516108a19088908890612b09565b6040518091039020145b6109065760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107c8565b61097c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611bed92505050565b50505050505050565b61098d611c66565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156109f357600080fd5b505af1158015610a07573d6000803e3d6000fd5b5050505050565b610a16611c66565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016109d9565b61ffff831660009081526001602052604081208054829190610a8790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390612acf565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b505050505090508383604051610b17929190612b09565b60405180910390208180519060200120149150509392505050565b610b3a611c66565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610b8a90869086908690600401612b42565b600060405180830381600087803b158015610ba457600080fd5b505af115801561097c573d6000803e3d6000fd5b333014610c165760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107c8565b610c8c8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611cc092505050565b505050505050565b610c9c611c66565b565b60016020526000908152604090208054610cb790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce390612acf565b8015610d305780601f10610d0557610100808354040283529160200191610d30565b820191906000526020600020905b815481529060010190602001808311610d1357829003601f168201915b505050505081565b610d40611e74565b6001600160a01b038716610da05760405162461bcd60e51b815260206004820152602160248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f6b656044820152603760f91b60648201526084016107c8565b6001600160a01b038416610df65760405162461bcd60e51b815260206004820152601e60248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f000060448201526064016107c8565b60008511610e515760405162461bcd60e51b815260206004820152602260248201527f57726170706564546f6b656e4272696467653a20696e76616c696420616d6f756044820152611b9d60f21b60648201526084016107c8565b610e5d86600183611ecd565b6001600160a01b03808816600090815260076020908152604080832061ffff8b1684529091529020541680610ea45760405162461bcd60e51b81526004016107c890612b60565b61ffff871660009081526009602090815260408083206001600160a01b0385168452909152902054861115610f415760405162461bcd60e51b815260206004820152603d60248201527f57726170706564546f6b656e4272696467653a20696e73756666696369656e7460448201527f206c6971756964697479206f6e207468652064657374696e6174696f6e00000060648201526084016107c8565b61ffff871660009081526009602090815260408083206001600160a01b038516845290915281208054889290610f78908490612bc0565b9091555050604051632770a7eb60e21b8152336004820152602481018790526001600160a01b03891690639dc29fac90604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050600654889250610100900461ffff16159050611028576006546000906127109061100e90610100900461ffff168a612bd9565b6110189190612bf0565b90506110248183612bc0565b9150505b60408051600160208201526001600160a01b038085169282019290925290871660608201526080810182905260a0810188905285151560c082015260009060e00160408051601f1981840301815291905290506110a4898261108d60208901896129a0565b61109d60408a0160208b016129a0565b8834611f4e565b7f3b661011d9e0ff8f0dc432bac4ed79eabf70cf52596ed9de985810ef36689e9e8a848b8a8c6040516110db959493929190612c12565b60405180910390a150505061097c6001600555565b6040805160016020820152308183018190526060820181905260006080830181905260a0830181905260c08084018290528451808503909101815260e084019485905263040a7bb160e41b90945292839290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340a7bb109161118b918b919086908c908c908c9060e401612c49565b6040805180830381865afa1580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb9190612c9f565b925092505094509492505050565b61ffff81166000908152600160205260408120805460609291906111fc90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461122890612acf565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b5050505050905080516000036112cd5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016107c8565b6112e86000601483516112e09190612bc0565b8391906120e8565b9392505050565b6112f7611c66565b81813060405160200161130c93929190612cc3565b60408051601f1981840301815291815261ffff85166000908152600160205220906113379082612d2f565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161136b93929190612b42565b60405180910390a1505050565b611380611c66565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20696e76616c6964206c6f636160448201526636103a37b5b2b760c91b60648201526084016107c8565b6001600160a01b03811661144d5760405162461bcd60e51b815260206004820152602860248201527f57726170706564546f6b656e4272696467653a20696e76616c69642072656d6f6044820152673a32903a37b5b2b760c11b60648201526084016107c8565b6001600160a01b03838116600090815260076020908152604080832061ffff87168452909152902054161580156114ab57506001600160a01b03818116600090815260086020908152604080832061ffff8716845290915290205416155b61150c5760405162461bcd60e51b815260206004820152602c60248201527f57726170706564546f6b656e4272696467653a20746f6b656e20616c7265616460448201526b1e481c9959da5cdd195c995960a21b60648201526084016107c8565b6001600160a01b03838116600081815260076020908152604080832061ffff881680855290835281842080546001600160a01b031990811697891697881790915586855260088452828520828652845293829020805490941685179093558051938452908301919091528101919091527f45e419139d22e1853a154f058e7b60373892104bf13079aa3a156a73f84f637d9060600161136b565b6115ae611c66565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61160b611c66565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061165f9088908890889088908890600401612dee565b600060405180830381600087803b15801561167957600080fd5b505af115801561168d573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bb9088908890612b09565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173b5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107c8565b80838360405161174c929190612b09565b6040518091039020146117ab5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107c8565b61ffff871660009081526004602052604080822090516117ce9089908990612b09565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611866918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cc092505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189d959493929190612e27565b60405180910390a150505050505050565b6118b6611c66565b600081116118fe5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016107c8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161136b565b611968611c66565b61271061ffff8216106119d45760405162461bcd60e51b815260206004820152602e60248201527f57726170706564546f6b656e4272696467653a20696e76616c6964207769746860448201526d64726177616c206665652062707360901b60648201526084016107c8565b6006805462ffff00191661010061ffff8416908102919091179091556040519081527f6d0c3abfe7f8a420e34f51060ff6519e1b0f47249f7043e76abc83f61b9f99f7906020016115f8565b611a28611c66565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115f8565b611a71611c66565b61ffff83166000908152600160205260409020611a8f828483612e62565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161136b93929190612b42565b611acb611c66565b6001600160a01b038116611b305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b611b39816121f5565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611be49190810190612f21565b95945050505050565b600080611c505a60966366ad5c8a60e01b89898989604051602401611c159493929190612f8e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612245565b9150915081610c8c57610c8c86868686856122cf565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60008060008084806020019051810190611cda9190612fcc565b9296509094509250905060ff841615611d455760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20756e6b6e6f776e207061636b6044820152666574207479706560c81b60648201526084016107c8565b6001600160a01b03808416600090815260086020908152604080832061ffff8d1684529091529020541680611d8c5760405162461bcd60e51b81526004016107c890612b60565b61ffff891660009081526009602090815260408083206001600160a01b038816845290915281208054849290611dc3908490613025565b90915550506040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b505050507ff865724e934515a839f76ebdd6a53df378816b384e8c10270332411676c48dd581858b8686604051611e61959493929190612c12565b60405180910390a1505050505050505050565b600260055403611ec65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c8565b6002600555565b60065460ff1615611eea57611ee5838383600061236c565b505050565b805115611ee55760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016107c8565b61ffff861660009081526001602052604081208054611f6c90612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890612acf565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b5050505050905080516000036120565760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107c8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009084906120ad908b9086908c908c908c908c90600401613038565b6000604051808303818588803b1580156120c657600080fd5b505af11580156120da573d6000803e3d6000fd5b505050505050505050505050565b6060816120f681601f613025565b10156121355760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016107c8565b61213f8284613025565b845110156121835760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016107c8565b6060821580156121a257604051915060008252602082016040526121ec565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156121db5780518352602092830192016121c3565b5050858452601f01601f1916604052505b50949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000606060008060008661ffff166001600160401b0381111561226a5761226a612667565b6040519080825280601f01601f191660200182016040528015612294576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156122b6578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516123009190613092565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061235d90879087908790879087906130ae565b60405180910390a15050505050565b60006123778361244b565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906123a9908490613025565b9050600081116123fb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016107c8565b80821015610c8c5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016107c8565b600060228251101561249f5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016107c8565b506022015190565b803561ffff811681146124b957600080fd5b919050565b60008083601f8401126124d057600080fd5b5081356001600160401b038111156124e757600080fd5b6020830191508360208285010111156124ff57600080fd5b9250929050565b80356001600160401b03811681146124b957600080fd5b6000806000806000806080878903121561253657600080fd5b61253f876124a7565b955060208701356001600160401b038082111561255b57600080fd5b6125678a838b016124be565b909750955085915061257b60408a01612506565b9450606089013591508082111561259157600080fd5b5061259e89828a016124be565b979a9699509497509295939492505050565b6000602082840312156125c257600080fd5b6112e8826124a7565b6001600160a01b0381168114611b3957600080fd5b600080604083850312156125f357600080fd5b82356125fe816125cb565b915061260c602084016124a7565b90509250929050565b60008060006040848603121561262a57600080fd5b612633846124a7565b925060208401356001600160401b0381111561264e57600080fd5b61265a868287016124be565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126a5576126a5612667565b604052919050565b60006001600160401b038211156126c6576126c6612667565b50601f01601f191660200190565b600082601f8301126126e557600080fd5b81356126f86126f3826126ad565b61267d565b81815284602083860101111561270d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561273f57600080fd5b612748846124a7565b925060208401356001600160401b0381111561276357600080fd5b61276f868287016126d4565b92505061277e60408501612506565b90509250925092565b60005b838110156127a257818101518382015260200161278a565b50506000910152565b600081518084526127c3816020860160208601612787565b601f01601f19169290920160200192915050565b6020815260006112e860208301846127ab565b803580151581146124b957600080fd5b600080600080600080600087890361010081121561281757600080fd5b8835612822816125cb565b975061283060208a016124a7565b9650604089013595506060890135612847816125cb565b945061285560808a016127ea565b93506040609f198201121561286957600080fd5b5060a08801915060e08801356001600160401b0381111561288957600080fd5b6128958a828b016126d4565b91505092959891949750929550565b600080604083850312156128b757600080fd5b6125fe836124a7565b600080600080606085870312156128d657600080fd5b6128df856124a7565b93506128ed602086016127ea565b925060408501356001600160401b0381111561290857600080fd5b612914878288016124be565b95989497509550505050565b6000806040838503121561293357600080fd5b61293c836124a7565b9150602083013561294c816125cb565b809150509250929050565b60008060006060848603121561296c57600080fd5b8335612977816125cb565b9250612985602085016124a7565b91506040840135612995816125cb565b809150509250925092565b6000602082840312156129b257600080fd5b81356112e8816125cb565b6000806000806000608086880312156129d557600080fd5b6129de866124a7565b94506129ec602087016124a7565b93506040860135925060608601356001600160401b03811115612a0e57600080fd5b612a1a888289016124be565b969995985093965092949392505050565b600080600060608486031215612a4057600080fd5b612a49846124a7565b9250612a57602085016124a7565b9150604084013590509250925092565b600060208284031215612a7957600080fd5b6112e8826127ea565b60008060008060808587031215612a9857600080fd5b612aa1856124a7565b9350612aaf602086016124a7565b92506040850135612abf816125cb565b9396929550929360600135925050565b600181811c90821680612ae357607f821691505b602082108103612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611be4604083018486612b19565b6020808252602a908201527f57726170706564546f6b656e4272696467653a20746f6b656e206973206e6f74604082015269081cdd5c1c1bdc9d195960b21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115612bd357612bd3612baa565b92915050565b8082028115828204841417612bd357612bd3612baa565b600082612c0d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039586168152938516602085015261ffff9290921660408401529092166060820152608081019190915260a00190565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612c77908301876127ab565b85151560608401528281036080840152612c92818587612b19565b9998505050505050505050565b60008060408385031215612cb257600080fd5b505080516020909101519092909150565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611ee557600081815260208120601f850160051c81016020861015612d105750805b601f850160051c820191505b81811015610c8c57828155600101612d1c565b81516001600160401b03811115612d4857612d48612667565b612d5c81612d568454612acf565b84612ce9565b602080601f831160018114612d915760008415612d795750858301515b600019600386901b1c1916600185901b178555610c8c565b600085815260208120601f198616915b82811015612dc057888601518255948401946001909101908401612da1565b5085821015612dde5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612e1c608083018486612b19565b979650505050505050565b61ffff86168152608060208201526000612e45608083018688612b19565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b03831115612e7957612e79612667565b612e8d83612e878354612acf565b83612ce9565b6000601f841160018114612ec15760008515612ea95750838201355b600019600387901b1c1916600186901b178355610a07565b600083815260209020601f19861690835b82811015612ef25786850135825560209485019460019092019101612ed2565b5086821015612f0f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612f3357600080fd5b81516001600160401b03811115612f4957600080fd5b8201601f81018413612f5a57600080fd5b8051612f686126f3826126ad565b818152856020838501011115612f7d57600080fd5b611be4826020830160208601612787565b61ffff85168152608060208201526000612fab60808301866127ab565b6001600160401b03851660408401528281036060840152612e1c81856127ab565b60008060008060808587031215612fe257600080fd5b845160ff81168114612ff357600080fd5b6020860151909450613004816125cb565b6040860151909350613015816125cb565b6060959095015193969295505050565b80820180821115612bd357612bd3612baa565b61ffff8716815260c06020820152600061305560c08301886127ab565b828103604084015261306781886127ab565b6001600160a01b0387811660608601528616608085015283810360a08501529050612c9281856127ab565b600082516130a4818460208701612787565b9190910192915050565b61ffff8616815260a0602082015260006130cb60a08301876127ab565b6001600160401b038616604084015282810360608401526130ec81866127ab565b9050828103608084015261310081856127ab565b9897505050505050505056fea2646970667358221220f306bed76e230975e2653e437a577dbce09721cf2f78f88c5c3cef61699f6c5f64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102035760003560e01c8063950c8a7411610118578063d1deba1f116100a0578063eab45d9c1161006f578063eab45d9c146106ba578063eb8d72b7146106da578063ed629c5c146106fa578063f2fde38b14610714578063f5ecbdbc1461073457600080fd5b8063d1deba1f14610651578063d3cd52bc14610664578063df2a5b3b1461067a578063e6e7dd001461069a57600080fd5b8063a6c3d165116100e7578063a6c3d1651461059d578063b353aaa7146105bd578063b7cb1f7f146105f1578063baf3292d14610611578063cbed8b9c1461063157600080fd5b8063950c8a74146104e45780639a973587146105045780639b51251e1461053c5780639f38369a1461057d57600080fd5b80635b8c41e61161019b5780637533d7881161016a5780637533d78814610419578063879762e2146104465780638cfd8f5c146104595780638da5cb5b1461049157806394723256146104af57600080fd5b80635b8c41e61461037257806366ad5c8a146103cf57806368ea28b0146103ef578063715018a61461040457600080fd5b806310ddb137116101d757806310ddb137146102db5780633d8b38f6146102fb57806342d65a8d1461032b57806346f6f9b51461034b57600080fd5b80621d35671461020857806304336bb31461022a57806307e0db1714610262578063083f61fe14610282575b600080fd5b34801561021457600080fd5b5061022861022336600461251d565b610754565b005b34801561023657600080fd5b5060065461024a90610100900461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561026e57600080fd5b5061022861027d3660046125b0565b610985565b34801561028e57600080fd5b506102c361029d3660046125e0565b60076020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610259565b3480156102e757600080fd5b506102286102f63660046125b0565b610a0e565b34801561030757600080fd5b5061031b610316366004612615565b610a66565b6040519015158152602001610259565b34801561033757600080fd5b50610228610346366004612615565b610b32565b34801561035757600080fd5b50610360600081565b60405160ff9091168152602001610259565b34801561037e57600080fd5b506103c161038d36600461272a565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610259565b3480156103db57600080fd5b506102286103ea36600461251d565b610bb8565b3480156103fb57600080fd5b50610360600181565b34801561041057600080fd5b50610228610c94565b34801561042557600080fd5b506104396104343660046125b0565b610c9e565b60405161025991906127d7565b6102286104543660046127fa565b610d38565b34801561046557600080fd5b506103c16104743660046128a4565b600260209081526000928352604080842090915290825290205481565b34801561049d57600080fd5b506000546001600160a01b03166102c3565b3480156104bb57600080fd5b506104cf6104ca3660046128c0565b6110f0565b60408051928352602083019190915201610259565b3480156104f057600080fd5b506003546102c3906001600160a01b031681565b34801561051057600080fd5b506103c161051f366004612920565b600960209081526000928352604080842090915290825290205481565b34801561054857600080fd5b506102c36105573660046125e0565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b34801561058957600080fd5b506104396105983660046125b0565b6111d9565b3480156105a957600080fd5b506102286105b8366004612615565b6112ef565b3480156105c957600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b3480156105fd57600080fd5b5061022861060c366004612957565b611378565b34801561061d57600080fd5b5061022861062c3660046129a0565b6115a6565b34801561063d57600080fd5b5061022861064c3660046129bd565b611603565b61022861065f36600461251d565b611698565b34801561067057600080fd5b5061024a61271081565b34801561068657600080fd5b50610228610695366004612a2b565b6118ae565b3480156106a657600080fd5b506102286106b53660046125b0565b611960565b3480156106c657600080fd5b506102286106d5366004612a67565b611a20565b3480156106e657600080fd5b506102286106f5366004612615565b611a69565b34801561070657600080fd5b5060065461031b9060ff1681565b34801561072057600080fd5b5061022861072f3660046129a0565b611ac3565b34801561074057600080fd5b5061043961074f366004612a82565b611b3c565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107d15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546107ef90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612acf565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b50505050509050805186869050148015610883575060008151115b80156108ab5750805160208201206040516108a19088908890612b09565b6040518091039020145b6109065760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107c8565b61097c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611bed92505050565b50505050505050565b61098d611c66565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156109f357600080fd5b505af1158015610a07573d6000803e3d6000fd5b5050505050565b610a16611c66565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016109d9565b61ffff831660009081526001602052604081208054829190610a8790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390612acf565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b505050505090508383604051610b17929190612b09565b60405180910390208180519060200120149150509392505050565b610b3a611c66565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610b8a90869086908690600401612b42565b600060405180830381600087803b158015610ba457600080fd5b505af115801561097c573d6000803e3d6000fd5b333014610c165760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107c8565b610c8c8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611cc092505050565b505050505050565b610c9c611c66565b565b60016020526000908152604090208054610cb790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce390612acf565b8015610d305780601f10610d0557610100808354040283529160200191610d30565b820191906000526020600020905b815481529060010190602001808311610d1357829003601f168201915b505050505081565b610d40611e74565b6001600160a01b038716610da05760405162461bcd60e51b815260206004820152602160248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f6b656044820152603760f91b60648201526084016107c8565b6001600160a01b038416610df65760405162461bcd60e51b815260206004820152601e60248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f000060448201526064016107c8565b60008511610e515760405162461bcd60e51b815260206004820152602260248201527f57726170706564546f6b656e4272696467653a20696e76616c696420616d6f756044820152611b9d60f21b60648201526084016107c8565b610e5d86600183611ecd565b6001600160a01b03808816600090815260076020908152604080832061ffff8b1684529091529020541680610ea45760405162461bcd60e51b81526004016107c890612b60565b61ffff871660009081526009602090815260408083206001600160a01b0385168452909152902054861115610f415760405162461bcd60e51b815260206004820152603d60248201527f57726170706564546f6b656e4272696467653a20696e73756666696369656e7460448201527f206c6971756964697479206f6e207468652064657374696e6174696f6e00000060648201526084016107c8565b61ffff871660009081526009602090815260408083206001600160a01b038516845290915281208054889290610f78908490612bc0565b9091555050604051632770a7eb60e21b8152336004820152602481018790526001600160a01b03891690639dc29fac90604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050600654889250610100900461ffff16159050611028576006546000906127109061100e90610100900461ffff168a612bd9565b6110189190612bf0565b90506110248183612bc0565b9150505b60408051600160208201526001600160a01b038085169282019290925290871660608201526080810182905260a0810188905285151560c082015260009060e00160408051601f1981840301815291905290506110a4898261108d60208901896129a0565b61109d60408a0160208b016129a0565b8834611f4e565b7f3b661011d9e0ff8f0dc432bac4ed79eabf70cf52596ed9de985810ef36689e9e8a848b8a8c6040516110db959493929190612c12565b60405180910390a150505061097c6001600555565b6040805160016020820152308183018190526060820181905260006080830181905260a0830181905260c08084018290528451808503909101815260e084019485905263040a7bb160e41b90945292839290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340a7bb109161118b918b919086908c908c908c9060e401612c49565b6040805180830381865afa1580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb9190612c9f565b925092505094509492505050565b61ffff81166000908152600160205260408120805460609291906111fc90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461122890612acf565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b5050505050905080516000036112cd5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016107c8565b6112e86000601483516112e09190612bc0565b8391906120e8565b9392505050565b6112f7611c66565b81813060405160200161130c93929190612cc3565b60408051601f1981840301815291815261ffff85166000908152600160205220906113379082612d2f565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161136b93929190612b42565b60405180910390a1505050565b611380611c66565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20696e76616c6964206c6f636160448201526636103a37b5b2b760c91b60648201526084016107c8565b6001600160a01b03811661144d5760405162461bcd60e51b815260206004820152602860248201527f57726170706564546f6b656e4272696467653a20696e76616c69642072656d6f6044820152673a32903a37b5b2b760c11b60648201526084016107c8565b6001600160a01b03838116600090815260076020908152604080832061ffff87168452909152902054161580156114ab57506001600160a01b03818116600090815260086020908152604080832061ffff8716845290915290205416155b61150c5760405162461bcd60e51b815260206004820152602c60248201527f57726170706564546f6b656e4272696467653a20746f6b656e20616c7265616460448201526b1e481c9959da5cdd195c995960a21b60648201526084016107c8565b6001600160a01b03838116600081815260076020908152604080832061ffff881680855290835281842080546001600160a01b031990811697891697881790915586855260088452828520828652845293829020805490941685179093558051938452908301919091528101919091527f45e419139d22e1853a154f058e7b60373892104bf13079aa3a156a73f84f637d9060600161136b565b6115ae611c66565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61160b611c66565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061165f9088908890889088908890600401612dee565b600060405180830381600087803b15801561167957600080fd5b505af115801561168d573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bb9088908890612b09565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173b5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107c8565b80838360405161174c929190612b09565b6040518091039020146117ab5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107c8565b61ffff871660009081526004602052604080822090516117ce9089908990612b09565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611866918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cc092505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189d959493929190612e27565b60405180910390a150505050505050565b6118b6611c66565b600081116118fe5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016107c8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161136b565b611968611c66565b61271061ffff8216106119d45760405162461bcd60e51b815260206004820152602e60248201527f57726170706564546f6b656e4272696467653a20696e76616c6964207769746860448201526d64726177616c206665652062707360901b60648201526084016107c8565b6006805462ffff00191661010061ffff8416908102919091179091556040519081527f6d0c3abfe7f8a420e34f51060ff6519e1b0f47249f7043e76abc83f61b9f99f7906020016115f8565b611a28611c66565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115f8565b611a71611c66565b61ffff83166000908152600160205260409020611a8f828483612e62565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161136b93929190612b42565b611acb611c66565b6001600160a01b038116611b305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b611b39816121f5565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611be49190810190612f21565b95945050505050565b600080611c505a60966366ad5c8a60e01b89898989604051602401611c159493929190612f8e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612245565b9150915081610c8c57610c8c86868686856122cf565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60008060008084806020019051810190611cda9190612fcc565b9296509094509250905060ff841615611d455760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20756e6b6e6f776e207061636b6044820152666574207479706560c81b60648201526084016107c8565b6001600160a01b03808416600090815260086020908152604080832061ffff8d1684529091529020541680611d8c5760405162461bcd60e51b81526004016107c890612b60565b61ffff891660009081526009602090815260408083206001600160a01b038816845290915281208054849290611dc3908490613025565b90915550506040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b505050507ff865724e934515a839f76ebdd6a53df378816b384e8c10270332411676c48dd581858b8686604051611e61959493929190612c12565b60405180910390a1505050505050505050565b600260055403611ec65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c8565b6002600555565b60065460ff1615611eea57611ee5838383600061236c565b505050565b805115611ee55760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016107c8565b61ffff861660009081526001602052604081208054611f6c90612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890612acf565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b5050505050905080516000036120565760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107c8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009084906120ad908b9086908c908c908c908c90600401613038565b6000604051808303818588803b1580156120c657600080fd5b505af11580156120da573d6000803e3d6000fd5b505050505050505050505050565b6060816120f681601f613025565b10156121355760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016107c8565b61213f8284613025565b845110156121835760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016107c8565b6060821580156121a257604051915060008252602082016040526121ec565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156121db5780518352602092830192016121c3565b5050858452601f01601f1916604052505b50949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000606060008060008661ffff166001600160401b0381111561226a5761226a612667565b6040519080825280601f01601f191660200182016040528015612294576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156122b6578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516123009190613092565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061235d90879087908790879087906130ae565b60405180910390a15050505050565b60006123778361244b565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906123a9908490613025565b9050600081116123fb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016107c8565b80821015610c8c5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016107c8565b600060228251101561249f5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016107c8565b506022015190565b803561ffff811681146124b957600080fd5b919050565b60008083601f8401126124d057600080fd5b5081356001600160401b038111156124e757600080fd5b6020830191508360208285010111156124ff57600080fd5b9250929050565b80356001600160401b03811681146124b957600080fd5b6000806000806000806080878903121561253657600080fd5b61253f876124a7565b955060208701356001600160401b038082111561255b57600080fd5b6125678a838b016124be565b909750955085915061257b60408a01612506565b9450606089013591508082111561259157600080fd5b5061259e89828a016124be565b979a9699509497509295939492505050565b6000602082840312156125c257600080fd5b6112e8826124a7565b6001600160a01b0381168114611b3957600080fd5b600080604083850312156125f357600080fd5b82356125fe816125cb565b915061260c602084016124a7565b90509250929050565b60008060006040848603121561262a57600080fd5b612633846124a7565b925060208401356001600160401b0381111561264e57600080fd5b61265a868287016124be565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126a5576126a5612667565b604052919050565b60006001600160401b038211156126c6576126c6612667565b50601f01601f191660200190565b600082601f8301126126e557600080fd5b81356126f86126f3826126ad565b61267d565b81815284602083860101111561270d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561273f57600080fd5b612748846124a7565b925060208401356001600160401b0381111561276357600080fd5b61276f868287016126d4565b92505061277e60408501612506565b90509250925092565b60005b838110156127a257818101518382015260200161278a565b50506000910152565b600081518084526127c3816020860160208601612787565b601f01601f19169290920160200192915050565b6020815260006112e860208301846127ab565b803580151581146124b957600080fd5b600080600080600080600087890361010081121561281757600080fd5b8835612822816125cb565b975061283060208a016124a7565b9650604089013595506060890135612847816125cb565b945061285560808a016127ea565b93506040609f198201121561286957600080fd5b5060a08801915060e08801356001600160401b0381111561288957600080fd5b6128958a828b016126d4565b91505092959891949750929550565b600080604083850312156128b757600080fd5b6125fe836124a7565b600080600080606085870312156128d657600080fd5b6128df856124a7565b93506128ed602086016127ea565b925060408501356001600160401b0381111561290857600080fd5b612914878288016124be565b95989497509550505050565b6000806040838503121561293357600080fd5b61293c836124a7565b9150602083013561294c816125cb565b809150509250929050565b60008060006060848603121561296c57600080fd5b8335612977816125cb565b9250612985602085016124a7565b91506040840135612995816125cb565b809150509250925092565b6000602082840312156129b257600080fd5b81356112e8816125cb565b6000806000806000608086880312156129d557600080fd5b6129de866124a7565b94506129ec602087016124a7565b93506040860135925060608601356001600160401b03811115612a0e57600080fd5b612a1a888289016124be565b969995985093965092949392505050565b600080600060608486031215612a4057600080fd5b612a49846124a7565b9250612a57602085016124a7565b9150604084013590509250925092565b600060208284031215612a7957600080fd5b6112e8826127ea565b60008060008060808587031215612a9857600080fd5b612aa1856124a7565b9350612aaf602086016124a7565b92506040850135612abf816125cb565b9396929550929360600135925050565b600181811c90821680612ae357607f821691505b602082108103612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611be4604083018486612b19565b6020808252602a908201527f57726170706564546f6b656e4272696467653a20746f6b656e206973206e6f74604082015269081cdd5c1c1bdc9d195960b21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115612bd357612bd3612baa565b92915050565b8082028115828204841417612bd357612bd3612baa565b600082612c0d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039586168152938516602085015261ffff9290921660408401529092166060820152608081019190915260a00190565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612c77908301876127ab565b85151560608401528281036080840152612c92818587612b19565b9998505050505050505050565b60008060408385031215612cb257600080fd5b505080516020909101519092909150565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611ee557600081815260208120601f850160051c81016020861015612d105750805b601f850160051c820191505b81811015610c8c57828155600101612d1c565b81516001600160401b03811115612d4857612d48612667565b612d5c81612d568454612acf565b84612ce9565b602080601f831160018114612d915760008415612d795750858301515b600019600386901b1c1916600185901b178555610c8c565b600085815260208120601f198616915b82811015612dc057888601518255948401946001909101908401612da1565b5085821015612dde5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612e1c608083018486612b19565b979650505050505050565b61ffff86168152608060208201526000612e45608083018688612b19565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b03831115612e7957612e79612667565b612e8d83612e878354612acf565b83612ce9565b6000601f841160018114612ec15760008515612ea95750838201355b600019600387901b1c1916600186901b178355610a07565b600083815260209020601f19861690835b82811015612ef25786850135825560209485019460019092019101612ed2565b5086821015612f0f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612f3357600080fd5b81516001600160401b03811115612f4957600080fd5b8201601f81018413612f5a57600080fd5b8051612f686126f3826126ad565b818152856020838501011115612f7d57600080fd5b611be4826020830160208601612787565b61ffff85168152608060208201526000612fab60808301866127ab565b6001600160401b03851660408401528281036060840152612e1c81856127ab565b60008060008060808587031215612fe257600080fd5b845160ff81168114612ff357600080fd5b6020860151909450613004816125cb565b6040860151909350613015816125cb565b6060959095015193969295505050565b80820180821115612bd357612bd3612baa565b61ffff8716815260c06020820152600061305560c08301886127ab565b828103604084015261306781886127ab565b6001600160a01b0387811660608601528616608085015283810360a08501529050612c9281856127ab565b600082516130a4818460208701612787565b9190910192915050565b61ffff8616815260a0602082015260006130cb60a08301876127ab565b6001600160401b038616604084015282810360608401526130ec81866127ab565b9050828103608084015261310081856127ab565b9897505050505050505056fea2646970667358221220f306bed76e230975e2653e437a577dbce09721cf2f78f88c5c3cef61699f6c5f64736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\": {\n        \"details\": \"Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"stateVariables\": {\n      \"localToRemote\": {\n        \"details\": \"[local token] => [remote chain] => [remote token]\"\n      },\n      \"remoteToLocal\": {\n        \"details\": \"[remote token] => [remote chain] => [local token]\"\n      },\n      \"totalValueLocked\": {\n        \"details\": \"[remote chain] => [remote token] => [bridged amount]\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"TOTAL_BPS()\": {\n        \"notice\": \"Total bps representing 100%\"\n      },\n      \"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\": {\n        \"notice\": \"Bridges `localToken` to the remote chain\"\n      },\n      \"localToRemote(address,uint16)\": {\n        \"notice\": \"Tokens that can be bridged\"\n      },\n      \"remoteToLocal(address,uint16)\": {\n        \"notice\": \"Tokens that can be bridged\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"totalValueLocked(uint16,address)\": {\n        \"notice\": \"Total value bridged per token and remote chains\"\n      },\n      \"withdrawalFeeBps()\": {\n        \"notice\": \"An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 2900,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 3016,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 5174,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 5364,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"withdrawalFeeBps\",\n        \"offset\": 1,\n        \"slot\": \"6\",\n        \"type\": \"t_uint16\"\n      },\n      {\n        \"astId\": 5371,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"localToRemote\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_uint16,t_address))\"\n      },\n      {\n        \"astId\": 5378,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"remoteToLocal\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_uint16,t_address))\"\n      },\n      {\n        \"astId\": 5385,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"totalValueLocked\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_address,t_uint256))\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_mapping(t_uint16,t_address))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(uint16 => address))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_address)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_address)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => address)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_address\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao/solcInputs/7d3bbfb19556a475308339cf2159a0b9.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n        amountLD = _removeDust(token, amountLD);\\n\\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        amountLD = balanceAfter - balanceBefore;\\n\\n        _bridge(token, amountLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        amountLD = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountLD}();\\n        _bridge(weth, amountLD, to, msg.value - amountLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint) {\\n        return _amountSDtoLD(token, _amountLDtoSD(token, amountLD));\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao-testnet/.chainId",
    "content": "1115"
  },
  {
    "path": "deployments/coredao-testnet/USDC.json",
    "content": "{\n  \"address\": \"0xbd2A1C02f1248a1b2210A6eF73458D4F3E5242c5\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xf5a489227720206983f58e6646ee7113bdabfa596a17a9f7b5e45f9c6d87e02d\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xbd2A1C02f1248a1b2210A6eF73458D4F3E5242c5\",\n    \"transactionIndex\": 0,\n    \"gasUsed\": \"767689\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xf3aef9b4be085b5433d2986ef8a7c3fa980c4170a0b3bddee0f189791f68b518\",\n    \"transactionHash\": \"0xf5a489227720206983f58e6646ee7113bdabfa596a17a9f7b5e45f9c6d87e02d\",\n    \"logs\": [],\n    \"blockNumber\": 10217452,\n    \"cumulativeGasUsed\": \"767689\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/USDC.sol\\\":\\\"USDC\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/USDC.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract USDC is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"USD Coin\\\\\\\", \\\\\\\"USDC\\\\\\\", 6) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x904701139ead02e0771a63b2f515aca74d4e4df1e686b032ceb9d20029c20a86\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee138038062000ee1833981016040819052620000349162000112565b80604051806040016040528060088152602001672aa9a21021b7b4b760c11b815250604051806040016040528060048152602001635553444360e01b815250600682828160039081620000889190620001e9565b506004620000978282620001e9565b5050506001600160a01b038416620000f55760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002b5565b6000602082840312156200012557600080fd5b81516001600160a01b03811681146200013d57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016f57607f821691505b6020821081036200019057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e457600081815260208120601f850160051c81016020861015620001bf5750805b601f850160051c820191505b81811015620001e057828155600101620001cb565b5050505b505050565b81516001600160401b0381111562000205576200020562000144565b6200021d816200021684546200015a565b8462000196565b602080601f8311600181146200025557600084156200023c5750858301515b600019600386901b1c1916600185901b178555620001e0565b600085815260208120601f198616915b82811015620002865788860151825594840194600190910190840162000265565b5085821015620002a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002e9600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea2646970667358221220c412275cb104e0fb48d29b5d6e6040d6461e3e02c8cbb522fecfe9979a35cbe564736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea2646970667358221220c412275cb104e0fb48d29b5d6e6040d6461e3e02c8cbb522fecfe9979a35cbe564736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/USDC.sol:USDC\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao-testnet/USDT.json",
    "content": "{\n  \"address\": \"0xa27808B0Be4dC29e581F3E48952f10090392B905\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xbc1b36748eddce803f9d5db5a66a4fd21e934e9576b9badf123e7a530a7c022b\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xa27808B0Be4dC29e581F3E48952f10090392B905\",\n    \"transactionIndex\": 0,\n    \"gasUsed\": \"767709\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xfbe5002cd2907f1930a40c643d7505f4c707e86874a06a4900c95a3201d76e89\",\n    \"transactionHash\": \"0xbc1b36748eddce803f9d5db5a66a4fd21e934e9576b9badf123e7a530a7c022b\",\n    \"logs\": [],\n    \"blockNumber\": 10217454,\n    \"cumulativeGasUsed\": \"767709\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/USDT.sol\\\":\\\"USDT\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/USDT.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract USDT is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"Tether USD\\\\\\\", \\\\\\\"USDT\\\\\\\", 6) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0xaf5d19a03b6fd010008772473a3af8ec90c846555b1afd0479a51b36b801d887\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee338038062000ee3833981016040819052620000349162000114565b806040518060400160405280600a81526020016915195d1a195c881554d160b21b815250604051806040016040528060048152602001631554d11560e21b8152506006828281600390816200008a9190620001eb565b506004620000998282620001eb565b5050506001600160a01b038416620000f75760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002b7565b6000602082840312156200012757600080fd5b81516001600160a01b03811681146200013f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017157607f821691505b6020821081036200019257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e657600081815260208120601f850160051c81016020861015620001c15750805b601f850160051c820191505b81811015620001e257828155600101620001cd565b5050505b505050565b81516001600160401b0381111562000207576200020762000146565b6200021f816200021884546200015c565b8462000198565b602080601f8311600181146200025757600084156200023e5750858301515b600019600386901b1c1916600185901b178555620001e2565b600085815260208120601f198616915b82811015620002885788860151825594840194600190910190840162000267565b5085821015620002a75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002eb600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212202b03de00bdcec5d128fdf55913c0874cf04abfc3e84abc2d32f6b952493b99d164736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212202b03de00bdcec5d128fdf55913c0874cf04abfc3e84abc2d32f6b952493b99d164736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/USDT.sol:USDT\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao-testnet/WETH.json",
    "content": "{\n  \"address\": \"0xca841079f6444815a3deeAbeAb90199C61f34f0f\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_bridge\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"bridge\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"burn\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0x6626864a90c7d06e0fefcf07bd6ba9467e9957a2468e03a0bf992a1287c97b44\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xca841079f6444815a3deeAbeAb90199C61f34f0f\",\n    \"transactionIndex\": 0,\n    \"gasUsed\": \"767769\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x4772af84383b9ca8952f8d85297b094fd9d6f4ef3deb0bd434e33bd31fdde93c\",\n    \"transactionHash\": \"0x6626864a90c7d06e0fefcf07bd6ba9467e9957a2468e03a0bf992a1287c97b44\",\n    \"logs\": [],\n    \"blockNumber\": 10217450,\n    \"cumulativeGasUsed\": \"767769\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_bridge\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(address,uint256)\\\":{\\\"details\\\":\\\"Called only by the bridge\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Overrides the default value of 18\\\",\\\"returns\\\":{\\\"_0\\\":\\\"number of decimal places\\\"}},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"called only by the bridge\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"burn(address,uint256)\\\":{\\\"notice\\\":\\\"Destroys `amount` tokens from `account`, reducing the total supply\\\"},\\\"decimals()\\\":{\\\"notice\\\":\\\"Number of decimal places used to represent the token's smallest unit\\\"},\\\"mint(address,uint256)\\\":{\\\"notice\\\":\\\"Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/wrappedTokens/WETH.sol\\\":\\\"WETH\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\n/// @title Wrapped ERC20\\\\n/// @notice Represents a token on another chain\\\\n/// @dev Can be minted and burned only by the bridge\\\\ncontract WrappedERC20 is ERC20 {\\\\n    address public immutable bridge;\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    /// @param _bridge responsible for minting and burning the wrapped token\\\\n    /// @param _name wrapped token name\\\\n    /// @param _symbol wrapped token symbol\\\\n    /// @param _decimals number of decimals of the original token\\\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        require(_bridge != address(0), \\\\\\\"WrappedERC20: invalid bridge\\\\\\\");\\\\n\\\\n        bridge = _bridge;\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    modifier onlyBridge() {\\\\n        require(msg.sender == bridge, \\\\\\\"WrappedERC20: caller is not the bridge\\\\\\\");\\\\n        _;\\\\n    }\\\\n\\\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\\\n    /// @dev Overrides the default value of 18\\\\n    /// @return number of decimal places\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n\\\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\\\n    /// @dev called only by the bridge\\\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\\\n    /// @dev Called only by the bridge\\\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\\\n        _burn(_from, _amount);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6b56258d3712e83523b6eeba784ce81b010aacda21f276b26e8d102a916891c2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/wrappedTokens/WETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {WrappedERC20} from \\\\\\\"../WrappedERC20.sol\\\\\\\";\\\\n\\\\ncontract WETH is WrappedERC20 {\\\\n\\\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\\\\\"Wrapped Ether\\\\\\\", \\\\\\\"WETH\\\\\\\", 18) {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x503eb68bbcf708aa75ea1b7adb31e1f37e98b2f0e372f232ca7c0ec398c9ca8c\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162000ee638038062000ee6833981016040819052620000349162000117565b806040518060400160405280600d81526020016c2bb930b83832b21022ba3432b960991b815250604051806040016040528060048152602001630ae8aa8960e31b8152506012828281600390816200008d9190620001ee565b5060046200009c8282620001ee565b5050506001600160a01b038416620000fa5760405162461bcd60e51b815260206004820152601c60248201527f5772617070656445524332303a20696e76616c69642062726964676500000000604482015260640160405180910390fd5b6001600160a01b03909316608052505060ff1660a05250620002ba565b6000602082840312156200012a57600080fd5b81516001600160a01b03811681146200014257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017457607f821691505b6020821081036200019557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e957600081815260208120601f850160051c81016020861015620001c45750805b601f850160051c820191505b81811015620001e557828155600101620001d0565b5050505b505050565b81516001600160401b038111156200020a576200020a62000149565b62000222816200021b84546200015f565b846200019b565b602080601f8311600181146200025a5760008415620002415750858301515b600019600386901b1c1916600185901b178555620001e5565b600085815260208120601f198616915b828110156200028b578886015182559484019460019091019084016200026a565b5085821015620002aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610bf8620002ee600039600061015c0152600081816102300152818161036701526103d50152610bf86000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212206f935d2c713a94164c7ce945159eb65662779ae43a61a590d558d09351db1a4a64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101f2578063a9059cbb14610205578063dd62ed3e14610218578063e78cea921461022b57600080fd5b806370a08231146101ae57806395d89b41146101d75780639dc29fac146101df57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461018657806340c10f191461019957600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761026a565b60405161010491906109fc565b60405180910390f35b61012061011b366004610a66565b6102fc565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a90565b610316565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610104565b610120610194366004610a66565b61033a565b6101ac6101a7366004610a66565b61035c565b005b6101346101bc366004610acc565b6001600160a01b031660009081526020819052604090205490565b6100f76103bb565b6101ac6101ed366004610a66565b6103ca565b610120610200366004610a66565b61041c565b610120610213366004610a66565b610497565b610134610226366004610aee565b6104a5565b6102527f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610104565b60606003805461027990610b21565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610b21565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b5050505050905090565b60003361030a8185856104d0565b60019150505b92915050565b6000336103248582856105f5565b61032f85858561066f565b506001949350505050565b60003361030a81858561034d83836104a5565b6103579190610b5b565b6104d0565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ad5760405162461bcd60e51b81526004016103a490610b7c565b60405180910390fd5b6103b78282610813565b5050565b60606004805461027990610b21565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104125760405162461bcd60e51b81526004016103a490610b7c565b6103b782826108d2565b6000338161042a82866104a5565b90508381101561048a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103a4565b61032f82868684036104d0565b60003361030a81858561066f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061060184846104a5565b90506000198114610669578181101561065c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103a4565b61066984848484036104d0565b50505050565b6001600160a01b0383166106d35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a4565b6001600160a01b0382166107355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a4565b6001600160a01b038316600090815260208190526040902054818110156107ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103a4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610669565b6001600160a01b0382166108695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103a4565b806002600082825461087b9190610b5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166109325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103a4565b6001600160a01b038216600090815260208190526040902054818110156109a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103a4565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105e8565b600060208083528351808285015260005b81811015610a2957858101830151858201604001528201610a0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a6157600080fd5b919050565b60008060408385031215610a7957600080fd5b610a8283610a4a565b946020939093013593505050565b600080600060608486031215610aa557600080fd5b610aae84610a4a565b9250610abc60208501610a4a565b9150604084013590509250925092565b600060208284031215610ade57600080fd5b610ae782610a4a565b9392505050565b60008060408385031215610b0157600080fd5b610b0a83610a4a565b9150610b1860208401610a4a565b90509250929050565b600181811c90821680610b3557607f821691505b602082108103610b5557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031057634e487b7160e01b600052601160045260246000fd5b60208082526026908201527f5772617070656445524332303a2063616c6c6572206973206e6f74207468652060408201526562726964676560d01b60608201526080019056fea26469706673582212206f935d2c713a94164c7ce945159eb65662779ae43a61a590d558d09351db1a4a64736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"burn(address,uint256)\": {\n        \"details\": \"Called only by the bridge\"\n      },\n      \"decimals()\": {\n        \"details\": \"Overrides the default value of 18\",\n        \"returns\": {\n          \"_0\": \"number of decimal places\"\n        }\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"mint(address,uint256)\": {\n        \"details\": \"called only by the bridge\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"burn(address,uint256)\": {\n        \"notice\": \"Destroys `amount` tokens from `account`, reducing the total supply\"\n      },\n      \"decimals()\": {\n        \"notice\": \"Number of decimal places used to represent the token's smallest unit\"\n      },\n      \"mint(address,uint256)\": {\n        \"notice\": \"Creates `amount` tokens and assigns them to `account`, increasing the total supply\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/wrappedTokens/WETH.sol:WETH\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao-testnet/WrappedTokenBridge.json",
    "content": "{\n  \"address\": \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"withdrawalFeeBps\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetWithdrawalFeeBps\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"UnwrapToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WrapToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"TOTAL_BPS\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"unwrapWeth\",\n          \"type\": \"bool\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"localToRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"localToken\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"remoteToken\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"remoteToLocal\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_withdrawalFeeBps\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setWithdrawalFeeBps\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLocked\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"withdrawalFeeBps\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0xe7481d4c2226177e174970d945505a29900e4b7d933c7ed7459178e6b97cfd92\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\",\n    \"transactionIndex\": 0,\n    \"gasUsed\": \"2820077\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000800000000000000000000400000000000000000000000000000000000080000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000010000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000020000000000000000000000000000000000000000000001000000000000000000000\",\n    \"blockHash\": \"0x9bc0713123c4f98bb525c1d40ead04f51693d8ca34258e8979c76bb6c8410ca3\",\n    \"transactionHash\": \"0xe7481d4c2226177e174970d945505a29900e4b7d933c7ed7459178e6b97cfd92\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 0,\n        \"blockNumber\": 10217374,\n        \"transactionHash\": \"0xe7481d4c2226177e174970d945505a29900e4b7d933c7ed7459178e6b97cfd92\",\n        \"address\": \"0x6Df303Ec922627DC2a1b371A0116df1e1eec8c7A\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 0,\n        \"blockHash\": \"0x9bc0713123c4f98bb525c1d40ead04f51693d8ca34258e8979c76bb6c8410ca3\"\n      }\n    ],\n    \"blockNumber\": 10217374,\n    \"cumulativeGasUsed\": \"2820077\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"withdrawalFeeBps\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetWithdrawalFeeBps\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"UnwrapToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WrapToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"TOTAL_BPS\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"unwrapWeth\\\",\\\"type\\\":\\\"bool\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"localToRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"localToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"remoteToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"remoteToLocal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_withdrawalFeeBps\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setWithdrawalFeeBps\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLocked\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"withdrawalFeeBps\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\\\":{\\\"details\\\":\\\"Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"stateVariables\\\":{\\\"localToRemote\\\":{\\\"details\\\":\\\"[local token] => [remote chain] => [remote token]\\\"},\\\"remoteToLocal\\\":{\\\"details\\\":\\\"[remote token] => [remote chain] => [local token]\\\"},\\\"totalValueLocked\\\":{\\\"details\\\":\\\"[remote chain] => [remote token] => [bridged amount]\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"TOTAL_BPS()\\\":{\\\"notice\\\":\\\"Total bps representing 100%\\\"},\\\"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges `localToken` to the remote chain\\\"},\\\"localToRemote(address,uint16)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged\\\"},\\\"remoteToLocal(address,uint16)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"totalValueLocked(uint16,address)\\\":{\\\"notice\\\":\\\"Total value bridged per token and remote chains\\\"},\\\"withdrawalFeeBps()\\\":{\\\"notice\\\":\\\"An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/WrappedTokenBridge.sol\\\":\\\"WrappedTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/WrappedTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWrappedERC20} from \\\\\\\"./interfaces/IWrappedERC20.sol\\\\\\\";\\\\n\\\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\\\ncontract WrappedTokenBridge is TokenBridgeBase {\\\\n    /// @notice Total bps representing 100%\\\\n    uint16 public constant TOTAL_BPS = 10000;\\\\n\\\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\\\n    uint16 public withdrawalFeeBps;\\\\n\\\\n    /// @notice Tokens that can be bridged\\\\n    /// @dev [local token] => [remote chain] => [remote token]\\\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\\\n\\\\n    /// @notice Tokens that can be bridged\\\\n    /// @dev [remote token] => [remote chain] => [local token]\\\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\\\n\\\\n    /// @notice Total value bridged per token and remote chains\\\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\\\n\\\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\\\n\\\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\\\n\\\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: invalid local token\\\\\\\");\\\\n        require(remoteToken != address(0), \\\\\\\"WrappedTokenBridge: invalid remote token\\\\\\\");\\\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\\\\\"WrappedTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\\\n    }\\\\n\\\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\\\\\"WrappedTokenBridge: invalid withdrawal fee bps\\\\\\\");\\\\n        withdrawalFeeBps = _withdrawalFeeBps;\\\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges `localToken` to the remote chain\\\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: invalid token\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"WrappedTokenBridge: invalid to\\\\\\\");\\\\n        require(amount > 0, \\\\\\\"WrappedTokenBridge: invalid amount\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\\\n\\\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\\\n        require(remoteToken != address(0), \\\\\\\"WrappedTokenBridge: token is not supported\\\\\\\");\\\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\\\\\"WrappedTokenBridge: insufficient liquidity on the destination\\\\\\\");\\\\n\\\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\\\n\\\\n        uint withdrawalAmount = amount;\\\\n        if (withdrawalFeeBps > 0) {\\\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\\\n            withdrawalAmount -= withdrawalFee;\\\\n        }\\\\n\\\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\\\n        require(packetType == PT_MINT, \\\\\\\"WrappedTokenBridge: unknown packet type\\\\\\\");\\\\n\\\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\\\n        require(localToken != address(0), \\\\\\\"WrappedTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\\\n        IWrappedERC20(localToken).mint(to, amount);\\\\n\\\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\\\n    }\\\\n}\\\",\\\"keccak256\\\":\\\"0x77a6a1de508e90beb263676e0b8d0e1f1f7ec8b2b61366d623a29fc9dbeabad3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWrappedERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\n\\\\ninterface IWrappedERC20 is IERC20 {\\\\n    function mint(address _to, uint _amount) external;\\\\n\\\\n    function burn(address _from, uint _amount) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4b81d06696b2ad1bebbe83762ded7f28401e092112ae0b43c4bcde4a10d2244d\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60a06040523480156200001157600080fd5b5060405162003274380380620032748339810160408190526200003491620000ac565b80808062000042336200005c565b6001600160a01b03166080525050600160055550620000de565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000bf57600080fd5b81516001600160a01b0381168114620000d757600080fd5b9392505050565b60805161314262000132600039600081816105cf01528181610757015281816109a601528181610a2f01528181610b51015281816111450152818161162201528181611b6d015261206c01526131426000f3fe6080604052600436106102035760003560e01c8063950c8a7411610118578063d1deba1f116100a0578063eab45d9c1161006f578063eab45d9c146106ba578063eb8d72b7146106da578063ed629c5c146106fa578063f2fde38b14610714578063f5ecbdbc1461073457600080fd5b8063d1deba1f14610651578063d3cd52bc14610664578063df2a5b3b1461067a578063e6e7dd001461069a57600080fd5b8063a6c3d165116100e7578063a6c3d1651461059d578063b353aaa7146105bd578063b7cb1f7f146105f1578063baf3292d14610611578063cbed8b9c1461063157600080fd5b8063950c8a74146104e45780639a973587146105045780639b51251e1461053c5780639f38369a1461057d57600080fd5b80635b8c41e61161019b5780637533d7881161016a5780637533d78814610419578063879762e2146104465780638cfd8f5c146104595780638da5cb5b1461049157806394723256146104af57600080fd5b80635b8c41e61461037257806366ad5c8a146103cf57806368ea28b0146103ef578063715018a61461040457600080fd5b806310ddb137116101d757806310ddb137146102db5780633d8b38f6146102fb57806342d65a8d1461032b57806346f6f9b51461034b57600080fd5b80621d35671461020857806304336bb31461022a57806307e0db1714610262578063083f61fe14610282575b600080fd5b34801561021457600080fd5b5061022861022336600461251d565b610754565b005b34801561023657600080fd5b5060065461024a90610100900461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561026e57600080fd5b5061022861027d3660046125b0565b610985565b34801561028e57600080fd5b506102c361029d3660046125e0565b60076020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610259565b3480156102e757600080fd5b506102286102f63660046125b0565b610a0e565b34801561030757600080fd5b5061031b610316366004612615565b610a66565b6040519015158152602001610259565b34801561033757600080fd5b50610228610346366004612615565b610b32565b34801561035757600080fd5b50610360600081565b60405160ff9091168152602001610259565b34801561037e57600080fd5b506103c161038d36600461272a565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610259565b3480156103db57600080fd5b506102286103ea36600461251d565b610bb8565b3480156103fb57600080fd5b50610360600181565b34801561041057600080fd5b50610228610c94565b34801561042557600080fd5b506104396104343660046125b0565b610c9e565b60405161025991906127d7565b6102286104543660046127fa565b610d38565b34801561046557600080fd5b506103c16104743660046128a4565b600260209081526000928352604080842090915290825290205481565b34801561049d57600080fd5b506000546001600160a01b03166102c3565b3480156104bb57600080fd5b506104cf6104ca3660046128c0565b6110f0565b60408051928352602083019190915201610259565b3480156104f057600080fd5b506003546102c3906001600160a01b031681565b34801561051057600080fd5b506103c161051f366004612920565b600960209081526000928352604080842090915290825290205481565b34801561054857600080fd5b506102c36105573660046125e0565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b34801561058957600080fd5b506104396105983660046125b0565b6111d9565b3480156105a957600080fd5b506102286105b8366004612615565b6112ef565b3480156105c957600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b3480156105fd57600080fd5b5061022861060c366004612957565b611378565b34801561061d57600080fd5b5061022861062c3660046129a0565b6115a6565b34801561063d57600080fd5b5061022861064c3660046129bd565b611603565b61022861065f36600461251d565b611698565b34801561067057600080fd5b5061024a61271081565b34801561068657600080fd5b50610228610695366004612a2b565b6118ae565b3480156106a657600080fd5b506102286106b53660046125b0565b611960565b3480156106c657600080fd5b506102286106d5366004612a67565b611a20565b3480156106e657600080fd5b506102286106f5366004612615565b611a69565b34801561070657600080fd5b5060065461031b9060ff1681565b34801561072057600080fd5b5061022861072f3660046129a0565b611ac3565b34801561074057600080fd5b5061043961074f366004612a82565b611b3c565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107d15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546107ef90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612acf565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b50505050509050805186869050148015610883575060008151115b80156108ab5750805160208201206040516108a19088908890612b09565b6040518091039020145b6109065760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107c8565b61097c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611bed92505050565b50505050505050565b61098d611c66565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156109f357600080fd5b505af1158015610a07573d6000803e3d6000fd5b5050505050565b610a16611c66565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016109d9565b61ffff831660009081526001602052604081208054829190610a8790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390612acf565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b505050505090508383604051610b17929190612b09565b60405180910390208180519060200120149150509392505050565b610b3a611c66565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610b8a90869086908690600401612b42565b600060405180830381600087803b158015610ba457600080fd5b505af115801561097c573d6000803e3d6000fd5b333014610c165760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107c8565b610c8c8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611cc092505050565b505050505050565b610c9c611c66565b565b60016020526000908152604090208054610cb790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce390612acf565b8015610d305780601f10610d0557610100808354040283529160200191610d30565b820191906000526020600020905b815481529060010190602001808311610d1357829003601f168201915b505050505081565b610d40611e74565b6001600160a01b038716610da05760405162461bcd60e51b815260206004820152602160248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f6b656044820152603760f91b60648201526084016107c8565b6001600160a01b038416610df65760405162461bcd60e51b815260206004820152601e60248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f000060448201526064016107c8565b60008511610e515760405162461bcd60e51b815260206004820152602260248201527f57726170706564546f6b656e4272696467653a20696e76616c696420616d6f756044820152611b9d60f21b60648201526084016107c8565b610e5d86600183611ecd565b6001600160a01b03808816600090815260076020908152604080832061ffff8b1684529091529020541680610ea45760405162461bcd60e51b81526004016107c890612b60565b61ffff871660009081526009602090815260408083206001600160a01b0385168452909152902054861115610f415760405162461bcd60e51b815260206004820152603d60248201527f57726170706564546f6b656e4272696467653a20696e73756666696369656e7460448201527f206c6971756964697479206f6e207468652064657374696e6174696f6e00000060648201526084016107c8565b61ffff871660009081526009602090815260408083206001600160a01b038516845290915281208054889290610f78908490612bc0565b9091555050604051632770a7eb60e21b8152336004820152602481018790526001600160a01b03891690639dc29fac90604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050600654889250610100900461ffff16159050611028576006546000906127109061100e90610100900461ffff168a612bd9565b6110189190612bf0565b90506110248183612bc0565b9150505b60408051600160208201526001600160a01b038085169282019290925290871660608201526080810182905260a0810188905285151560c082015260009060e00160408051601f1981840301815291905290506110a4898261108d60208901896129a0565b61109d60408a0160208b016129a0565b8834611f4e565b7f3b661011d9e0ff8f0dc432bac4ed79eabf70cf52596ed9de985810ef36689e9e8a848b8a8c6040516110db959493929190612c12565b60405180910390a150505061097c6001600555565b6040805160016020820152308183018190526060820181905260006080830181905260a0830181905260c08084018290528451808503909101815260e084019485905263040a7bb160e41b90945292839290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340a7bb109161118b918b919086908c908c908c9060e401612c49565b6040805180830381865afa1580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb9190612c9f565b925092505094509492505050565b61ffff81166000908152600160205260408120805460609291906111fc90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461122890612acf565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b5050505050905080516000036112cd5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016107c8565b6112e86000601483516112e09190612bc0565b8391906120e8565b9392505050565b6112f7611c66565b81813060405160200161130c93929190612cc3565b60408051601f1981840301815291815261ffff85166000908152600160205220906113379082612d2f565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161136b93929190612b42565b60405180910390a1505050565b611380611c66565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20696e76616c6964206c6f636160448201526636103a37b5b2b760c91b60648201526084016107c8565b6001600160a01b03811661144d5760405162461bcd60e51b815260206004820152602860248201527f57726170706564546f6b656e4272696467653a20696e76616c69642072656d6f6044820152673a32903a37b5b2b760c11b60648201526084016107c8565b6001600160a01b03838116600090815260076020908152604080832061ffff87168452909152902054161580156114ab57506001600160a01b03818116600090815260086020908152604080832061ffff8716845290915290205416155b61150c5760405162461bcd60e51b815260206004820152602c60248201527f57726170706564546f6b656e4272696467653a20746f6b656e20616c7265616460448201526b1e481c9959da5cdd195c995960a21b60648201526084016107c8565b6001600160a01b03838116600081815260076020908152604080832061ffff881680855290835281842080546001600160a01b031990811697891697881790915586855260088452828520828652845293829020805490941685179093558051938452908301919091528101919091527f45e419139d22e1853a154f058e7b60373892104bf13079aa3a156a73f84f637d9060600161136b565b6115ae611c66565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61160b611c66565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061165f9088908890889088908890600401612dee565b600060405180830381600087803b15801561167957600080fd5b505af115801561168d573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bb9088908890612b09565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173b5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107c8565b80838360405161174c929190612b09565b6040518091039020146117ab5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107c8565b61ffff871660009081526004602052604080822090516117ce9089908990612b09565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611866918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cc092505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189d959493929190612e27565b60405180910390a150505050505050565b6118b6611c66565b600081116118fe5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016107c8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161136b565b611968611c66565b61271061ffff8216106119d45760405162461bcd60e51b815260206004820152602e60248201527f57726170706564546f6b656e4272696467653a20696e76616c6964207769746860448201526d64726177616c206665652062707360901b60648201526084016107c8565b6006805462ffff00191661010061ffff8416908102919091179091556040519081527f6d0c3abfe7f8a420e34f51060ff6519e1b0f47249f7043e76abc83f61b9f99f7906020016115f8565b611a28611c66565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115f8565b611a71611c66565b61ffff83166000908152600160205260409020611a8f828483612e62565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161136b93929190612b42565b611acb611c66565b6001600160a01b038116611b305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b611b39816121f5565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611be49190810190612f21565b95945050505050565b600080611c505a60966366ad5c8a60e01b89898989604051602401611c159493929190612f8e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612245565b9150915081610c8c57610c8c86868686856122cf565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60008060008084806020019051810190611cda9190612fcc565b9296509094509250905060ff841615611d455760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20756e6b6e6f776e207061636b6044820152666574207479706560c81b60648201526084016107c8565b6001600160a01b03808416600090815260086020908152604080832061ffff8d1684529091529020541680611d8c5760405162461bcd60e51b81526004016107c890612b60565b61ffff891660009081526009602090815260408083206001600160a01b038816845290915281208054849290611dc3908490613025565b90915550506040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b505050507ff865724e934515a839f76ebdd6a53df378816b384e8c10270332411676c48dd581858b8686604051611e61959493929190612c12565b60405180910390a1505050505050505050565b600260055403611ec65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c8565b6002600555565b60065460ff1615611eea57611ee5838383600061236c565b505050565b805115611ee55760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016107c8565b61ffff861660009081526001602052604081208054611f6c90612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890612acf565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b5050505050905080516000036120565760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107c8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009084906120ad908b9086908c908c908c908c90600401613038565b6000604051808303818588803b1580156120c657600080fd5b505af11580156120da573d6000803e3d6000fd5b505050505050505050505050565b6060816120f681601f613025565b10156121355760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016107c8565b61213f8284613025565b845110156121835760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016107c8565b6060821580156121a257604051915060008252602082016040526121ec565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156121db5780518352602092830192016121c3565b5050858452601f01601f1916604052505b50949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000606060008060008661ffff166001600160401b0381111561226a5761226a612667565b6040519080825280601f01601f191660200182016040528015612294576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156122b6578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516123009190613092565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061235d90879087908790879087906130ae565b60405180910390a15050505050565b60006123778361244b565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906123a9908490613025565b9050600081116123fb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016107c8565b80821015610c8c5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016107c8565b600060228251101561249f5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016107c8565b506022015190565b803561ffff811681146124b957600080fd5b919050565b60008083601f8401126124d057600080fd5b5081356001600160401b038111156124e757600080fd5b6020830191508360208285010111156124ff57600080fd5b9250929050565b80356001600160401b03811681146124b957600080fd5b6000806000806000806080878903121561253657600080fd5b61253f876124a7565b955060208701356001600160401b038082111561255b57600080fd5b6125678a838b016124be565b909750955085915061257b60408a01612506565b9450606089013591508082111561259157600080fd5b5061259e89828a016124be565b979a9699509497509295939492505050565b6000602082840312156125c257600080fd5b6112e8826124a7565b6001600160a01b0381168114611b3957600080fd5b600080604083850312156125f357600080fd5b82356125fe816125cb565b915061260c602084016124a7565b90509250929050565b60008060006040848603121561262a57600080fd5b612633846124a7565b925060208401356001600160401b0381111561264e57600080fd5b61265a868287016124be565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126a5576126a5612667565b604052919050565b60006001600160401b038211156126c6576126c6612667565b50601f01601f191660200190565b600082601f8301126126e557600080fd5b81356126f86126f3826126ad565b61267d565b81815284602083860101111561270d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561273f57600080fd5b612748846124a7565b925060208401356001600160401b0381111561276357600080fd5b61276f868287016126d4565b92505061277e60408501612506565b90509250925092565b60005b838110156127a257818101518382015260200161278a565b50506000910152565b600081518084526127c3816020860160208601612787565b601f01601f19169290920160200192915050565b6020815260006112e860208301846127ab565b803580151581146124b957600080fd5b600080600080600080600087890361010081121561281757600080fd5b8835612822816125cb565b975061283060208a016124a7565b9650604089013595506060890135612847816125cb565b945061285560808a016127ea565b93506040609f198201121561286957600080fd5b5060a08801915060e08801356001600160401b0381111561288957600080fd5b6128958a828b016126d4565b91505092959891949750929550565b600080604083850312156128b757600080fd5b6125fe836124a7565b600080600080606085870312156128d657600080fd5b6128df856124a7565b93506128ed602086016127ea565b925060408501356001600160401b0381111561290857600080fd5b612914878288016124be565b95989497509550505050565b6000806040838503121561293357600080fd5b61293c836124a7565b9150602083013561294c816125cb565b809150509250929050565b60008060006060848603121561296c57600080fd5b8335612977816125cb565b9250612985602085016124a7565b91506040840135612995816125cb565b809150509250925092565b6000602082840312156129b257600080fd5b81356112e8816125cb565b6000806000806000608086880312156129d557600080fd5b6129de866124a7565b94506129ec602087016124a7565b93506040860135925060608601356001600160401b03811115612a0e57600080fd5b612a1a888289016124be565b969995985093965092949392505050565b600080600060608486031215612a4057600080fd5b612a49846124a7565b9250612a57602085016124a7565b9150604084013590509250925092565b600060208284031215612a7957600080fd5b6112e8826127ea565b60008060008060808587031215612a9857600080fd5b612aa1856124a7565b9350612aaf602086016124a7565b92506040850135612abf816125cb565b9396929550929360600135925050565b600181811c90821680612ae357607f821691505b602082108103612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611be4604083018486612b19565b6020808252602a908201527f57726170706564546f6b656e4272696467653a20746f6b656e206973206e6f74604082015269081cdd5c1c1bdc9d195960b21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115612bd357612bd3612baa565b92915050565b8082028115828204841417612bd357612bd3612baa565b600082612c0d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039586168152938516602085015261ffff9290921660408401529092166060820152608081019190915260a00190565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612c77908301876127ab565b85151560608401528281036080840152612c92818587612b19565b9998505050505050505050565b60008060408385031215612cb257600080fd5b505080516020909101519092909150565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611ee557600081815260208120601f850160051c81016020861015612d105750805b601f850160051c820191505b81811015610c8c57828155600101612d1c565b81516001600160401b03811115612d4857612d48612667565b612d5c81612d568454612acf565b84612ce9565b602080601f831160018114612d915760008415612d795750858301515b600019600386901b1c1916600185901b178555610c8c565b600085815260208120601f198616915b82811015612dc057888601518255948401946001909101908401612da1565b5085821015612dde5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612e1c608083018486612b19565b979650505050505050565b61ffff86168152608060208201526000612e45608083018688612b19565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b03831115612e7957612e79612667565b612e8d83612e878354612acf565b83612ce9565b6000601f841160018114612ec15760008515612ea95750838201355b600019600387901b1c1916600186901b178355610a07565b600083815260209020601f19861690835b82811015612ef25786850135825560209485019460019092019101612ed2565b5086821015612f0f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612f3357600080fd5b81516001600160401b03811115612f4957600080fd5b8201601f81018413612f5a57600080fd5b8051612f686126f3826126ad565b818152856020838501011115612f7d57600080fd5b611be4826020830160208601612787565b61ffff85168152608060208201526000612fab60808301866127ab565b6001600160401b03851660408401528281036060840152612e1c81856127ab565b60008060008060808587031215612fe257600080fd5b845160ff81168114612ff357600080fd5b6020860151909450613004816125cb565b6040860151909350613015816125cb565b6060959095015193969295505050565b80820180821115612bd357612bd3612baa565b61ffff8716815260c06020820152600061305560c08301886127ab565b828103604084015261306781886127ab565b6001600160a01b0387811660608601528616608085015283810360a08501529050612c9281856127ab565b600082516130a4818460208701612787565b9190910192915050565b61ffff8616815260a0602082015260006130cb60a08301876127ab565b6001600160401b038616604084015282810360608401526130ec81866127ab565b9050828103608084015261310081856127ab565b9897505050505050505056fea2646970667358221220f306bed76e230975e2653e437a577dbce09721cf2f78f88c5c3cef61699f6c5f64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102035760003560e01c8063950c8a7411610118578063d1deba1f116100a0578063eab45d9c1161006f578063eab45d9c146106ba578063eb8d72b7146106da578063ed629c5c146106fa578063f2fde38b14610714578063f5ecbdbc1461073457600080fd5b8063d1deba1f14610651578063d3cd52bc14610664578063df2a5b3b1461067a578063e6e7dd001461069a57600080fd5b8063a6c3d165116100e7578063a6c3d1651461059d578063b353aaa7146105bd578063b7cb1f7f146105f1578063baf3292d14610611578063cbed8b9c1461063157600080fd5b8063950c8a74146104e45780639a973587146105045780639b51251e1461053c5780639f38369a1461057d57600080fd5b80635b8c41e61161019b5780637533d7881161016a5780637533d78814610419578063879762e2146104465780638cfd8f5c146104595780638da5cb5b1461049157806394723256146104af57600080fd5b80635b8c41e61461037257806366ad5c8a146103cf57806368ea28b0146103ef578063715018a61461040457600080fd5b806310ddb137116101d757806310ddb137146102db5780633d8b38f6146102fb57806342d65a8d1461032b57806346f6f9b51461034b57600080fd5b80621d35671461020857806304336bb31461022a57806307e0db1714610262578063083f61fe14610282575b600080fd5b34801561021457600080fd5b5061022861022336600461251d565b610754565b005b34801561023657600080fd5b5060065461024a90610100900461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561026e57600080fd5b5061022861027d3660046125b0565b610985565b34801561028e57600080fd5b506102c361029d3660046125e0565b60076020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610259565b3480156102e757600080fd5b506102286102f63660046125b0565b610a0e565b34801561030757600080fd5b5061031b610316366004612615565b610a66565b6040519015158152602001610259565b34801561033757600080fd5b50610228610346366004612615565b610b32565b34801561035757600080fd5b50610360600081565b60405160ff9091168152602001610259565b34801561037e57600080fd5b506103c161038d36600461272a565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610259565b3480156103db57600080fd5b506102286103ea36600461251d565b610bb8565b3480156103fb57600080fd5b50610360600181565b34801561041057600080fd5b50610228610c94565b34801561042557600080fd5b506104396104343660046125b0565b610c9e565b60405161025991906127d7565b6102286104543660046127fa565b610d38565b34801561046557600080fd5b506103c16104743660046128a4565b600260209081526000928352604080842090915290825290205481565b34801561049d57600080fd5b506000546001600160a01b03166102c3565b3480156104bb57600080fd5b506104cf6104ca3660046128c0565b6110f0565b60408051928352602083019190915201610259565b3480156104f057600080fd5b506003546102c3906001600160a01b031681565b34801561051057600080fd5b506103c161051f366004612920565b600960209081526000928352604080842090915290825290205481565b34801561054857600080fd5b506102c36105573660046125e0565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b34801561058957600080fd5b506104396105983660046125b0565b6111d9565b3480156105a957600080fd5b506102286105b8366004612615565b6112ef565b3480156105c957600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b3480156105fd57600080fd5b5061022861060c366004612957565b611378565b34801561061d57600080fd5b5061022861062c3660046129a0565b6115a6565b34801561063d57600080fd5b5061022861064c3660046129bd565b611603565b61022861065f36600461251d565b611698565b34801561067057600080fd5b5061024a61271081565b34801561068657600080fd5b50610228610695366004612a2b565b6118ae565b3480156106a657600080fd5b506102286106b53660046125b0565b611960565b3480156106c657600080fd5b506102286106d5366004612a67565b611a20565b3480156106e657600080fd5b506102286106f5366004612615565b611a69565b34801561070657600080fd5b5060065461031b9060ff1681565b34801561072057600080fd5b5061022861072f3660046129a0565b611ac3565b34801561074057600080fd5b5061043961074f366004612a82565b611b3c565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107d15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546107ef90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612acf565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b50505050509050805186869050148015610883575060008151115b80156108ab5750805160208201206040516108a19088908890612b09565b6040518091039020145b6109065760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107c8565b61097c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611bed92505050565b50505050505050565b61098d611c66565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156109f357600080fd5b505af1158015610a07573d6000803e3d6000fd5b5050505050565b610a16611c66565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016109d9565b61ffff831660009081526001602052604081208054829190610a8790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390612acf565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b505050505090508383604051610b17929190612b09565b60405180910390208180519060200120149150509392505050565b610b3a611c66565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610b8a90869086908690600401612b42565b600060405180830381600087803b158015610ba457600080fd5b505af115801561097c573d6000803e3d6000fd5b333014610c165760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107c8565b610c8c8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611cc092505050565b505050505050565b610c9c611c66565b565b60016020526000908152604090208054610cb790612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce390612acf565b8015610d305780601f10610d0557610100808354040283529160200191610d30565b820191906000526020600020905b815481529060010190602001808311610d1357829003601f168201915b505050505081565b610d40611e74565b6001600160a01b038716610da05760405162461bcd60e51b815260206004820152602160248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f6b656044820152603760f91b60648201526084016107c8565b6001600160a01b038416610df65760405162461bcd60e51b815260206004820152601e60248201527f57726170706564546f6b656e4272696467653a20696e76616c696420746f000060448201526064016107c8565b60008511610e515760405162461bcd60e51b815260206004820152602260248201527f57726170706564546f6b656e4272696467653a20696e76616c696420616d6f756044820152611b9d60f21b60648201526084016107c8565b610e5d86600183611ecd565b6001600160a01b03808816600090815260076020908152604080832061ffff8b1684529091529020541680610ea45760405162461bcd60e51b81526004016107c890612b60565b61ffff871660009081526009602090815260408083206001600160a01b0385168452909152902054861115610f415760405162461bcd60e51b815260206004820152603d60248201527f57726170706564546f6b656e4272696467653a20696e73756666696369656e7460448201527f206c6971756964697479206f6e207468652064657374696e6174696f6e00000060648201526084016107c8565b61ffff871660009081526009602090815260408083206001600160a01b038516845290915281208054889290610f78908490612bc0565b9091555050604051632770a7eb60e21b8152336004820152602481018790526001600160a01b03891690639dc29fac90604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050600654889250610100900461ffff16159050611028576006546000906127109061100e90610100900461ffff168a612bd9565b6110189190612bf0565b90506110248183612bc0565b9150505b60408051600160208201526001600160a01b038085169282019290925290871660608201526080810182905260a0810188905285151560c082015260009060e00160408051601f1981840301815291905290506110a4898261108d60208901896129a0565b61109d60408a0160208b016129a0565b8834611f4e565b7f3b661011d9e0ff8f0dc432bac4ed79eabf70cf52596ed9de985810ef36689e9e8a848b8a8c6040516110db959493929190612c12565b60405180910390a150505061097c6001600555565b6040805160016020820152308183018190526060820181905260006080830181905260a0830181905260c08084018290528451808503909101815260e084019485905263040a7bb160e41b90945292839290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340a7bb109161118b918b919086908c908c908c9060e401612c49565b6040805180830381865afa1580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb9190612c9f565b925092505094509492505050565b61ffff81166000908152600160205260408120805460609291906111fc90612acf565b80601f016020809104026020016040519081016040528092919081815260200182805461122890612acf565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b5050505050905080516000036112cd5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016107c8565b6112e86000601483516112e09190612bc0565b8391906120e8565b9392505050565b6112f7611c66565b81813060405160200161130c93929190612cc3565b60408051601f1981840301815291815261ffff85166000908152600160205220906113379082612d2f565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161136b93929190612b42565b60405180910390a1505050565b611380611c66565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20696e76616c6964206c6f636160448201526636103a37b5b2b760c91b60648201526084016107c8565b6001600160a01b03811661144d5760405162461bcd60e51b815260206004820152602860248201527f57726170706564546f6b656e4272696467653a20696e76616c69642072656d6f6044820152673a32903a37b5b2b760c11b60648201526084016107c8565b6001600160a01b03838116600090815260076020908152604080832061ffff87168452909152902054161580156114ab57506001600160a01b03818116600090815260086020908152604080832061ffff8716845290915290205416155b61150c5760405162461bcd60e51b815260206004820152602c60248201527f57726170706564546f6b656e4272696467653a20746f6b656e20616c7265616460448201526b1e481c9959da5cdd195c995960a21b60648201526084016107c8565b6001600160a01b03838116600081815260076020908152604080832061ffff881680855290835281842080546001600160a01b031990811697891697881790915586855260088452828520828652845293829020805490941685179093558051938452908301919091528101919091527f45e419139d22e1853a154f058e7b60373892104bf13079aa3a156a73f84f637d9060600161136b565b6115ae611c66565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61160b611c66565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061165f9088908890889088908890600401612dee565b600060405180830381600087803b15801561167957600080fd5b505af115801561168d573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bb9088908890612b09565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173b5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107c8565b80838360405161174c929190612b09565b6040518091039020146117ab5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107c8565b61ffff871660009081526004602052604080822090516117ce9089908990612b09565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611866918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cc092505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189d959493929190612e27565b60405180910390a150505050505050565b6118b6611c66565b600081116118fe5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016107c8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161136b565b611968611c66565b61271061ffff8216106119d45760405162461bcd60e51b815260206004820152602e60248201527f57726170706564546f6b656e4272696467653a20696e76616c6964207769746860448201526d64726177616c206665652062707360901b60648201526084016107c8565b6006805462ffff00191661010061ffff8416908102919091179091556040519081527f6d0c3abfe7f8a420e34f51060ff6519e1b0f47249f7043e76abc83f61b9f99f7906020016115f8565b611a28611c66565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115f8565b611a71611c66565b61ffff83166000908152600160205260409020611a8f828483612e62565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161136b93929190612b42565b611acb611c66565b6001600160a01b038116611b305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b611b39816121f5565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611be49190810190612f21565b95945050505050565b600080611c505a60966366ad5c8a60e01b89898989604051602401611c159493929190612f8e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612245565b9150915081610c8c57610c8c86868686856122cf565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60008060008084806020019051810190611cda9190612fcc565b9296509094509250905060ff841615611d455760405162461bcd60e51b815260206004820152602760248201527f57726170706564546f6b656e4272696467653a20756e6b6e6f776e207061636b6044820152666574207479706560c81b60648201526084016107c8565b6001600160a01b03808416600090815260086020908152604080832061ffff8d1684529091529020541680611d8c5760405162461bcd60e51b81526004016107c890612b60565b61ffff891660009081526009602090815260408083206001600160a01b038816845290915281208054849290611dc3908490613025565b90915550506040516340c10f1960e01b81526001600160a01b038481166004830152602482018490528216906340c10f1990604401600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b505050507ff865724e934515a839f76ebdd6a53df378816b384e8c10270332411676c48dd581858b8686604051611e61959493929190612c12565b60405180910390a1505050505050505050565b600260055403611ec65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c8565b6002600555565b60065460ff1615611eea57611ee5838383600061236c565b505050565b805115611ee55760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016107c8565b61ffff861660009081526001602052604081208054611f6c90612acf565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890612acf565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b5050505050905080516000036120565760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107c8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009084906120ad908b9086908c908c908c908c90600401613038565b6000604051808303818588803b1580156120c657600080fd5b505af11580156120da573d6000803e3d6000fd5b505050505050505050505050565b6060816120f681601f613025565b10156121355760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016107c8565b61213f8284613025565b845110156121835760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016107c8565b6060821580156121a257604051915060008252602082016040526121ec565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156121db5780518352602092830192016121c3565b5050858452601f01601f1916604052505b50949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000606060008060008661ffff166001600160401b0381111561226a5761226a612667565b6040519080825280601f01601f191660200182016040528015612294576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156122b6578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516123009190613092565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061235d90879087908790879087906130ae565b60405180910390a15050505050565b60006123778361244b565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906123a9908490613025565b9050600081116123fb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016107c8565b80821015610c8c5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016107c8565b600060228251101561249f5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016107c8565b506022015190565b803561ffff811681146124b957600080fd5b919050565b60008083601f8401126124d057600080fd5b5081356001600160401b038111156124e757600080fd5b6020830191508360208285010111156124ff57600080fd5b9250929050565b80356001600160401b03811681146124b957600080fd5b6000806000806000806080878903121561253657600080fd5b61253f876124a7565b955060208701356001600160401b038082111561255b57600080fd5b6125678a838b016124be565b909750955085915061257b60408a01612506565b9450606089013591508082111561259157600080fd5b5061259e89828a016124be565b979a9699509497509295939492505050565b6000602082840312156125c257600080fd5b6112e8826124a7565b6001600160a01b0381168114611b3957600080fd5b600080604083850312156125f357600080fd5b82356125fe816125cb565b915061260c602084016124a7565b90509250929050565b60008060006040848603121561262a57600080fd5b612633846124a7565b925060208401356001600160401b0381111561264e57600080fd5b61265a868287016124be565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126a5576126a5612667565b604052919050565b60006001600160401b038211156126c6576126c6612667565b50601f01601f191660200190565b600082601f8301126126e557600080fd5b81356126f86126f3826126ad565b61267d565b81815284602083860101111561270d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561273f57600080fd5b612748846124a7565b925060208401356001600160401b0381111561276357600080fd5b61276f868287016126d4565b92505061277e60408501612506565b90509250925092565b60005b838110156127a257818101518382015260200161278a565b50506000910152565b600081518084526127c3816020860160208601612787565b601f01601f19169290920160200192915050565b6020815260006112e860208301846127ab565b803580151581146124b957600080fd5b600080600080600080600087890361010081121561281757600080fd5b8835612822816125cb565b975061283060208a016124a7565b9650604089013595506060890135612847816125cb565b945061285560808a016127ea565b93506040609f198201121561286957600080fd5b5060a08801915060e08801356001600160401b0381111561288957600080fd5b6128958a828b016126d4565b91505092959891949750929550565b600080604083850312156128b757600080fd5b6125fe836124a7565b600080600080606085870312156128d657600080fd5b6128df856124a7565b93506128ed602086016127ea565b925060408501356001600160401b0381111561290857600080fd5b612914878288016124be565b95989497509550505050565b6000806040838503121561293357600080fd5b61293c836124a7565b9150602083013561294c816125cb565b809150509250929050565b60008060006060848603121561296c57600080fd5b8335612977816125cb565b9250612985602085016124a7565b91506040840135612995816125cb565b809150509250925092565b6000602082840312156129b257600080fd5b81356112e8816125cb565b6000806000806000608086880312156129d557600080fd5b6129de866124a7565b94506129ec602087016124a7565b93506040860135925060608601356001600160401b03811115612a0e57600080fd5b612a1a888289016124be565b969995985093965092949392505050565b600080600060608486031215612a4057600080fd5b612a49846124a7565b9250612a57602085016124a7565b9150604084013590509250925092565b600060208284031215612a7957600080fd5b6112e8826127ea565b60008060008060808587031215612a9857600080fd5b612aa1856124a7565b9350612aaf602086016124a7565b92506040850135612abf816125cb565b9396929550929360600135925050565b600181811c90821680612ae357607f821691505b602082108103612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611be4604083018486612b19565b6020808252602a908201527f57726170706564546f6b656e4272696467653a20746f6b656e206973206e6f74604082015269081cdd5c1c1bdc9d195960b21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115612bd357612bd3612baa565b92915050565b8082028115828204841417612bd357612bd3612baa565b600082612c0d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039586168152938516602085015261ffff9290921660408401529092166060820152608081019190915260a00190565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612c77908301876127ab565b85151560608401528281036080840152612c92818587612b19565b9998505050505050505050565b60008060408385031215612cb257600080fd5b505080516020909101519092909150565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611ee557600081815260208120601f850160051c81016020861015612d105750805b601f850160051c820191505b81811015610c8c57828155600101612d1c565b81516001600160401b03811115612d4857612d48612667565b612d5c81612d568454612acf565b84612ce9565b602080601f831160018114612d915760008415612d795750858301515b600019600386901b1c1916600185901b178555610c8c565b600085815260208120601f198616915b82811015612dc057888601518255948401946001909101908401612da1565b5085821015612dde5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612e1c608083018486612b19565b979650505050505050565b61ffff86168152608060208201526000612e45608083018688612b19565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b03831115612e7957612e79612667565b612e8d83612e878354612acf565b83612ce9565b6000601f841160018114612ec15760008515612ea95750838201355b600019600387901b1c1916600186901b178355610a07565b600083815260209020601f19861690835b82811015612ef25786850135825560209485019460019092019101612ed2565b5086821015612f0f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612f3357600080fd5b81516001600160401b03811115612f4957600080fd5b8201601f81018413612f5a57600080fd5b8051612f686126f3826126ad565b818152856020838501011115612f7d57600080fd5b611be4826020830160208601612787565b61ffff85168152608060208201526000612fab60808301866127ab565b6001600160401b03851660408401528281036060840152612e1c81856127ab565b60008060008060808587031215612fe257600080fd5b845160ff81168114612ff357600080fd5b6020860151909450613004816125cb565b6040860151909350613015816125cb565b6060959095015193969295505050565b80820180821115612bd357612bd3612baa565b61ffff8716815260c06020820152600061305560c08301886127ab565b828103604084015261306781886127ab565b6001600160a01b0387811660608601528616608085015283810360a08501529050612c9281856127ab565b600082516130a4818460208701612787565b9190910192915050565b61ffff8616815260a0602082015260006130cb60a08301876127ab565b6001600160401b038616604084015282810360608401526130ec81866127ab565b9050828103608084015261310081856127ab565b9897505050505050505056fea2646970667358221220f306bed76e230975e2653e437a577dbce09721cf2f78f88c5c3cef61699f6c5f64736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\": {\n        \"details\": \"Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"stateVariables\": {\n      \"localToRemote\": {\n        \"details\": \"[local token] => [remote chain] => [remote token]\"\n      },\n      \"remoteToLocal\": {\n        \"details\": \"[remote token] => [remote chain] => [local token]\"\n      },\n      \"totalValueLocked\": {\n        \"details\": \"[remote chain] => [remote token] => [bridged amount]\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"TOTAL_BPS()\": {\n        \"notice\": \"Total bps representing 100%\"\n      },\n      \"bridge(address,uint16,uint256,address,bool,(address,address),bytes)\": {\n        \"notice\": \"Bridges `localToken` to the remote chain\"\n      },\n      \"localToRemote(address,uint16)\": {\n        \"notice\": \"Tokens that can be bridged\"\n      },\n      \"remoteToLocal(address,uint16)\": {\n        \"notice\": \"Tokens that can be bridged\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"totalValueLocked(uint16,address)\": {\n        \"notice\": \"Total value bridged per token and remote chains\"\n      },\n      \"withdrawalFeeBps()\": {\n        \"notice\": \"An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 2900,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 3016,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 5194,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 5384,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"withdrawalFeeBps\",\n        \"offset\": 1,\n        \"slot\": \"6\",\n        \"type\": \"t_uint16\"\n      },\n      {\n        \"astId\": 5391,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"localToRemote\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_uint16,t_address))\"\n      },\n      {\n        \"astId\": 5398,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"remoteToLocal\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_uint16,t_address))\"\n      },\n      {\n        \"astId\": 5405,\n        \"contract\": \"contracts/WrappedTokenBridge.sol:WrappedTokenBridge\",\n        \"label\": \"totalValueLocked\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_address,t_uint256))\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_mapping(t_uint16,t_address))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(uint16 => address))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_address)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_address)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => address)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_address\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/coredao-testnet/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/ethereum/.chainId",
    "content": "1"
  },
  {
    "path": "deployments/ethereum/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeETH\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0x3d20f408fdba0bd13f314d7cb9fd0013b007d5fdc50c793493766ae9cd432f0e\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n    \"transactionIndex\": 82,\n    \"gasUsed\": \"3415565\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000800000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000400000000040000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000020000000000000000000000000040000000000000000000000000000000000000000\",\n    \"blockHash\": \"0xd0ce4eae6a71028495fe80c92eadf4afb0e56fed73c3f0556b5d18b5ac6b9ed5\",\n    \"transactionHash\": \"0x3d20f408fdba0bd13f314d7cb9fd0013b007d5fdc50c793493766ae9cd432f0e\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 82,\n        \"blockNumber\": 16728490,\n        \"transactionHash\": \"0x3d20f408fdba0bd13f314d7cb9fd0013b007d5fdc50c793493766ae9cd432f0e\",\n        \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000004a8a8503360f3e44c945f34c7003b17827064e90\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 234,\n        \"blockHash\": \"0xd0ce4eae6a71028495fe80c92eadf4afb0e56fed73c3f0556b5d18b5ac6b9ed5\"\n      }\n    ],\n    \"blockNumber\": 16728490,\n    \"cumulativeGasUsed\": \"11544521\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675\",\n    153,\n    \"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeETH\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ETH to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ETH to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x237d9a4fc316a9abff2f12f4ee527aae15289e840736e8113bd3049832cc7700\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d01528181611711015281816117c9015281816117f30152818161186a0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161147301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ETH to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 2900,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 3016,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 5194,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 4442,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 4447,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4452,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4455,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/ethereum/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/goerli/.chainId",
    "content": "5"
  },
  {
    "path": "deployments/goerli/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0xD61903b50f34D6c24AB7Cc9E8478E19CAd9CA39b\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeNative\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0x132979239c92e9102da00a18a378cd78096f9a9e1f5d10cf8152dfd1ab1f2779\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xD61903b50f34D6c24AB7Cc9E8478E19CAd9CA39b\",\n    \"transactionIndex\": 17,\n    \"gasUsed\": \"3416571\",\n    \"logsBloom\": \"0x00000000000000100000000000000000000000000000000000800000000000000000000400000000000000000000000000000000000080000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400200000000000000010000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x86ab5cb583c2f695aa25a6dd2388ee4d1aba7e64ba70cfa6a9f2f8d7f3f47415\",\n    \"transactionHash\": \"0x132979239c92e9102da00a18a378cd78096f9a9e1f5d10cf8152dfd1ab1f2779\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 17,\n        \"blockNumber\": 9212752,\n        \"transactionHash\": \"0x132979239c92e9102da00a18a378cd78096f9a9e1f5d10cf8152dfd1ab1f2779\",\n        \"address\": \"0xD61903b50f34D6c24AB7Cc9E8478E19CAd9CA39b\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 46,\n        \"blockHash\": \"0x86ab5cb583c2f695aa25a6dd2388ee4d1aba7e64ba70cfa6a9f2f8d7f3f47415\"\n      }\n    ],\n    \"blockNumber\": 9212752,\n    \"cumulativeGasUsed\": \"5030021\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xbfD2135BFfbb0B5378b56643c2Df8a87552Bfa23\",\n    10153,\n    \"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"0407409643605285ad8f1f36d989de15\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeNative\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges native gas token (e.g. ETH) to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0xe06dc2838b0af062d21f6a29f8f3698e5d210dd9a5509f8a1d0dd12b56451210\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d015281816114660152818161151e01528181611548015281816115bf0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161162301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges native gas token (e.g. ETH) to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 1583,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 1699,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3265,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 2513,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 2518,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2523,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2526,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/goerli/USDCMock.json",
    "content": "{\n  \"address\": \"0x122B8f9fAda7586072e76950c7a299523D1f3846\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_name\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_symbol\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"_decimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0x504e8ce41e0ff857c172214370bc8cb80c1d8e19c262603ae247be2ca94c1cc7\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0x122B8f9fAda7586072e76950c7a299523D1f3846\",\n    \"transactionIndex\": 41,\n    \"gasUsed\": \"630368\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"blockHash\": \"0x518607c12e149ac182b64606917f5c323bc5712cfe1f561fb950834edb0ad288\",\n    \"transactionHash\": \"0x504e8ce41e0ff857c172214370bc8cb80c1d8e19c262603ae247be2ca94c1cc7\",\n    \"logs\": [],\n    \"blockNumber\": 8971645,\n    \"cumulativeGasUsed\": \"6261442\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"USDC Mock\",\n    \"USDC\",\n    6\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_name\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_symbol\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"_decimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\\\"},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/test/USDCMock.sol\\\":\\\"USDCMock\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/test/USDCMock.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\ncontract USDCMock is ERC20 {\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    function mint(address _to, uint _amount) external {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n}\\\",\\\"keccak256\\\":\\\"0xbc161462e7e1c866462e178de6e6d9f1ef4cca2c592a1171b957f967e44a21d0\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60a06040523480156200001157600080fd5b5060405162000c8738038062000c8783398101604081905262000034916200012a565b828260036200004483826200023e565b5060046200005382826200023e565b50505060ff16608052506200030a9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008d57600080fd5b81516001600160401b0380821115620000aa57620000aa62000065565b604051601f8301601f19908116603f01168101908282118183101715620000d557620000d562000065565b81604052838152602092508683858801011115620000f257600080fd5b600091505b83821015620001165785820183015181830184015290820190620000f7565b600093810190920192909252949350505050565b6000806000606084860312156200014057600080fd5b83516001600160401b03808211156200015857600080fd5b62000166878388016200007b565b945060208601519150808211156200017d57600080fd5b506200018c868287016200007b565b925050604084015160ff81168114620001a457600080fd5b809150509250925092565b600181811c90821680620001c457607f821691505b602082108103620001e557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023957600081815260208120601f850160051c81016020861015620002145750805b601f850160051c820191505b81811015620002355782815560010162000220565b5050505b505050565b81516001600160401b038111156200025a576200025a62000065565b62000272816200026b8454620001af565b84620001eb565b602080601f831160018114620002aa5760008415620002915750858301515b600019600386901b1c1916600185901b17855562000235565b600085815260208120601f198616915b82811015620002db57888601518255948401946001909101908401620002ba565b5085821015620002fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161096162000326600039600061012601526109616000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"decimals()\": {\n        \"details\": \"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {},\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/goerli/solcInputs/0407409643605285ad8f1f36d989de15.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/goerli/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/mumbai/.chainId",
    "content": "80001"
  },
  {
    "path": "deployments/mumbai/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0xbd2A1C02f1248a1b2210A6eF73458D4F3E5242c5\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeNative\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0xc5ab122c612a5b095c1e738cf4d37ca58c61f236eb09b75a9ceef3b4095aee0c\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0xbd2A1C02f1248a1b2210A6eF73458D4F3E5242c5\",\n    \"transactionIndex\": 5,\n    \"gasUsed\": \"3415577\",\n    \"logsBloom\": \"0x00000000000200000000000000000000000000000000000000800000000000000000000400000000000000000000000000008000000080000000000000108000000000000000000000000000000000800001000000000000000100000000000000000000020000000000000000000800000000000000000080000000000000400000000000000000010000000000000000000000000000000000000000000000200000000000000000080000000000000000000000000000800000000000004000000000000000000001000000000100000000000000000000100000000020000000000000000000000000000000000000000000000000000000000000100000\",\n    \"blockHash\": \"0xc986ad9bcccd388a64a0f4aadcafb110a96cc7dfb1903f85c6b6b829aa07db93\",\n    \"transactionHash\": \"0xc5ab122c612a5b095c1e738cf4d37ca58c61f236eb09b75a9ceef3b4095aee0c\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 5,\n        \"blockNumber\": 37091802,\n        \"transactionHash\": \"0xc5ab122c612a5b095c1e738cf4d37ca58c61f236eb09b75a9ceef3b4095aee0c\",\n        \"address\": \"0xbd2A1C02f1248a1b2210A6eF73458D4F3E5242c5\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 19,\n        \"blockHash\": \"0xc986ad9bcccd388a64a0f4aadcafb110a96cc7dfb1903f85c6b6b829aa07db93\"\n      },\n      {\n        \"transactionIndex\": 5,\n        \"blockNumber\": 37091802,\n        \"transactionHash\": \"0xc5ab122c612a5b095c1e738cf4d37ca58c61f236eb09b75a9ceef3b4095aee0c\",\n        \"address\": \"0x0000000000000000000000000000000000001010\",\n        \"topics\": [\n          \"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63\",\n          \"0x0000000000000000000000000000000000000000000000000000000000001010\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\",\n          \"0x0000000000000000000000003a22c8bc68e98b0faf40f349dd2b2890fae01484\"\n        ],\n        \"data\": \"0x0000000000000000000000000000000000000000000000000079587de9e144000000000000000000000000000000000000000000000000000916e053e5f26481000000000000000000000000000000000000000000000b82d526af35c734d35d000000000000000000000000000000000000000000000000089d87d5fc112081000000000000000000000000000000000000000000000b82d5a007b3b116175d\",\n        \"logIndex\": 20,\n        \"blockHash\": \"0xc986ad9bcccd388a64a0f4aadcafb110a96cc7dfb1903f85c6b6b829aa07db93\"\n      }\n    ],\n    \"blockNumber\": 37091802,\n    \"cumulativeGasUsed\": \"4005706\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0xf69186dfBa60DdB133E91E9A4B5673624293d8F8\",\n    10153,\n    \"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"0407409643605285ad8f1f36d989de15\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeNative\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeNative(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges native gas token (e.g. ETH) to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0xe06dc2838b0af062d21f6a29f8f3698e5d210dd9a5509f8a1d0dd12b56451210\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d015281816114660152818161151e01528181611548015281816115bf0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161162301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063d1deba1f116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063d1deba1f14610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063c7e82ebd1461064e578063cbed8b9c1461066157600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b61025461065c3660046131c6565b611454565b34801561066d57600080fd5b5061025461067c366004613230565b611604565b61025461068f366004612e0f565b611699565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c6123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff166114b45760405162461bcd60e51b81526004016108309061373f565b833410156115175760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006115437f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b50505050506115f37f0000000000000000000000000000000000000000000000000000000000000000828684346115ec91906135e8565b878761244e565b506115fe6001600555565b50505050565b61160c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611660908890889088908890889060040161378a565b600060405180830381600087803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526004602052604080822090516116bc90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061173c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161174d9291906133f5565b6040518091039020146117ac5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff871660009081526004602052604080822090516117cf90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611867918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161189e9594939291906137b8565b60405180910390a150505050505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b81526004016108309061373f565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b81526004016108309061373f565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115fe9085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000604082840312156131c057600080fd5b50919050565b60008060008060a085870312156131dc57600080fd5b8435935060208501356131ee81612ebd565b92506131fd86604087016131ae565b915060808501356001600160401b0381111561321857600080fd5b61322487828801613065565b91505092959194509250565b60008060008060006080868803121561324857600080fd5b61325186612d99565b945061325f60208701612d99565b93506040860135925060608601356001600160401b0381111561328157600080fd5b61328d88828901612db0565b969995985093965092949392505050565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d87606088016131ae565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b6020821081036131c057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff861681526080602082015260006137d6608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea2646970667358221220da3fa5a8142d2fe87b478390fca8ffe7208b90debc2d10740b6aa67ab32068f964736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeNative(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges native gas token (e.g. ETH) to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 1583,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 1699,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3265,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 2513,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 2518,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2523,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 2526,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/mumbai/USDCMock.json",
    "content": "{\n  \"address\": \"0x9ebF92a4b1615CcD5fd10E46adF509d6071345A9\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_name\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"string\",\n          \"name\": \"_symbol\",\n          \"type\": \"string\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"_decimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Approval\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"value\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"Transfer\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"owner\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"allowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"approve\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"account\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"balanceOf\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"decimals\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"subtractedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"decreaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"spender\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"addedValue\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"increaseAllowance\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"mint\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"name\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"symbol\",\n      \"outputs\": [\n        {\n          \"internalType\": \"string\",\n          \"name\": \"\",\n          \"type\": \"string\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"totalSupply\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transfer\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"transferFrom\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    }\n  ],\n  \"transactionHash\": \"0x5d4a941c37588b159f27075d1bc542da03541071f77b34522469550681d3e2e3\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x3626f14e310c42d01E66dEF77E15Ec62e622c9fC\",\n    \"contractAddress\": \"0x9ebF92a4b1615CcD5fd10E46adF509d6071345A9\",\n    \"transactionIndex\": 2,\n    \"gasUsed\": \"630152\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000008000002080000000000000000000000000000000000000000000000000800000000000000000040100000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000010000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000040000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000\",\n    \"blockHash\": \"0xc60095d1f20c9c8d7b4e35793c8413518d86b6f0f40bace0623ab8eca691fb7d\",\n    \"transactionHash\": \"0x5d4a941c37588b159f27075d1bc542da03541071f77b34522469550681d3e2e3\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 2,\n        \"blockNumber\": 35392709,\n        \"transactionHash\": \"0x5d4a941c37588b159f27075d1bc542da03541071f77b34522469550681d3e2e3\",\n        \"address\": \"0x0000000000000000000000000000000000001010\",\n        \"topics\": [\n          \"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63\",\n          \"0x0000000000000000000000000000000000000000000000000000000000001010\",\n          \"0x0000000000000000000000003626f14e310c42d01e66def77e15ec62e622c9fc\",\n          \"0x000000000000000000000000c275dc8be39f50d12f66b6a63629c39da5bae5bd\"\n        ],\n        \"data\": \"0x00000000000000000000000000000000000000000000000000035bae0b2bf8000000000000000000000000000000000000000000000000000941593a23d62216000000000000000000000000000000000000000000001084f0272123b0bcbd4a000000000000000000000000000000000000000000000000093dfd8c18aa2a16000000000000000000000000000000000000000000001084f02a7cd1bbe8b54a\",\n        \"logIndex\": 4,\n        \"blockHash\": \"0xc60095d1f20c9c8d7b4e35793c8413518d86b6f0f40bace0623ab8eca691fb7d\"\n      }\n    ],\n    \"blockNumber\": 35392709,\n    \"cumulativeGasUsed\": \"672152\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"USDC Mock\",\n    \"USDC\",\n    6\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_name\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"_symbol\\\",\\\"type\\\":\\\"string\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"_decimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"allowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\\\"},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/test/USDCMock.sol\\\":\\\"USDCMock\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\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 * 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 ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n    mapping(address => uint256) private _balances;\\\\n\\\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\\\n     * {decimals} you should overload it.\\\\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 override 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 override 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 value {ERC20} uses, unless this function is\\\\n     * 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 override returns (uint8) {\\\\n        return 18;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-totalSupply}.\\\\n     */\\\\n    function totalSupply() public view virtual override returns (uint256) {\\\\n        return _totalSupply;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-balanceOf}.\\\\n     */\\\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\\\n     */\\\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _transfer(owner, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-allowance}.\\\\n     */\\\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n        return _allowances[owner][spender];\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-approve}.\\\\n     *\\\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev See {IERC20-transferFrom}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\\\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 `amount`.\\\\n     * - the caller must have allowance for ``from``'s tokens of at least\\\\n     * `amount`.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) public virtual override returns (bool) {\\\\n        address spender = _msgSender();\\\\n        _spendAllowance(from, spender, amount);\\\\n        _transfer(from, to, amount);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     */\\\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n     *\\\\n     * This is an alternative to {approve} that can be used as a mitigation for\\\\n     * problems described in {IERC20-approve}.\\\\n     *\\\\n     * Emits an {Approval} event indicating the updated allowance.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `spender` must have allowance for the caller of at least\\\\n     * `subtractedValue`.\\\\n     */\\\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n        address owner = _msgSender();\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n        unchecked {\\\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\\\n        }\\\\n\\\\n        return true;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Moves `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     * Requirements:\\\\n     *\\\\n     * - `from` cannot be the zero address.\\\\n     * - `to` cannot be the zero address.\\\\n     * - `from` must have a balance of at least `amount`.\\\\n     */\\\\n    function _transfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n        require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(from, to, amount);\\\\n\\\\n        uint256 fromBalance = _balances[from];\\\\n        require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[from] = fromBalance - amount;\\\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\\\n            // decrementing then incrementing.\\\\n            _balances[to] += amount;\\\\n        }\\\\n\\\\n        emit Transfer(from, to, amount);\\\\n\\\\n        _afterTokenTransfer(from, to, amount);\\\\n    }\\\\n\\\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n     * the total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `from` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     */\\\\n    function _mint(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n        _totalSupply += amount;\\\\n        unchecked {\\\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\\\n            _balances[account] += amount;\\\\n        }\\\\n        emit Transfer(address(0), account, amount);\\\\n\\\\n        _afterTokenTransfer(address(0), account, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\\\n     * total supply.\\\\n     *\\\\n     * Emits a {Transfer} event with `to` set to the zero address.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `account` cannot be the zero address.\\\\n     * - `account` must have at least `amount` tokens.\\\\n     */\\\\n    function _burn(address account, uint256 amount) internal virtual {\\\\n        require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n        _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n        uint256 accountBalance = _balances[account];\\\\n        require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n        unchecked {\\\\n            _balances[account] = accountBalance - amount;\\\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\\\n            _totalSupply -= amount;\\\\n        }\\\\n\\\\n        emit Transfer(account, address(0), amount);\\\\n\\\\n        _afterTokenTransfer(account, address(0), amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` 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    function _approve(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n        require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n        _allowances[owner][spender] = amount;\\\\n        emit Approval(owner, spender, amount);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n     *\\\\n     * Does not update the allowance amount in case of infinite allowance.\\\\n     * Revert if not enough allowance is available.\\\\n     *\\\\n     * Might emit an {Approval} event.\\\\n     */\\\\n    function _spendAllowance(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 amount\\\\n    ) internal virtual {\\\\n        uint256 currentAllowance = allowance(owner, spender);\\\\n        if (currentAllowance != type(uint256).max) {\\\\n            require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n            unchecked {\\\\n                _approve(owner, spender, currentAllowance - amount);\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Hook that is called before any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * will be transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _beforeTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n\\\\n    /**\\\\n     * @dev Hook that is called after any transfer of tokens. This includes\\\\n     * minting and burning.\\\\n     *\\\\n     * Calling conditions:\\\\n     *\\\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n     * has been transferred to `to`.\\\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n     * - `from` and `to` are never both zero.\\\\n     *\\\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n     */\\\\n    function _afterTokenTransfer(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\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\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/test/USDCMock.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\ncontract USDCMock is ERC20 {\\\\n    uint8 private immutable _tokenDecimals;\\\\n\\\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\\\n        _tokenDecimals = _decimals;\\\\n    }\\\\n\\\\n    function mint(address _to, uint _amount) external {\\\\n        _mint(_to, _amount);\\\\n    }\\\\n\\\\n    function decimals() public view virtual override returns (uint8) {\\\\n        return _tokenDecimals;\\\\n    }\\\\n}\\\",\\\"keccak256\\\":\\\"0xbc161462e7e1c866462e178de6e6d9f1ef4cca2c592a1171b957f967e44a21d0\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60a06040523480156200001157600080fd5b5060405162000c8738038062000c8783398101604081905262000034916200012a565b828260036200004483826200023e565b5060046200005382826200023e565b50505060ff16608052506200030a9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008d57600080fd5b81516001600160401b0380821115620000aa57620000aa62000065565b604051601f8301601f19908116603f01168101908282118183101715620000d557620000d562000065565b81604052838152602092508683858801011115620000f257600080fd5b600091505b83821015620001165785820183015181830184015290820190620000f7565b600093810190920192909252949350505050565b6000806000606084860312156200014057600080fd5b83516001600160401b03808211156200015857600080fd5b62000166878388016200007b565b945060208601519150808211156200017d57600080fd5b506200018c868287016200007b565b925050604084015160ff81168114620001a457600080fd5b809150509250925092565b600181811c90821680620001c457607f821691505b602082108103620001e557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023957600081815260208120601f850160051c81016020861015620002145750805b601f850160051c820191505b81811015620002355782815560010162000220565b5050505b505050565b81516001600160401b038111156200025a576200025a62000065565b62000272816200026b8454620001af565b84620001eb565b602080601f831160018114620002aa5760008415620002915750858301515b600019600386901b1c1916600185901b17855562000235565b600085815260208120601f198616915b82811015620002db57888601518255948401946001909101908401620002ba565b5085821015620002fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161096162000326600039600061012601526109616000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"deployedBytecode\": \"0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461016357806370a082311461017857806395d89b41146101a1578063a457c2d7146101a9578063a9059cbb146101bc578063dd62ed3e146101cf57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f5780633950935114610150575b600080fd5b6100c16101e2565b6040516100ce91906107ab565b60405180910390f35b6100ea6100e5366004610815565b610274565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a36600461083f565b61028e565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100ce565b6100ea61015e366004610815565b6102b2565b610176610171366004610815565b6102d4565b005b6100fe61018636600461087b565b6001600160a01b031660009081526020819052604090205490565b6100c16102e2565b6100ea6101b7366004610815565b6102f1565b6100ea6101ca366004610815565b610371565b6100fe6101dd36600461089d565b61037f565b6060600380546101f1906108d0565b80601f016020809104026020016040519081016040528092919081815260200182805461021d906108d0565b801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b5050505050905090565b6000336102828185856103aa565b60019150505b92915050565b60003361029c8582856104ce565b6102a7858585610548565b506001949350505050565b6000336102828185856102c5838361037f565b6102cf919061090a565b6103aa565b6102de82826106ec565b5050565b6060600480546101f1906108d0565b600033816102ff828661037f565b9050838110156103645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102a782868684036103aa565b600033610282818585610548565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661040c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b03821661046d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104da848461037f565b9050600019811461054257818110156105355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161035b565b61054284848484036103aa565b50505050565b6001600160a01b0383166105ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b03821661060e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b6001600160a01b038316600090815260208190526040902054818110156106865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161035b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610542565b6001600160a01b0382166107425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161035b565b8060026000828254610754919061090a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156107d8578581018301518582016040015282016107bc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461081057600080fd5b919050565b6000806040838503121561082857600080fd5b610831836107f9565b946020939093013593505050565b60008060006060848603121561085457600080fd5b61085d846107f9565b925061086b602085016107f9565b9150604084013590509250925092565b60006020828403121561088d57600080fd5b610896826107f9565b9392505050565b600080604083850312156108b057600080fd5b6108b9836107f9565b91506108c7602084016107f9565b90509250929050565b600181811c908216806108e457607f821691505b60208210810361090457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028857634e487b7160e01b600052601160045260246000fdfea264697066735822122018ce0d034d275b342249680bceaf954e59dca85a5a49ba1d8815a53a6ada551c64736f6c63430008110033\",\n  \"devdoc\": {\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"allowance(address,address)\": {\n        \"details\": \"See {IERC20-allowance}.\"\n      },\n      \"approve(address,uint256)\": {\n        \"details\": \"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"balanceOf(address)\": {\n        \"details\": \"See {IERC20-balanceOf}.\"\n      },\n      \"decimals()\": {\n        \"details\": \"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"\n      },\n      \"decreaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"\n      },\n      \"increaseAllowance(address,uint256)\": {\n        \"details\": \"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"\n      },\n      \"name()\": {\n        \"details\": \"Returns the name of the token.\"\n      },\n      \"symbol()\": {\n        \"details\": \"Returns the symbol of the token, usually a shorter version of the name.\"\n      },\n      \"totalSupply()\": {\n        \"details\": \"See {IERC20-totalSupply}.\"\n      },\n      \"transfer(address,uint256)\": {\n        \"details\": \"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"\n      },\n      \"transferFrom(address,address,uint256)\": {\n        \"details\": \"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {},\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 3075,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_balances\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 3081,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_allowances\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_address,t_mapping(t_address,t_uint256))\"\n      },\n      {\n        \"astId\": 3083,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_totalSupply\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 3085,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_name\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_string_storage\"\n      },\n      {\n        \"astId\": 3087,\n        \"contract\": \"contracts/test/USDCMock.sol:USDCMock\",\n        \"label\": \"_symbol\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_string_storage\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_mapping(t_address,t_mapping(t_address,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => mapping(address => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_address,t_uint256)\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_string_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"string\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/mumbai/solcInputs/0407409643605285ad8f1f36d989de15.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges native gas token (e.g. ETH) to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeNative(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/mumbai/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "deployments/polygon/.chainId",
    "content": "137"
  },
  {
    "path": "deployments/polygon/OriginalTokenBridge.json",
    "content": "{\n  \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n  \"abi\": [\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_endpoint\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_weth\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"constructor\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_reason\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"MessageFailed\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"previousOwner\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"OwnershipTransferred\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"ReceiveToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"RegisterToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes32\",\n          \"name\": \"_payloadHash\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"name\": \"RetryMessageSuccess\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"from\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SendToken\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_type\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"_minDstGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"SetMinDstGas\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"SetPrecrime\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"SetRemoteChainId\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemote\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"SetTrustedRemoteAddress\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": false,\n          \"internalType\": \"bool\",\n          \"name\": \"useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"SetUseCustomAdapterParams\",\n      \"type\": \"event\"\n    },\n    {\n      \"anonymous\": false,\n      \"inputs\": [\n        {\n          \"indexed\": true,\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"indexed\": false,\n          \"internalType\": \"uint256\",\n          \"name\": \"amount\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"WithdrawFee\",\n      \"type\": \"event\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"LDtoSDConversionRate\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_MINT\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"PT_UNLOCK\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"accruedFeeLD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridge\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"components\": [\n            {\n              \"internalType\": \"address payable\",\n              \"name\": \"refundAddress\",\n              \"type\": \"address\"\n            },\n            {\n              \"internalType\": \"address\",\n              \"name\": \"zroPaymentAddress\",\n              \"type\": \"address\"\n            }\n          ],\n          \"internalType\": \"struct LzLib.CallParams\",\n          \"name\": \"callParams\",\n          \"type\": \"tuple\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"bridgeETH\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"useZro\",\n          \"type\": \"bool\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"adapterParams\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"estimateBridgeFee\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"nativeFee\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"zroFee\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"\",\n          \"type\": \"uint64\"\n        }\n      ],\n      \"name\": \"failedMessages\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes32\",\n          \"name\": \"\",\n          \"type\": \"bytes32\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"forceResumeReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"getConfig\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"getTrustedRemoteAddress\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"isTrustedRemote\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"lzEndpoint\",\n      \"outputs\": [\n        {\n          \"internalType\": \"contract ILayerZeroEndpoint\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"lzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"minDstGasLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"nonblockingLzReceive\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"owner\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"precrime\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint8\",\n          \"name\": \"sharedDecimals\",\n          \"type\": \"uint8\"\n        }\n      ],\n      \"name\": \"registerToken\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"remoteChainId\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"renounceOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_srcAddress\",\n          \"type\": \"bytes\"\n        },\n        {\n          \"internalType\": \"uint64\",\n          \"name\": \"_nonce\",\n          \"type\": \"uint64\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_payload\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"retryMessage\",\n      \"outputs\": [],\n      \"stateMutability\": \"payable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_chainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_configType\",\n          \"type\": \"uint256\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_config\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setConfig\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_dstChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_packetType\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"_minGas\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"setMinDstGas\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"_precrime\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"setPrecrime\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setReceiveVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setRemoteChainId\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_version\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"setSendVersion\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_srcChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_path\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemote\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"_remoteChainId\",\n          \"type\": \"uint16\"\n        },\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"_remoteAddress\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"name\": \"setTrustedRemoteAddress\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"_useCustomAdapterParams\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"name\": \"setUseCustomAdapterParams\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"supportedTokens\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"totalValueLockedSD\",\n      \"outputs\": [\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"newOwner\",\n          \"type\": \"address\"\n        }\n      ],\n      \"name\": \"transferOwnership\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"uint16\",\n          \"name\": \"\",\n          \"type\": \"uint16\"\n        }\n      ],\n      \"name\": \"trustedRemoteLookup\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bytes\",\n          \"name\": \"\",\n          \"type\": \"bytes\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"useCustomAdapterParams\",\n      \"outputs\": [\n        {\n          \"internalType\": \"bool\",\n          \"name\": \"\",\n          \"type\": \"bool\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [],\n      \"name\": \"weth\",\n      \"outputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"\",\n          \"type\": \"address\"\n        }\n      ],\n      \"stateMutability\": \"view\",\n      \"type\": \"function\"\n    },\n    {\n      \"inputs\": [\n        {\n          \"internalType\": \"address\",\n          \"name\": \"token\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"address\",\n          \"name\": \"to\",\n          \"type\": \"address\"\n        },\n        {\n          \"internalType\": \"uint256\",\n          \"name\": \"amountLD\",\n          \"type\": \"uint256\"\n        }\n      ],\n      \"name\": \"withdrawFee\",\n      \"outputs\": [],\n      \"stateMutability\": \"nonpayable\",\n      \"type\": \"function\"\n    },\n    {\n      \"stateMutability\": \"payable\",\n      \"type\": \"receive\"\n    }\n  ],\n  \"transactionHash\": \"0x493c78028895a1f344f4b459e1e73c80e50fd453369cceac8e61dbb19bceacd1\",\n  \"receipt\": {\n    \"to\": null,\n    \"from\": \"0x4a8a8503360f3e44C945F34C7003b17827064E90\",\n    \"contractAddress\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n    \"transactionIndex\": 37,\n    \"gasUsed\": \"3415565\",\n    \"logsBloom\": \"0x00000000000000000000000000000000000000000000000000800000100000000000000000080000000000000000000000008000000000000000000000000000000000000000000000000000000000800001000000400000000140010000000000000000020000000000000000080800000000000000000080000000000000400000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000008000000000000000000000000000004000000000000000000001000000000000000000000000000040100000000020000000000000000000000000040000000000000000000000000000000000100000\",\n    \"blockHash\": \"0x39402abcdf94751806a23081680c05709660aaec4a67d556262121fa7b93d2cb\",\n    \"transactionHash\": \"0x493c78028895a1f344f4b459e1e73c80e50fd453369cceac8e61dbb19bceacd1\",\n    \"logs\": [\n      {\n        \"transactionIndex\": 37,\n        \"blockNumber\": 39814173,\n        \"transactionHash\": \"0x493c78028895a1f344f4b459e1e73c80e50fd453369cceac8e61dbb19bceacd1\",\n        \"address\": \"0x52e75D318cFB31f9A2EdFa2DFee26B161255B233\",\n        \"topics\": [\n          \"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\n          \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n          \"0x0000000000000000000000004a8a8503360f3e44c945f34c7003b17827064e90\"\n        ],\n        \"data\": \"0x\",\n        \"logIndex\": 158,\n        \"blockHash\": \"0x39402abcdf94751806a23081680c05709660aaec4a67d556262121fa7b93d2cb\"\n      },\n      {\n        \"transactionIndex\": 37,\n        \"blockNumber\": 39814173,\n        \"transactionHash\": \"0x493c78028895a1f344f4b459e1e73c80e50fd453369cceac8e61dbb19bceacd1\",\n        \"address\": \"0x0000000000000000000000000000000000001010\",\n        \"topics\": [\n          \"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63\",\n          \"0x0000000000000000000000000000000000000000000000000000000000001010\",\n          \"0x0000000000000000000000004a8a8503360f3e44c945f34c7003b17827064e90\",\n          \"0x00000000000000000000000060e274b09f701107a4b3226fcc1376ebda3cdd92\"\n        ],\n        \"data\": \"0x00000000000000000000000000000000000000000000000001c89514119f7b56000000000000000000000000000000000000000000000001387a56a6a81dbfa8000000000000000000000000000000000000000000000e63e0b1e1b1074c207900000000000000000000000000000000000000000000000136b1c192967e4452000000000000000000000000000000000000000000000e63e27a76c518eb9bcf\",\n        \"logIndex\": 159,\n        \"blockHash\": \"0x39402abcdf94751806a23081680c05709660aaec4a67d556262121fa7b93d2cb\"\n      }\n    ],\n    \"blockNumber\": 39814173,\n    \"cumulativeGasUsed\": \"10025847\",\n    \"status\": 1,\n    \"byzantium\": true\n  },\n  \"args\": [\n    \"0x3c2269811836af69497E5F486A85D7316753cf62\",\n    153,\n    \"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270\"\n  ],\n  \"numDeployments\": 1,\n  \"solcInputHash\": \"b6255f5137ca425adf47d7259b154fc7\",\n  \"metadata\": \"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.17+commit.8df45f5f\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_endpoint\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_reason\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"MessageFailed\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"previousOwner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"OwnershipTransferred\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ReceiveToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RegisterToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"_payloadHash\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RetryMessageSuccess\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SendToken\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_type\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minDstGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"SetMinDstGas\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"SetPrecrime\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"SetRemoteChainId\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemote\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"SetTrustedRemoteAddress\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"SetUseCustomAdapterParams\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"WithdrawFee\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"LDtoSDConversionRate\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_MINT\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PT_UNLOCK\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"accruedFeeLD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridge\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"refundAddress\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"zroPaymentAddress\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct LzLib.CallParams\\\",\\\"name\\\":\\\"callParams\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"bridgeETH\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"useZro\\\",\\\"type\\\":\\\"bool\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"adapterParams\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"estimateBridgeFee\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nativeFee\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"zroFee\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint64\\\"}],\\\"name\\\":\\\"failedMessages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"forceResumeReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getConfig\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"getTrustedRemoteAddress\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"isTrustedRemote\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"lzEndpoint\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract ILayerZeroEndpoint\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"lzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"minDstGasLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"nonblockingLzReceive\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"owner\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"precrime\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"sharedDecimals\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"registerToken\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"remoteChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"renounceOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_srcAddress\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"internalType\\\":\\\"uint64\\\",\\\"name\\\":\\\"_nonce\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_payload\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"retryMessage\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_chainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_configType\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_config\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setConfig\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_dstChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_packetType\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_minGas\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setMinDstGas\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_precrime\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setPrecrime\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setReceiveVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setRemoteChainId\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_version\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"setSendVersion\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_srcChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_path\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemote\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"_remoteChainId\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"_remoteAddress\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"setTrustedRemoteAddress\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_useCustomAdapterParams\\\",\\\"type\\\":\\\"bool\\\"}],\\\"name\\\":\\\"setUseCustomAdapterParams\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"supportedTokens\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"totalValueLockedSD\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"newOwner\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"transferOwnership\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint16\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint16\\\"}],\\\"name\\\":\\\"trustedRemoteLookup\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"useCustomAdapterParams\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"weth\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amountLD\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawFee\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\",\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"details\\\":\\\"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\"},\\\"owner()\\\":{\\\"details\\\":\\\"Returns the address of the current owner.\\\"},\\\"registerToken(address,uint8)\\\":{\\\"params\\\":{\\\"sharedDecimals\\\":\\\"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\",\\\"token\\\":\\\"address of the token\\\"}},\\\"renounceOwnership()\\\":{\\\"details\\\":\\\"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"details\\\":\\\"Can be called only by the bridge owner\\\"},\\\"transferOwnership(address)\\\":{\\\"details\\\":\\\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"LDtoSDConversionRate(address)\\\":{\\\"notice\\\":\\\"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\"},\\\"PT_MINT()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting minting of wrapped tokens\\\"},\\\"PT_UNLOCK()\\\":{\\\"notice\\\":\\\"A packet type used to identify messages requesting unlocking of original tokens\\\"},\\\"bridge(address,uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ERC20 to the remote chain\\\"},\\\"bridgeETH(uint256,address,(address,address),bytes)\\\":{\\\"notice\\\":\\\"Bridges ETH to the remote chain\\\"},\\\"registerToken(address,uint8)\\\":{\\\"notice\\\":\\\"Registers a token for bridging\\\"},\\\"remoteChainId()\\\":{\\\"notice\\\":\\\"LayerZero id of the remote chain where wrapped tokens are minted\\\"},\\\"setUseCustomAdapterParams(bool)\\\":{\\\"notice\\\":\\\"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\"},\\\"supportedTokens(address)\\\":{\\\"notice\\\":\\\"Tokens that can be bridged to the remote chain\\\"},\\\"totalValueLockedSD(address)\\\":{\\\"notice\\\":\\\"Total value locked per each supported token in shared decimals\\\"},\\\"weth()\\\":{\\\"notice\\\":\\\"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"contracts/OriginalTokenBridge.sol\\\":\\\"OriginalTokenBridge\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[]},\\\"sources\\\":{\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\nimport \\\\\\\"./ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\n\\\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\\\n    // @param _payload - a custom bytes payload to send to the destination contract\\\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\\\n\\\\n    // @notice used by the messaging library to publish verified payload\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\\\n    // @param _dstAddress - the address on destination chain\\\\n    // @param _nonce - the unbound message ordering nonce\\\\n    // @param _gasLimit - the gas limit for external contract execution\\\\n    // @param _payload - verified payload to send to the destination contract\\\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\\\n\\\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\\\n\\\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\\\n    // @param _dstChainId - the destination chain identifier\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    // @param _payload - the custom message to send over LayerZero\\\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\\\n\\\\n    // @notice get this Endpoint's immutable source identifier\\\\n    function getChainId() external view returns (uint16);\\\\n\\\\n    // @notice the interface to retry failed message on this Endpoint destination\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    // @param _payload - the payload to be retried\\\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\\\n\\\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\\\n    // @param _srcChainId - the source chain identifier\\\\n    // @param _srcAddress - the source chain contract address\\\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\\\n    // @param _userApplication - the user app address on this EVM chain\\\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\\\n\\\\n    // @notice query if the non-reentrancy guard for send() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isSendingPayload() external view returns (bool);\\\\n\\\\n    // @notice query if the non-reentrancy guard for receive() is on\\\\n    // @return true if the guard is on. false otherwise\\\\n    function isReceivingPayload() external view returns (bool);\\\\n\\\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _userApplication - the contract address of the user application\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\\\n\\\\n    // @notice get the send() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\\\n\\\\n    // @notice get the lzReceive() LayerZero messaging library version\\\\n    // @param _userApplication - the contract address of the user application\\\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe9617a9f6db351b6ac4c9d5b1097798af59ad7f813e370e8cf69bb44addd8548\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroReceiver {\\\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\\\n    // @param _srcChainId - the source endpoint identifier\\\\n    // @param _srcAddress - the source sending contract address from the source chain\\\\n    // @param _nonce - the ordered message nonce\\\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x909bf72002c91806f39a64172c12b4188219e8649deefbe8d862604d4f9d3faf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity >=0.5.0;\\\\n\\\\ninterface ILayerZeroUserApplicationConfig {\\\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\\\n    // @param _version - messaging library version\\\\n    // @param _chainId - the chainId for the pending config change\\\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\\\n\\\\n    // @notice set the send() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setSendVersion(uint16 _version) external;\\\\n\\\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\\\n    // @param _version - new messaging library version\\\\n    function setReceiveVersion(uint16 _version) external;\\\\n\\\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\\\n    // @param _srcChainId - the chainId of the source chain\\\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe3e50134e39aa3c0f916447d36367970c6e4df972d488b794227e0b052ce80d5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: BUSL-1.1\\\\n\\\\npragma solidity >=0.6.0;\\\\npragma experimental ABIEncoderV2;\\\\n\\\\nlibrary LzLib {\\\\n    // LayerZero communication\\\\n    struct CallParams {\\\\n        address payable refundAddress;\\\\n        address zroPaymentAddress;\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n\\\\n    struct AirdropParams {\\\\n        uint airdropAmount;\\\\n        bytes32 airdropAddress;\\\\n    }\\\\n\\\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\\\n        } else {\\\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\\\n        }\\\\n    }\\\\n\\\\n    // Build Adapter Params\\\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\\\n        // txType 1\\\\n        // bytes  [2       32      ]\\\\n        // fields [txType  extraGas]\\\\n        return abi.encodePacked(uint16(1), _uaGas);\\\\n    }\\\\n\\\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\\\n        require(_params.airdropAmount > 0, \\\\\\\"Airdrop amount must be greater than 0\\\\\\\");\\\\n        require(_params.airdropAddress != bytes32(0x0), \\\\\\\"Airdrop address must be set\\\\\\\");\\\\n\\\\n        // txType 2\\\\n        // bytes  [2       32        32            bytes[]         ]\\\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\\\n    }\\\\n\\\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    // Decode Adapter Params\\\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\\\\\"Invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            txType := mload(add(_adapterParams, 2))\\\\n            uaGas := mload(add(_adapterParams, 34))\\\\n        }\\\\n        require(txType == 1 || txType == 2, \\\\\\\"Unsupported txType\\\\\\\");\\\\n        require(uaGas > 0, \\\\\\\"Gas too low\\\\\\\");\\\\n\\\\n        if (txType == 2) {\\\\n            assembly {\\\\n                airdropAmount := mload(add(_adapterParams, 66))\\\\n                airdropAddress := mload(add(_adapterParams, 86))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------------------------------------------------------\\\\n    // Address type handling\\\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\\\n        return address(uint160(uint(_bytes32Address)));\\\\n    }\\\\n\\\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\\\n        return bytes32(uint(uint160(_address)));\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd7ed18db258ec3a628b0c5544eb14704180bfaed848014533ac90c2bd78d52aa\\\",\\\"license\\\":\\\"BUSL-1.1\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/Ownable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroReceiver.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/ILayerZeroEndpoint.sol\\\\\\\";\\\\nimport \\\\\\\"../util/BytesLib.sol\\\\\\\";\\\\n\\\\n/*\\\\n * a generic LzReceiver implementation\\\\n */\\\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\\\n    using BytesLib for bytes;\\\\n\\\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\\\n    address public precrime;\\\\n\\\\n    event SetPrecrime(address precrime);\\\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\\\n\\\\n    constructor(address _endpoint) {\\\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\\\n    }\\\\n\\\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\\\n        // lzReceive must be called by the endpoint for security\\\\n        require(_msgSender() == address(lzEndpoint), \\\\\\\"LzApp: invalid endpoint caller\\\\\\\");\\\\n\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\\\\\"LzApp: invalid source sending contract\\\\\\\");\\\\n\\\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\\\n        require(trustedRemote.length != 0, \\\\\\\"LzApp: destination chain is not a trusted source\\\\\\\");\\\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\\\n    }\\\\n\\\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\\\n        require(minGasLimit > 0, \\\\\\\"LzApp: minGasLimit not set\\\\\\\");\\\\n        require(providedGasLimit >= minGasLimit, \\\\\\\"LzApp: gas limit is too low\\\\\\\");\\\\n    }\\\\n\\\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\\\n        require(_adapterParams.length >= 34, \\\\\\\"LzApp: invalid adapterParams\\\\\\\");\\\\n        assembly {\\\\n            gasLimit := mload(add(_adapterParams, 34))\\\\n        }\\\\n    }\\\\n\\\\n    //---------------------------UserApplication config----------------------------------------\\\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\\\n    }\\\\n\\\\n    // generic config for LayerZero user Application\\\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\\\n    }\\\\n\\\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setSendVersion(_version);\\\\n    }\\\\n\\\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\\\n        lzEndpoint.setReceiveVersion(_version);\\\\n    }\\\\n\\\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\\\n    }\\\\n\\\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\\\n    // this function set the trusted path for the cross-chain communication\\\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\\\n        trustedRemoteLookup[_srcChainId] = _path;\\\\n        emit SetTrustedRemote(_srcChainId, _path);\\\\n    }\\\\n\\\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\\\n    }\\\\n\\\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\\\n        require(path.length != 0, \\\\\\\"LzApp: no trusted path record\\\\\\\");\\\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\\\n    }\\\\n\\\\n    function setPrecrime(address _precrime) external onlyOwner {\\\\n        precrime = _precrime;\\\\n        emit SetPrecrime(_precrime);\\\\n    }\\\\n\\\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\\\n        require(_minGas > 0, \\\\\\\"LzApp: invalid minGas\\\\\\\");\\\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\\\n    }\\\\n\\\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9f057e6b7c9006828f7711122743dd068225d3d331989a6660a8f964b5977a1e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./LzApp.sol\\\\\\\";\\\\nimport \\\\\\\"../util/ExcessivelySafeCall.sol\\\\\\\";\\\\n\\\\n/*\\\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\\\n */\\\\nabstract contract NonblockingLzApp is LzApp {\\\\n    using ExcessivelySafeCall for address;\\\\n\\\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\\\n\\\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\\\n\\\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\\\n\\\\n    // overriding the virtual function in LzReceiver\\\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\\\n        // try-catch all errors/exceptions\\\\n        if (!success) {\\\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\\\n        }\\\\n    }\\\\n\\\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\\\n    }\\\\n\\\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\\\n        // only internal transaction\\\\n        require(_msgSender() == address(this), \\\\\\\"NonblockingLzApp: caller must be LzApp\\\\\\\");\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n    }\\\\n\\\\n    //@notice override this function\\\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\\\n\\\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\\\n        // assert there is message to retry\\\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\\\n        require(payloadHash != bytes32(0), \\\\\\\"NonblockingLzApp: no stored message\\\\\\\");\\\\n        require(keccak256(_payload) == payloadHash, \\\\\\\"NonblockingLzApp: invalid payload\\\\\\\");\\\\n        // clear the stored message\\\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\\\n        // execute the message. revert if it fails again\\\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2afd4980a5850f45f2c4d7ec44d77b292a51b80f847566479548f89572065311\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: Unlicense\\\\n/*\\\\n * @title Solidity Bytes Arrays Utils\\\\n * @author Gon\\\\u00e7alo S\\\\u00e1 <goncalo.sa@consensys.net>\\\\n *\\\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\\\n */\\\\npragma solidity >=0.8.0 <0.9.0;\\\\n\\\\n\\\\nlibrary BytesLib {\\\\n    function concat(\\\\n        bytes memory _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n        // Get a location of some free memory and store it in tempBytes as\\\\n        // Solidity does for memory variables.\\\\n            tempBytes := mload(0x40)\\\\n\\\\n        // Store the length of the first bytes array at the beginning of\\\\n        // the memory for tempBytes.\\\\n            let length := mload(_preBytes)\\\\n            mstore(tempBytes, length)\\\\n\\\\n        // Maintain a memory counter for the current write location in the\\\\n        // temp bytes array by adding the 32 bytes for the array length to\\\\n        // the starting location.\\\\n            let mc := add(tempBytes, 0x20)\\\\n        // Stop copying when the memory counter reaches the length of the\\\\n        // first bytes array.\\\\n            let end := add(mc, length)\\\\n\\\\n            for {\\\\n            // Initialize a copy counter to the start of the _preBytes data,\\\\n            // 32 bytes into its memory.\\\\n                let cc := add(_preBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n            // Increase both counters by 32 bytes each iteration.\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\\\n            // at a time.\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Add the length of _postBytes to the current length of tempBytes\\\\n        // and store it as the new length in the first 32 bytes of the\\\\n        // tempBytes memory.\\\\n            length := mload(_postBytes)\\\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\\\n\\\\n        // Move the memory counter back from a multiple of 0x20 to the\\\\n        // actual end of the _preBytes data.\\\\n            mc := end\\\\n        // Stop copying when the memory counter reaches the new combined\\\\n        // length of the arrays.\\\\n            end := add(mc, length)\\\\n\\\\n            for {\\\\n                let cc := add(_postBytes, 0x20)\\\\n            } lt(mc, end) {\\\\n                mc := add(mc, 0x20)\\\\n                cc := add(cc, 0x20)\\\\n            } {\\\\n                mstore(mc, mload(cc))\\\\n            }\\\\n\\\\n        // Update the free-memory pointer by padding our last write location\\\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\\\n        // next 32 byte block, then round down to the nearest multiple of\\\\n        // 32. If the sum of the length of the two arrays is zero then add\\\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\\\n            mstore(0x40, and(\\\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\\\n            not(31) // Round down to the nearest 32 bytes.\\\\n            ))\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\\\n        assembly {\\\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\\\n        // of the array. (We don't need to use the offset into the slot\\\\n        // because arrays use the entire slot.)\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Arrays of 31 bytes or less have an even value in their slot,\\\\n        // while longer arrays have an odd value. The actual length is\\\\n        // the slot divided by two for odd values, and the lowest order\\\\n        // byte divided by two for even values.\\\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\\\n        // two to get the length. If the slot is odd, bitwise and the slot\\\\n        // with -1 and divide by two.\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n            let newlength := add(slength, mlength)\\\\n        // slength can contain both the length and contents of the array\\\\n        // if length < 32 bytes so let's prepare for that\\\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n            switch add(lt(slength, 32), lt(newlength, 32))\\\\n            case 2 {\\\\n            // Since the new array still fits in the slot, we just need to\\\\n            // update the contents of the slot.\\\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\\\n                sstore(\\\\n                _preBytes.slot,\\\\n                // all the modifications to the slot are inside this\\\\n                // next block\\\\n                add(\\\\n                // we can just add to the slot contents because the\\\\n                // bytes we want to change are the LSBs\\\\n                fslot,\\\\n                add(\\\\n                mul(\\\\n                div(\\\\n                // load the bytes from memory\\\\n                mload(add(_postBytes, 0x20)),\\\\n                // zero all bytes to the right\\\\n                exp(0x100, sub(32, mlength))\\\\n                ),\\\\n                // and now shift left the number of bytes to\\\\n                // leave space for the length in the slot\\\\n                exp(0x100, sub(32, newlength))\\\\n                ),\\\\n                // increase length by the double of the memory\\\\n                // bytes length\\\\n                mul(mlength, 2)\\\\n                )\\\\n                )\\\\n                )\\\\n            }\\\\n            case 1 {\\\\n            // The stored value fits in the slot, but the combined value\\\\n            // will exceed it.\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // The contents of the _postBytes array start 32 bytes into\\\\n            // the structure. Our first read should obtain the `submod`\\\\n            // bytes that can fit into the unused space in the last word\\\\n            // of the stored array. To get this, we read 32 bytes starting\\\\n            // from `submod`, so the data we read overlaps with the array\\\\n            // contents by `submod` bytes. Masking the lowest-order\\\\n            // `submod` bytes allows us to add that value directly to the\\\\n            // stored value.\\\\n\\\\n                let submod := sub(32, slength)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(\\\\n                sc,\\\\n                add(\\\\n                and(\\\\n                fslot,\\\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\\\n                ),\\\\n                and(mload(mc), mask)\\\\n                )\\\\n                )\\\\n\\\\n                for {\\\\n                    mc := add(mc, 0x20)\\\\n                    sc := add(sc, 1)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n            default {\\\\n            // get the keccak hash to get the contents of the array\\\\n                mstore(0x0, _preBytes.slot)\\\\n            // Start copying to the last used word of the stored array.\\\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\\\n\\\\n            // save new length\\\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\\\n\\\\n            // Copy over the first `submod` bytes of the new data as in\\\\n            // case 1 above.\\\\n                let slengthmod := mod(slength, 32)\\\\n                let mlengthmod := mod(mlength, 32)\\\\n                let submod := sub(32, slengthmod)\\\\n                let mc := add(_postBytes, submod)\\\\n                let end := add(_postBytes, mlength)\\\\n                let mask := sub(exp(0x100, submod), 1)\\\\n\\\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\\\n\\\\n                for {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } lt(mc, end) {\\\\n                    sc := add(sc, 1)\\\\n                    mc := add(mc, 0x20)\\\\n                } {\\\\n                    sstore(sc, mload(mc))\\\\n                }\\\\n\\\\n                mask := exp(0x100, sub(mc, end))\\\\n\\\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\\\n            }\\\\n        }\\\\n    }\\\\n\\\\n    function slice(\\\\n        bytes memory _bytes,\\\\n        uint256 _start,\\\\n        uint256 _length\\\\n    )\\\\n    internal\\\\n    pure\\\\n    returns (bytes memory)\\\\n    {\\\\n        require(_length + 31 >= _length, \\\\\\\"slice_overflow\\\\\\\");\\\\n        require(_bytes.length >= _start + _length, \\\\\\\"slice_outOfBounds\\\\\\\");\\\\n\\\\n        bytes memory tempBytes;\\\\n\\\\n        assembly {\\\\n            switch iszero(_length)\\\\n            case 0 {\\\\n            // Get a location of some free memory and store it in tempBytes as\\\\n            // Solidity does for memory variables.\\\\n                tempBytes := mload(0x40)\\\\n\\\\n            // The first word of the slice result is potentially a partial\\\\n            // word read from the original array. To read it, we calculate\\\\n            // the length of that partial word and start copying that many\\\\n            // bytes into the array. The first word we copy will start with\\\\n            // data we don't care about, but the last `lengthmod` bytes will\\\\n            // land at the beginning of the contents of the new array. When\\\\n            // we're done copying, we overwrite the full first word with\\\\n            // the actual length of the slice.\\\\n                let lengthmod := and(_length, 31)\\\\n\\\\n            // The multiplication in the next line is necessary\\\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\\\n            // the following copy loop was copying the origin's length\\\\n            // and then ending prematurely not copying everything it should.\\\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\\\n                let end := add(mc, _length)\\\\n\\\\n                for {\\\\n                // The multiplication in the next line has the same exact purpose\\\\n                // as the one above.\\\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\\\n                } lt(mc, end) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                    mstore(mc, mload(cc))\\\\n                }\\\\n\\\\n                mstore(tempBytes, _length)\\\\n\\\\n            //update free-memory pointer\\\\n            //allocating the array padded to 32 bytes like the compiler does now\\\\n                mstore(0x40, and(add(mc, 31), not(31)))\\\\n            }\\\\n            //if we want a zero-length slice let's just return a zero-length array\\\\n            default {\\\\n                tempBytes := mload(0x40)\\\\n            //zero out the 32 bytes slice we are about to return\\\\n            //we need to do it because Solidity does not garbage collect\\\\n                mstore(tempBytes, 0)\\\\n\\\\n                mstore(0x40, add(tempBytes, 0x20))\\\\n            }\\\\n        }\\\\n\\\\n        return tempBytes;\\\\n    }\\\\n\\\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\\\n        require(_bytes.length >= _start + 20, \\\\\\\"toAddress_outOfBounds\\\\\\\");\\\\n        address tempAddress;\\\\n\\\\n        assembly {\\\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\\\n        }\\\\n\\\\n        return tempAddress;\\\\n    }\\\\n\\\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\\\n        require(_bytes.length >= _start + 1 , \\\\\\\"toUint8_outOfBounds\\\\\\\");\\\\n        uint8 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\\\n        require(_bytes.length >= _start + 2, \\\\\\\"toUint16_outOfBounds\\\\\\\");\\\\n        uint16 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\\\n        require(_bytes.length >= _start + 4, \\\\\\\"toUint32_outOfBounds\\\\\\\");\\\\n        uint32 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\\\n        require(_bytes.length >= _start + 8, \\\\\\\"toUint64_outOfBounds\\\\\\\");\\\\n        uint64 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\\\n        require(_bytes.length >= _start + 12, \\\\\\\"toUint96_outOfBounds\\\\\\\");\\\\n        uint96 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\\\n        require(_bytes.length >= _start + 16, \\\\\\\"toUint128_outOfBounds\\\\\\\");\\\\n        uint128 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toUint256_outOfBounds\\\\\\\");\\\\n        uint256 tempUint;\\\\n\\\\n        assembly {\\\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempUint;\\\\n    }\\\\n\\\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\\\n        require(_bytes.length >= _start + 32, \\\\\\\"toBytes32_outOfBounds\\\\\\\");\\\\n        bytes32 tempBytes32;\\\\n\\\\n        assembly {\\\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\\\n        }\\\\n\\\\n        return tempBytes32;\\\\n    }\\\\n\\\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n            let length := mload(_preBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(length, mload(_postBytes))\\\\n            case 1 {\\\\n            // cb is a circuit breaker in the for loop since there's\\\\n            //  no said feature for inline assembly loops\\\\n            // cb = 1 - don't breaker\\\\n            // cb = 0 - break\\\\n                let cb := 1\\\\n\\\\n                let mc := add(_preBytes, 0x20)\\\\n                let end := add(mc, length)\\\\n\\\\n                for {\\\\n                    let cc := add(_postBytes, 0x20)\\\\n                // the next line is the loop condition:\\\\n                // while(uint256(mc < end) + cb == 2)\\\\n                } eq(add(lt(mc, end), cb), 2) {\\\\n                    mc := add(mc, 0x20)\\\\n                    cc := add(cc, 0x20)\\\\n                } {\\\\n                // if any of these checks fails then arrays are not equal\\\\n                    if iszero(eq(mload(mc), mload(cc))) {\\\\n                    // unsuccess:\\\\n                        success := 0\\\\n                        cb := 0\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n\\\\n    function equalStorage(\\\\n        bytes storage _preBytes,\\\\n        bytes memory _postBytes\\\\n    )\\\\n    internal\\\\n    view\\\\n    returns (bool)\\\\n    {\\\\n        bool success = true;\\\\n\\\\n        assembly {\\\\n        // we know _preBytes_offset is 0\\\\n            let fslot := sload(_preBytes.slot)\\\\n        // Decode the length of the stored array like in concatStorage().\\\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\\\n            let mlength := mload(_postBytes)\\\\n\\\\n        // if lengths don't match the arrays are not equal\\\\n            switch eq(slength, mlength)\\\\n            case 1 {\\\\n            // slength can contain both the length and contents of the array\\\\n            // if length < 32 bytes so let's prepare for that\\\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\\\n                if iszero(iszero(slength)) {\\\\n                    switch lt(slength, 32)\\\\n                    case 1 {\\\\n                    // blank the last byte which is the length\\\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\\\n\\\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\\\n                        // unsuccess:\\\\n                            success := 0\\\\n                        }\\\\n                    }\\\\n                    default {\\\\n                    // cb is a circuit breaker in the for loop since there's\\\\n                    //  no said feature for inline assembly loops\\\\n                    // cb = 1 - don't breaker\\\\n                    // cb = 0 - break\\\\n                        let cb := 1\\\\n\\\\n                    // get the keccak hash to get the contents of the array\\\\n                        mstore(0x0, _preBytes.slot)\\\\n                        let sc := keccak256(0x0, 0x20)\\\\n\\\\n                        let mc := add(_postBytes, 0x20)\\\\n                        let end := add(mc, mlength)\\\\n\\\\n                    // the next line is the loop condition:\\\\n                    // while(uint256(mc < end) + cb == 2)\\\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\\\n                            sc := add(sc, 1)\\\\n                            mc := add(mc, 0x20)\\\\n                        } {\\\\n                            if iszero(eq(sload(sc), mload(mc))) {\\\\n                            // unsuccess:\\\\n                                success := 0\\\\n                                cb := 0\\\\n                            }\\\\n                        }\\\\n                    }\\\\n                }\\\\n            }\\\\n            default {\\\\n            // unsuccess:\\\\n                success := 0\\\\n            }\\\\n        }\\\\n\\\\n        return success;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2255aadad70e87ed42b158776330175644b07fbbc7e77ed32cd6330974abbcee\\\",\\\"license\\\":\\\"Unlicense\\\"},\\\"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT OR Apache-2.0\\\\npragma solidity >=0.7.6;\\\\n\\\\nlibrary ExcessivelySafeCall {\\\\n    uint256 constant LOW_28_MASK =\\\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := call(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            0, // ether value\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\\\n    /// contract. This prevents the called contract from causing reversion of\\\\n    /// the caller in as many ways as we can.\\\\n    /// @dev The main difference between this and a solidity low-level call is\\\\n    /// that we limit the number of bytes that the callee can cause to be\\\\n    /// copied to caller memory. This prevents stupid things like malicious\\\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\\\n    /// to memory.\\\\n    /// @param _target The address to call\\\\n    /// @param _gas The amount of gas to forward to the remote contract\\\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\\\n    /// to memory.\\\\n    /// @param _calldata The data to send to the remote contract\\\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\\\n    /// `_maxCopy` bytes.\\\\n    function excessivelySafeStaticCall(\\\\n        address _target,\\\\n        uint256 _gas,\\\\n        uint16 _maxCopy,\\\\n        bytes memory _calldata\\\\n    ) internal view returns (bool, bytes memory) {\\\\n        // set up for assembly call\\\\n        uint256 _toCopy;\\\\n        bool _success;\\\\n        bytes memory _returnData = new bytes(_maxCopy);\\\\n        // dispatch message to recipient\\\\n        // by assembly calling \\\\\\\"handle\\\\\\\" function\\\\n        // we call via assembly to avoid memcopying a very large returndata\\\\n        // returned by a malicious contract\\\\n        assembly {\\\\n            _success := staticcall(\\\\n            _gas, // gas\\\\n            _target, // recipient\\\\n            add(_calldata, 0x20), // inloc\\\\n            mload(_calldata), // inlen\\\\n            0, // outloc\\\\n            0 // outlen\\\\n            )\\\\n        // limit our copy to 256 bytes\\\\n            _toCopy := returndatasize()\\\\n            if gt(_toCopy, _maxCopy) {\\\\n                _toCopy := _maxCopy\\\\n            }\\\\n        // Store the length of the copied bytes\\\\n            mstore(_returnData, _toCopy)\\\\n        // copy the bytes from returndata[0:_toCopy]\\\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\\\n        }\\\\n        return (_success, _returnData);\\\\n    }\\\\n\\\\n    /**\\\\n     * @notice Swaps function selectors in encoded contract calls\\\\n     * @dev Allows reuse of encoded calldata for functions with identical\\\\n     * argument types but different names. It simply swaps out the first 4 bytes\\\\n     * for the new selector. This function modifies memory in place, and should\\\\n     * only be used with caution.\\\\n     * @param _newSelector The new 4-byte selector\\\\n     * @param _buf The encoded contract args\\\\n     */\\\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\\\n    internal\\\\n    pure\\\\n    {\\\\n        require(_buf.length >= 4);\\\\n        uint256 _mask = LOW_28_MASK;\\\\n        assembly {\\\\n        // load the first word of\\\\n            let _word := mload(add(_buf, 0x20))\\\\n        // mask out the top 4 bytes\\\\n        // /x\\\\n            _word := and(_word, _mask)\\\\n            _word := or(_newSelector, _word)\\\\n            mstore(add(_buf, 0x20), _word)\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x23942250ddd277c443fa27c6b4ab51e6b3b5e654548b6b9e8d785a88ebec4dfe\\\",\\\"license\\\":\\\"MIT OR Apache-2.0\\\"},\\\"@openzeppelin/contracts/access/Ownable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which provides a basic access control mechanism, where\\\\n * there is an account (an owner) that can be granted exclusive access to\\\\n * specific functions.\\\\n *\\\\n * By default, the owner account will be the one that deploys the contract. This\\\\n * can later be changed with {transferOwnership}.\\\\n *\\\\n * This module is used through inheritance. It will make available the modifier\\\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\\\n * the owner.\\\\n */\\\\nabstract contract Ownable is Context {\\\\n    address private _owner;\\\\n\\\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\\\n\\\\n    /**\\\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\\\n     */\\\\n    constructor() {\\\\n        _transferOwnership(_msgSender());\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if called by any account other than the owner.\\\\n     */\\\\n    modifier onlyOwner() {\\\\n        _checkOwner();\\\\n        _;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Returns the address of the current owner.\\\\n     */\\\\n    function owner() public view virtual returns (address) {\\\\n        return _owner;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Throws if the sender is not the owner.\\\\n     */\\\\n    function _checkOwner() internal view virtual {\\\\n        require(owner() == _msgSender(), \\\\\\\"Ownable: caller is not the owner\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Leaves the contract without owner. It will not be possible to call\\\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\\\n     *\\\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\\\n     * thereby removing any functionality that is only available to the owner.\\\\n     */\\\\n    function renounceOwnership() public virtual onlyOwner {\\\\n        _transferOwnership(address(0));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Can only be called by the current owner.\\\\n     */\\\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\\\n        require(newOwner != address(0), \\\\\\\"Ownable: new owner is the zero address\\\\\\\");\\\\n        _transferOwnership(newOwner);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\\\n     * Internal function without access restriction.\\\\n     */\\\\n    function _transferOwnership(address newOwner) internal virtual {\\\\n        address oldOwner = _owner;\\\\n        _owner = newOwner;\\\\n        emit OwnershipTransferred(oldOwner, newOwner);\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Contract module that helps prevent reentrant calls to a function.\\\\n *\\\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\\\n * available, which can be applied to functions to make sure there are no nested\\\\n * (reentrant) calls to them.\\\\n *\\\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\\\n * `nonReentrant` may not call one another. This can be worked around by making\\\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\\\n * points to them.\\\\n *\\\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\\\n * to protect against it, check out our blog post\\\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\\\n */\\\\nabstract contract ReentrancyGuard {\\\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\\\n    // word because each write operation emits an extra SLOAD to first read the\\\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\\\n    // back. This is the compiler's defense against contract upgrades and\\\\n    // pointer aliasing, and it cannot be disabled.\\\\n\\\\n    // The values being non-zero value makes deployment a bit more expensive,\\\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\\\n    // amount. Since refunds are capped to a percentage of the total\\\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\\\n    // increase the likelihood of the full refund coming into effect.\\\\n    uint256 private constant _NOT_ENTERED = 1;\\\\n    uint256 private constant _ENTERED = 2;\\\\n\\\\n    uint256 private _status;\\\\n\\\\n    constructor() {\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\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        require(_status != _ENTERED, \\\\\\\"ReentrancyGuard: reentrant call\\\\\\\");\\\\n\\\\n        // Any calls to nonReentrant after this point will fail\\\\n        _status = _ENTERED;\\\\n    }\\\\n\\\\n    function _nonReentrantAfter() private {\\\\n        // By storing the original value once again, a refund is triggered (see\\\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\\\n        _status = _NOT_ENTERED;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x190dd6f8d592b7e4e930feb7f4313aeb8e1c4ad3154c27ce1cf6a512fc30d8cc\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n    /**\\\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n     * another (`to`).\\\\n     *\\\\n     * Note that `value` may be zero.\\\\n     */\\\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n     * a call to {approve}. `value` is the new allowance.\\\\n     */\\\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens in existence.\\\\n     */\\\\n    function totalSupply() external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the amount of tokens owned by `account`.\\\\n     */\\\\n    function balanceOf(address account) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Returns the remaining number of tokens that `spender` will be\\\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n     * zero by default.\\\\n     *\\\\n     * This value changes when {approve} or {transferFrom} are called.\\\\n     */\\\\n    function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n     * that someone may use both the old and the new allowance by unfortunate\\\\n     * transaction ordering. One possible solution to mitigate this race\\\\n     * condition is to first reduce the spender's allowance to 0 and set the\\\\n     * desired value afterwards:\\\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     */\\\\n    function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n    /**\\\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\\\n     * allowance mechanism. `amount` is then deducted from the caller's\\\\n     * allowance.\\\\n     *\\\\n     * Returns a boolean value indicating whether the operation succeeded.\\\\n     *\\\\n     * Emits a {Transfer} event.\\\\n     */\\\\n    function transferFrom(\\\\n        address from,\\\\n        address to,\\\\n        uint256 amount\\\\n    ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\\\n *\\\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\\\n * need to send a transaction, and thus is not required to hold Ether at all.\\\\n */\\\\ninterface IERC20Permit {\\\\n    /**\\\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\\\n     * given ``owner``'s signed approval.\\\\n     *\\\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\\\n     * ordering also apply here.\\\\n     *\\\\n     * Emits an {Approval} event.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `spender` cannot be the zero address.\\\\n     * - `deadline` must be a timestamp in the future.\\\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\\\n     * over the EIP712-formatted function arguments.\\\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\\\n     *\\\\n     * For more information on the signature format, see the\\\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\\\n     * section].\\\\n     */\\\\n    function permit(\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) external;\\\\n\\\\n    /**\\\\n     * @dev Returns the current nonce for `owner`. This value must be\\\\n     * included whenever a signature is generated for {permit}.\\\\n     *\\\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\\\n     * prevents a signature from being used multiple times.\\\\n     */\\\\n    function nonces(address owner) external view returns (uint256);\\\\n\\\\n    /**\\\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\\\n     */\\\\n    // solhint-disable-next-line func-name-mixedcase\\\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/draft-IERC20Permit.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title SafeERC20\\\\n * @dev Wrappers around ERC20 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    using Address for address;\\\\n\\\\n    function safeTransfer(\\\\n        IERC20 token,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\\\n    }\\\\n\\\\n    function safeTransferFrom(\\\\n        IERC20 token,\\\\n        address from,\\\\n        address to,\\\\n        uint256 value\\\\n    ) internal {\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Deprecated. This function has issues similar to the ones found in\\\\n     * {IERC20-approve}, and its usage is discouraged.\\\\n     *\\\\n     * Whenever possible, use {safeIncreaseAllowance} and\\\\n     * {safeDecreaseAllowance} instead.\\\\n     */\\\\n    function safeApprove(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        // safeApprove should only be called when setting an initial allowance,\\\\n        // or when resetting it to zero. To increase and decrease it, use\\\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\\\n        require(\\\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\\\n            \\\\\\\"SafeERC20: approve from non-zero to non-zero allowance\\\\\\\"\\\\n        );\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\\\n    }\\\\n\\\\n    function safeIncreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n    }\\\\n\\\\n    function safeDecreaseAllowance(\\\\n        IERC20 token,\\\\n        address spender,\\\\n        uint256 value\\\\n    ) internal {\\\\n        unchecked {\\\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\\\n            require(oldAllowance >= value, \\\\\\\"SafeERC20: decreased allowance below zero\\\\\\\");\\\\n            uint256 newAllowance = oldAllowance - value;\\\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\\\n        }\\\\n    }\\\\n\\\\n    function safePermit(\\\\n        IERC20Permit token,\\\\n        address owner,\\\\n        address spender,\\\\n        uint256 value,\\\\n        uint256 deadline,\\\\n        uint8 v,\\\\n        bytes32 r,\\\\n        bytes32 s\\\\n    ) internal {\\\\n        uint256 nonceBefore = token.nonces(owner);\\\\n        token.permit(owner, spender, value, deadline, v, r, s);\\\\n        uint256 nonceAfter = token.nonces(owner);\\\\n        require(nonceAfter == nonceBefore + 1, \\\\\\\"SafeERC20: permit did not succeed\\\\\\\");\\\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\\\n        // the target address contains contract code and also asserts for success in the low-level call.\\\\n\\\\n        bytes memory returndata = address(token).functionCall(data, \\\\\\\"SafeERC20: low-level call failed\\\\\\\");\\\\n        if (returndata.length > 0) {\\\\n            // Return data is optional\\\\n            require(abi.decode(returndata, (bool)), \\\\\\\"SafeERC20: ERC20 operation did not succeed\\\\\\\");\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9b72f93be69ca894d8492c244259615c4a742afc8d63720dbc8bb81087d9b238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n    /**\\\\n     * @dev Returns true if `account` is a contract.\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * It is unsafe to assume that an address for which this function returns\\\\n     * false is an externally-owned account (EOA) and not a contract.\\\\n     *\\\\n     * Among others, `isContract` will return false for the following\\\\n     * types of addresses:\\\\n     *\\\\n     *  - an externally-owned account\\\\n     *  - a contract in construction\\\\n     *  - an address where a contract will be created\\\\n     *  - an address where a contract lived, but was destroyed\\\\n     * ====\\\\n     *\\\\n     * [IMPORTANT]\\\\n     * ====\\\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n     *\\\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n     * constructor.\\\\n     * ====\\\\n     */\\\\n    function isContract(address account) internal view returns (bool) {\\\\n        // This method relies on extcodesize/address.code.length, which returns 0\\\\n        // for contracts in construction, since the code is only stored at the end\\\\n        // of the constructor execution.\\\\n\\\\n        return account.code.length > 0;\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n     * `recipient`, forwarding all available gas and reverting on errors.\\\\n     *\\\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n     * imposed by `transfer`, making them unable to receive funds via\\\\n     * `transfer`. {sendValue} removes this limitation.\\\\n     *\\\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n     *\\\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n     * taken to not create reentrancy vulnerabilities. Consider using\\\\n     * {ReentrancyGuard} or the\\\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n     */\\\\n    function sendValue(address payable recipient, uint256 amount) internal {\\\\n        require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n        (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n        require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Performs a Solidity function call using a low level `call`. A\\\\n     * plain `call` is an unsafe replacement for a function call: use this\\\\n     * function instead.\\\\n     *\\\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\\\n     * function (like regular Solidity function calls).\\\\n     *\\\\n     * Returns the raw returned data. To convert to the expected return value,\\\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - `target` must be a contract.\\\\n     * - calling `target` with `data` must not revert.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, 0, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but also transferring `value` wei to `target`.\\\\n     *\\\\n     * Requirements:\\\\n     *\\\\n     * - the calling contract must have an ETH balance of at least `value`.\\\\n     * - the called Solidity function must be `payable`.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value\\\\n    ) internal returns (bytes memory) {\\\\n        return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n     *\\\\n     * _Available since v3.1._\\\\n     */\\\\n    function functionCallWithValue(\\\\n        address target,\\\\n        bytes memory data,\\\\n        uint256 value,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n        return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a static call.\\\\n     *\\\\n     * _Available since v3.3._\\\\n     */\\\\n    function functionStaticCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n        return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n     * but performing a delegate call.\\\\n     *\\\\n     * _Available since v3.4._\\\\n     */\\\\n    function functionDelegateCall(\\\\n        address target,\\\\n        bytes memory data,\\\\n        string memory errorMessage\\\\n    ) internal returns (bytes memory) {\\\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\\\n     *\\\\n     * _Available since v4.8._\\\\n     */\\\\n    function verifyCallResultFromTarget(\\\\n        address target,\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal view returns (bytes memory) {\\\\n        if (success) {\\\\n            if (returndata.length == 0) {\\\\n                // only check isContract if the call was successful and the return data is empty\\\\n                // otherwise we already know that it was a contract\\\\n                require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n            }\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    /**\\\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n     * revert reason or using the provided one.\\\\n     *\\\\n     * _Available since v4.3._\\\\n     */\\\\n    function verifyCallResult(\\\\n        bool success,\\\\n        bytes memory returndata,\\\\n        string memory errorMessage\\\\n    ) internal pure returns (bytes memory) {\\\\n        if (success) {\\\\n            return returndata;\\\\n        } else {\\\\n            _revert(returndata, errorMessage);\\\\n        }\\\\n    }\\\\n\\\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\\\n        // Look for revert reason and bubble it up if present\\\\n        if (returndata.length > 0) {\\\\n            // The easiest way to bubble the revert reason is using memory via assembly\\\\n            /// @solidity memory-safe-assembly\\\\n            assembly {\\\\n                let returndata_size := mload(returndata)\\\\n                revert(add(32, returndata), returndata_size)\\\\n            }\\\\n        } else {\\\\n            revert(errorMessage);\\\\n        }\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"@openzeppelin/contracts/utils/Context.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Provides information about the current execution context, including the\\\\n * sender of the transaction and its data. While these are generally available\\\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\\\n * manner, since when dealing with meta-transactions the account sending and\\\\n * paying for execution may not be the actual sender (as far as an application\\\\n * is concerned).\\\\n *\\\\n * This contract is only required for intermediate, library-like contracts.\\\\n */\\\\nabstract contract Context {\\\\n    function _msgSender() internal view virtual returns (address) {\\\\n        return msg.sender;\\\\n    }\\\\n\\\\n    function _msgData() internal view virtual returns (bytes calldata) {\\\\n        return msg.data;\\\\n    }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/OriginalTokenBridge.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {IERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport {SafeERC20} from \\\\\\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\\\\\";\\\\nimport {LzLib} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\\\\\";\\\\nimport {TokenBridgeBase} from \\\\\\\"./TokenBridgeBase.sol\\\\\\\";\\\\nimport {IWETH} from \\\\\\\"./interfaces/IWETH.sol\\\\\\\";\\\\n\\\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\ncontract OriginalTokenBridge is TokenBridgeBase {\\\\n    using SafeERC20 for IERC20;\\\\n\\\\n    /// @notice Tokens that can be bridged to the remote chain\\\\n    mapping(address => bool) public supportedTokens;\\\\n\\\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\\\n    mapping(address => uint) public LDtoSDConversionRate;\\\\n\\\\n    /// @notice Total value locked per each supported token in shared decimals\\\\n    mapping(address => uint) public totalValueLockedSD;\\\\n\\\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\\\n    uint16 public remoteChainId;\\\\n\\\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\\\n    address public immutable weth;\\\\n\\\\n    event SendToken(address token, address from, address to, uint amount);\\\\n    event ReceiveToken(address token, address to, uint amount);\\\\n    event SetRemoteChainId(uint16 remoteChainId);\\\\n    event RegisterToken(address token);\\\\n    event WithdrawFee(address indexed token, address to, uint amount);\\\\n\\\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\\\n        require(_weth != address(0), \\\\\\\"OriginalTokenBridge: invalid WETH address\\\\\\\");\\\\n        remoteChainId = _remoteChainId;\\\\n        weth = _weth;\\\\n    }\\\\n\\\\n    /// @notice Registers a token for bridging\\\\n    /// @param token address of the token\\\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\\\n        require(token != address(0), \\\\\\\"OriginalTokenBridge: invalid token address\\\\\\\");\\\\n        require(!supportedTokens[token], \\\\\\\"OriginalTokenBridge: token already registered\\\\\\\");\\\\n\\\\n        uint8 localDecimals = _getTokenDecimals(token);\\\\n        require(localDecimals >= sharedDecimals, \\\\\\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\\\\\");\\\\n\\\\n        supportedTokens[token] = true;\\\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\\\n        emit RegisterToken(token);\\\\n    }\\\\n\\\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\\\n        remoteChainId = _remoteChainId;\\\\n        emit SetRemoteChainId(_remoteChainId);\\\\n    }\\\\n\\\\n    function accruedFeeLD(address token) public view returns (uint) {\\\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\\\n    }\\\\n\\\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\\\n        // Only the payload format matters when estimating fee, not the actual data\\\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ERC20 to the remote chain\\\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n   \\\\n        // Supports tokens with transfer fee\\\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\\\n\\\\n        // return dust to the sender\\\\n        if (dust > 0) {\\\\n            IERC20(token).safeTransfer(msg.sender, dust);\\\\n        }\\\\n\\\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\\\n    }\\\\n\\\\n    /// @notice Bridges ETH to the remote chain\\\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\\\n        require(supportedTokens[weth], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n        require(msg.value >= amountLD, \\\\\\\"OriginalTokenBridge: not enough value sent\\\\\\\");\\\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\\\n    }\\\\n\\\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\\\n        require(to != address(0), \\\\\\\"OriginalTokenBridge: invalid to\\\\\\\");\\\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\\\n\\\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\\\n        require(amountSD > 0, \\\\\\\"OriginalTokenBridge: invalid amount\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] += amountSD;\\\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\\\n        emit SendToken(token, msg.sender, to, amountLD);\\\\n    }\\\\n\\\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\\\n        uint feeLD = accruedFeeLD(token);\\\\n        require(amountLD <= feeLD, \\\\\\\"OriginalTokenBridge: not enough fees collected\\\\\\\");\\\\n\\\\n        IERC20(token).safeTransfer(to, amountLD);\\\\n        emit WithdrawFee(token, to, amountLD);\\\\n    }\\\\n\\\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\\\n        require(srcChainId == remoteChainId, \\\\\\\"OriginalTokenBridge: invalid source chain id\\\\\\\");\\\\n\\\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\\\n        require(packetType == PT_UNLOCK, \\\\\\\"OriginalTokenBridge: unknown packet type\\\\\\\");\\\\n        require(supportedTokens[token], \\\\\\\"OriginalTokenBridge: token is not supported\\\\\\\");\\\\n\\\\n        totalValueLockedSD[token] -= totalAmountSD;\\\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\\\n\\\\n        if (token == weth && unwrapWeth) {\\\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\\\\\"\\\\\\\");\\\\n            require(success, \\\\\\\"OriginalTokenBridge: failed to send\\\\\\\");\\\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\\\n        } else {\\\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\\\n        }\\\\n    }\\\\n\\\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\\\\\"decimals()\\\\\\\"));\\\\n        require(success, \\\\\\\"OriginalTokenBridge: failed to get token decimals\\\\\\\");\\\\n        return abi.decode(data, (uint8));\\\\n    }\\\\n\\\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\\\n        return amountSD * LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\\\n        return amountLD / LDtoSDConversionRate[token];\\\\n    }\\\\n\\\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\\\n        dust = amountLD % LDtoSDConversionRate[token];\\\\n        amountWithoutDustLD = amountLD - dust;\\\\n    }\\\\n\\\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\\\n    receive() external payable {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x237d9a4fc316a9abff2f12f4ee527aae15289e840736e8113bd3049832cc7700\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/TokenBridgeBase.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\nimport {ReentrancyGuard} from \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport {NonblockingLzApp} from \\\\\\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\\\\\";\\\\n\\\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\\\n    uint8 public constant PT_MINT = 0;\\\\n\\\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\\\n    uint8 public constant PT_UNLOCK = 1;\\\\n\\\\n    bool public useCustomAdapterParams;\\\\n\\\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\\\n\\\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\\\n\\\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\\\n    /// @dev Can be called only by the bridge owner\\\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\\\n        useCustomAdapterParams = _useCustomAdapterParams;\\\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\\\n    }\\\\n\\\\n    /// @dev Checks `adapterParams` for correctness\\\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\\\n        if (useCustomAdapterParams) {\\\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\\\n        } else {\\\\n            require(adapterParams.length == 0, \\\\\\\"TokenBridgeBase: adapterParams must be empty\\\\\\\");\\\\n        }\\\\n    }\\\\n\\\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\\\n    function renounceOwnership() public override onlyOwner {}\\\\n}\\\",\\\"keccak256\\\":\\\"0x4e08a166b9e1e62fe65c21f6005aeb0b6ed6832f1b817258468f0c706ef29c6e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"contracts/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.17;\\\\n\\\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\\\ninterface IWETH {\\\\n    /// @notice Deposit ether to get wrapped ether\\\\n    function deposit() external payable;\\\\n\\\\n    /// @notice Withdraw wrapped ether to get ether\\\\n    function withdraw(uint) external;\\\\n}\\\",\\\"keccak256\\\":\\\"0x42d4a1a315d654380549452cb7416191852739b5f7811f1c4670a6022d0ae217\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\",\n  \"bytecode\": \"0x60c06040523480156200001157600080fd5b5060405162003db538038062003db5833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160055583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600a805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613b866200022f6000396000818161038d01528181611711015281816117c9015281816117f30152818161186a0152818161206401526120bb01526000818161060c015281816107bf01528181610a0e01528181610b7301528181610bf301528181610dc90152818161147301528181611aae0152612a5a0152613b866000f3fe6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"deployedBytecode\": \"0x6080604052600436106102285760003560e01c80638da5cb5b11610123578063de7aaff4116100ab578063eb8d72b71161006f578063eb8d72b71461072f578063ed629c5c1461074f578063f2fde38b14610769578063f5ecbdbc14610789578063fe359a0d146107a957600080fd5b8063de7aaff414610681578063df2a5b3b14610694578063e823553e146106b4578063e9518196146106e1578063eab45d9c1461070f57600080fd5b8063a6c3d165116100f2578063a6c3d165146105da578063b353aaa7146105fa578063baf3292d1461062e578063cbed8b9c1461064e578063d1deba1f1461066e57600080fd5b80638da5cb5b1461055c578063950c8a741461057a5780639f38369a1461059a578063a2f27ae0146105ba57600080fd5b806342d65a8d116101b157806368c4ac261161017557806368c4ac261461049d57806368ea28b0146104cd578063715018a6146104e25780637533d788146104f75780638cfd8f5c1461052457600080fd5b806342d65a8d146103c757806346f6f9b5146103e75780635a4967e51461040e5780635b8c41e61461042e57806366ad5c8a1461047d57600080fd5b806320211678116101f857806320211678146102b65780632d09c4ed146102f057806338db1ebc1461032b5780633d8b38f61461034b5780633fc8cef31461037b57600080fd5b80621d35671461023457806307e0db17146102565780631095b6d71461027657806310ddb1371461029657600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b5061025461024f366004612e0f565b6107bc565b005b34801561026257600080fd5b50610254610271366004612ea2565b6109ed565b34801561028257600080fd5b50610254610291366004612ed2565b610a76565b3480156102a257600080fd5b506102546102b1366004612ea2565b610b52565b3480156102c257600080fd5b506102d66102d1366004612f21565b610baa565b604080519283526020830191909152015b60405180910390f35b3480156102fc57600080fd5b5061031d61030b366004612f75565b60096020526000908152604090205481565b6040519081526020016102e7565b34801561033757600080fd5b50610254610346366004612ea2565b610c8b565b34801561035757600080fd5b5061036b610366366004612f92565b610cde565b60405190151581526020016102e7565b34801561038757600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e7565b3480156103d357600080fd5b506102546103e2366004612f92565b610daa565b3480156103f357600080fd5b506103fc600081565b60405160ff90911681526020016102e7565b34801561041a57600080fd5b50610254610429366004612fbf565b610e30565b34801561043a57600080fd5b5061031d6104493660046130bb565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561048957600080fd5b50610254610498366004612e0f565b611050565b3480156104a957600080fd5b5061036b6104b8366004612f75565b60076020526000908152604090205460ff1681565b3480156104d957600080fd5b506103fc600181565b3480156104ee57600080fd5b5061025461112c565b34801561050357600080fd5b50610517610512366004612ea2565b611136565b6040516102e79190613168565b34801561053057600080fd5b5061031d61053f36600461317b565b600260209081526000928352604080842090915290825290205481565b34801561056857600080fd5b506000546001600160a01b03166103af565b34801561058657600080fd5b506003546103af906001600160a01b031681565b3480156105a657600080fd5b506105176105b5366004612ea2565b6111d0565b3480156105c657600080fd5b5061031d6105d5366004612f75565b6112e6565b3480156105e657600080fd5b506102546105f5366004612f92565b611382565b34801561060657600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610254610649366004612f75565b6113fe565b34801561065a57600080fd5b506102546106693660046131ae565b611454565b61025461067c366004612e0f565b6114e9565b61025461068f366004613234565b6116ff565b3480156106a057600080fd5b506102546106af36600461329e565b6118af565b3480156106c057600080fd5b5061031d6106cf366004612f75565b60086020526000908152604090205481565b3480156106ed57600080fd5b50600a546106fc9061ffff1681565b60405161ffff90911681526020016102e7565b34801561071b57600080fd5b5061025461072a3660046132da565b611961565b34801561073b57600080fd5b5061025461074a366004612f92565b6119aa565b34801561075b57600080fd5b5060065461036b9060ff1681565b34801561077557600080fd5b50610254610784366004612f75565b611a04565b34801561079557600080fd5b506105176107a43660046132f7565b611a7d565b6102546107b7366004613344565b611b30565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108395760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610857906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610883906133c1565b80156108d05780601f106108a5576101008083540402835291602001916108d0565b820191906000526020600020905b8154815290600101906020018083116108b357829003601f168201915b505050505090508051868690501480156108eb575060008151115b801561091357508051602082012060405161090990889088906133f5565b6040518091039020145b61096e5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610830565b6109e48787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cb092505050565b50505050505050565b6109f5611d29565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b5050505050565b610a7e611d29565b6000610a89846112e6565b905080821115610af25760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b6064820152608401610830565b610b066001600160a01b0385168484611d83565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610b5a611d29565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a41565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600a5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610c3e9261ffff909116919086908c908c908c9060a40161342e565b6040805180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190613484565b9250925050935093915050565b610c93611d29565b600a805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610cff906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906133c1565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505090508383604051610d8f9291906133f5565b60405180910390208180519060200120149150509392505050565b610db2611d29565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e02908690869086906004016134a8565b600060405180830381600087803b158015610e1c57600080fd5b505af11580156109e4573d6000803e3d6000fd5b610e38611d29565b6001600160a01b038216610ea15760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b6064820152608401610830565b6001600160a01b03821660009081526007602052604090205460ff1615610f205760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b6064820152608401610830565b6000610f2b83611deb565b90508160ff168160ff161015610fc35760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a401610830565b6001600160a01b0383166000908152600760205260409020805460ff19166001179055610ff082826134dc565b610ffb90600a6135d9565b6001600160a01b03841660008181526008602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146110ae5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610830565b6111248686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611ef192505050565b505050505050565b611134611d29565b565b6001602052600090815260409020805461114f906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461117b906133c1565b80156111c85780601f1061119d576101008083540402835291602001916111c8565b820191906000526020600020905b8154815290600101906020018083116111ab57829003601f168201915b505050505081565b61ffff81166000908152600160205260408120805460609291906111f3906133c1565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906133c1565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b5050505050905080516000036112c45760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610830565b6112df6000601483516112d791906135e8565b83919061228b565b9392505050565b6001600160a01b03811660009081526009602052604081205461130a908390612398565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561134e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137291906135fb565b61137c91906135e8565b92915050565b61138a611d29565b81813060405160200161139f93929190613614565b60408051601f1981840301815291815261ffff85166000908152600160205220906113ca9082613680565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611043939291906134a8565b611406611d29565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610cd3565b61145c611d29565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906114b0908890889088908890889060040161373f565b600060405180830381600087803b1580156114ca57600080fd5b505af11580156114de573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260046020526040808220905161150c90889088906133f5565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061158c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610830565b80838360405161159d9291906133f5565b6040518091039020146115fc5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610830565b61ffff8716600090815260046020526040808220905161161f90899089906133f5565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526116b7918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ef192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516116ee95949392919061376d565b60405180910390a150505050505050565b6117076123bb565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526007602052604090205460ff1661175f5760405162461bcd60e51b8152600401610830906137a8565b833410156117c25760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b6064820152608401610830565b60006117ee7f000000000000000000000000000000000000000000000000000000000000000086612414565b5090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b505050505061189e7f00000000000000000000000000000000000000000000000000000000000000008286843461189791906135e8565b878761244e565b506118a96001600555565b50505050565b6118b7611d29565b600081116118ff5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610830565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611043565b611969611d29565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610cd3565b6119b2611d29565b61ffff831660009081526001602052604090206119d08284836137f3565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611043939291906134a8565b611a0c611d29565b6001600160a01b038116611a715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b611a7a8161261c565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b2591908101906138b2565b90505b949350505050565b611b386123bb565b6001600160a01b03851660009081526007602052604090205460ff16611b705760405162461bcd60e51b8152600401610830906137a8565b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb91906135fb565b9050611bf26001600160a01b03871633308861266c565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611c39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5d91906135fb565b9050600080611c7589611c7086866135e8565b612414565b90925090508015611c9457611c946001600160a01b038a163383611d83565b611ca2898389348a8a61244e565b50505050610a6f6001600555565b600080611d135a60966366ad5c8a60e01b89898989604051602401611cd89493929190613928565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906126a4565b915091508161112457611124868686868561272e565b6000546001600160a01b031633146111345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610830565b6040516001600160a01b038316602482015260448101829052611de690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127cb565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611e319190613966565b600060405180830381855afa9150503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b509150915081611edd5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b6064820152608401610830565b80806020019051810190611b289190613982565b600a5461ffff858116911614611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b6064820152608401610830565b60008060008060008086806020019051810190611f7b919061399f565b955095509550955095509550600160ff168660ff1614611fee5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b6064820152608401610830565b6001600160a01b03851660009081526007602052604090205460ff166120265760405162461bcd60e51b8152600401610830906137a8565b6001600160a01b0385166000908152600960205260408120805484929061204e9084906135e8565b90915550600090506120608685612398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156120a05750815b1561221e57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561210757600080fd5b505af115801561211b573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b50509050806121ce5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b6064820152608401610830565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15061227e565b6122326001600160a01b0387168683611d83565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161229981601f613a13565b10156122d85760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610830565b6122e28284613a13565b845110156123265760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610830565b606082158015612345576040519150600082526020820160405261238f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561237e578051835260209283019201612366565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600860205260408120546112df9083613a26565b60026005540361240d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600555565b6001600160a01b03821660009081526008602052604081205481906124399084613a53565b905061244581846135e8565b91509250929050565b6001600160a01b0384166124a45760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f006044820152606401610830565b600a546124b79061ffff1660008361289d565b60006124c38787612919565b9050600081116125215760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b6064820152608401610830565b6001600160a01b03871660009081526009602052604081208054839290612549908490613a13565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600a549091506125c29061ffff16826125ab6020880188612f75565b6125bb6040890160208a01612f75565b878a61293c565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526118a99085906323b872dd60e01b90608401611daf565b6000606060008060008661ffff166001600160401b038111156126c9576126c9612ff8565b6040519080825280601f01601f1916602001820160405280156126f3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612715578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff1681526020019081526020016000208560405161275f9190613966565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906127bc9087908790879087908790613a67565b60405180910390a15050505050565b6000612820826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ad69092919063ffffffff16565b805190915015611de6578080602001905181019061283e9190613ac5565b611de65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610830565b60065460ff16156128b557611de68383836000612ae5565b805115611de65760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b6064820152608401610830565b6001600160a01b0382166000908152600860205260408120546112df9083613ae2565b61ffff86166000908152600160205260408120805461295a906133c1565b80601f0160208091040260200160405190810160405280929190818152602001828054612986906133c1565b80156129d35780601f106129a8576101008083540402835291602001916129d3565b820191906000526020600020905b8154815290600101906020018083116129b657829003601f168201915b505050505090508051600003612a445760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610830565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a9b908b9086908c908c908c908c90600401613af6565b6000604051808303818588803b158015612ab457600080fd5b505af1158015612ac8573d6000803e3d6000fd5b505050505050505050505050565b6060611b288484600085612bc4565b6000612af083612c9f565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b22908490613a13565b905060008111612b745760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610830565b808210156111245760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610830565b606082471015612c255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610830565b600080866001600160a01b03168587604051612c419190613966565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5091509150612c9487838387612cfb565b979650505050505050565b6000602282511015612cf35760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610830565b506022015190565b60608315612d6a578251600003612d63576001600160a01b0385163b612d635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610830565b5081611b28565b611b288383815115612d7f5781518083602001fd5b8060405162461bcd60e51b81526004016108309190613168565b803561ffff81168114612dab57600080fd5b919050565b60008083601f840112612dc257600080fd5b5081356001600160401b03811115612dd957600080fd5b602083019150836020828501011115612df157600080fd5b9250929050565b80356001600160401b0381168114612dab57600080fd5b60008060008060008060808789031215612e2857600080fd5b612e3187612d99565b955060208701356001600160401b0380821115612e4d57600080fd5b612e598a838b01612db0565b9097509550859150612e6d60408a01612df8565b94506060890135915080821115612e8357600080fd5b50612e9089828a01612db0565b979a9699509497509295939492505050565b600060208284031215612eb457600080fd5b6112df82612d99565b6001600160a01b0381168114611a7a57600080fd5b600080600060608486031215612ee757600080fd5b8335612ef281612ebd565b92506020840135612f0281612ebd565b929592945050506040919091013590565b8015158114611a7a57600080fd5b600080600060408486031215612f3657600080fd5b8335612f4181612f13565b925060208401356001600160401b03811115612f5c57600080fd5b612f6886828701612db0565b9497909650939450505050565b600060208284031215612f8757600080fd5b81356112df81612ebd565b600080600060408486031215612fa757600080fd5b612f4184612d99565b60ff81168114611a7a57600080fd5b60008060408385031215612fd257600080fd5b8235612fdd81612ebd565b91506020830135612fed81612fb0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561303657613036612ff8565b604052919050565b60006001600160401b0382111561305757613057612ff8565b50601f01601f191660200190565b600082601f83011261307657600080fd5b81356130896130848261303e565b61300e565b81815284602083860101111561309e57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156130d057600080fd5b6130d984612d99565b925060208401356001600160401b038111156130f457600080fd5b61310086828701613065565b92505061310f60408501612df8565b90509250925092565b60005b8381101561313357818101518382015260200161311b565b50506000910152565b60008151808452613154816020860160208601613118565b601f01601f19169290920160200192915050565b6020815260006112df602083018461313c565b6000806040838503121561318e57600080fd5b61319783612d99565b91506131a560208401612d99565b90509250929050565b6000806000806000608086880312156131c657600080fd5b6131cf86612d99565b94506131dd60208701612d99565b93506040860135925060608601356001600160401b038111156131ff57600080fd5b61320b88828901612db0565b969995985093965092949392505050565b60006040828403121561322e57600080fd5b50919050565b60008060008060a0858703121561324a57600080fd5b84359350602085013561325c81612ebd565b925061326b866040870161321c565b915060808501356001600160401b0381111561328657600080fd5b61329287828801613065565b91505092959194509250565b6000806000606084860312156132b357600080fd5b6132bc84612d99565b92506132ca60208501612d99565b9150604084013590509250925092565b6000602082840312156132ec57600080fd5b81356112df81612f13565b6000806000806080858703121561330d57600080fd5b61331685612d99565b935061332460208601612d99565b9250604085013561333481612ebd565b9396929550929360600135925050565b600080600080600060c0868803121561335c57600080fd5b853561336781612ebd565b945060208601359350604086013561337e81612ebd565b925061338d876060880161321c565b915060a08601356001600160401b038111156133a857600080fd5b6133b488828901613065565b9150509295509295909350565b600181811c908216806133d557607f821691505b60208210810361322e57634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061345c9083018761313c565b85151560608401528281036080840152613477818587613405565b9998505050505050505050565b6000806040838503121561349757600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611b25604083018486613405565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561137c5761137c6134c6565b600181815b80851115613530578160001904821115613516576135166134c6565b8085161561352357918102915b93841c93908002906134fa565b509250929050565b6000826135475750600161137c565b816135545750600061137c565b816001811461356a576002811461357457613590565b600191505061137c565b60ff841115613585576135856134c6565b50506001821b61137c565b5060208310610133831016604e8410600b84101617156135b3575081810a61137c565b6135bd83836134f5565b80600019048211156135d1576135d16134c6565b029392505050565b60006112df60ff841683613538565b8181038181111561137c5761137c6134c6565b60006020828403121561360d57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611de657600081815260208120601f850160051c810160208610156136615750805b601f850160051c820191505b818110156111245782815560010161366d565b81516001600160401b0381111561369957613699612ff8565b6136ad816136a784546133c1565b8461363a565b602080601f8311600181146136e257600084156136ca5750858301515b600019600386901b1c1916600185901b178555611124565b600085815260208120601f198616915b82811015613711578886015182559484019460019091019084016136f2565b508582101561372f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612c94608083018486613405565b61ffff8616815260806020820152600061378b608083018688613405565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561380a5761380a612ff8565b61381e8361381883546133c1565b8361363a565b6000601f841160018114613852576000851561383a5750838201355b600019600387901b1c1916600186901b178355610a6f565b600083815260209020601f19861690835b828110156138835786850135825560209485019460019092019101613863565b50868210156138a05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156138c457600080fd5b81516001600160401b038111156138da57600080fd5b8201601f810184136138eb57600080fd5b80516138f96130848261303e565b81815285602083850101111561390e57600080fd5b61391f826020830160208601613118565b95945050505050565b61ffff85168152608060208201526000613945608083018661313c565b6001600160401b03851660408401528281036060840152612c94818561313c565b60008251613978818460208701613118565b9190910192915050565b60006020828403121561399457600080fd5b81516112df81612fb0565b60008060008060008060c087890312156139b857600080fd5b86516139c381612fb0565b60208801519096506139d481612ebd565b60408801519095506139e581612ebd565b80945050606087015192506080870151915060a0870151613a0581612f13565b809150509295509295509295565b8082018082111561137c5761137c6134c6565b808202811582820484141761137c5761137c6134c6565b634e487b7160e01b600052601260045260246000fd5b600082613a6257613a62613a3d565b500690565b61ffff8616815260a060208201526000613a8460a083018761313c565b6001600160401b03861660408401528281036060840152613aa5818661313c565b90508281036080840152613ab9818561313c565b98975050505050505050565b600060208284031215613ad757600080fd5b81516112df81612f13565b600082613af157613af1613a3d565b500490565b61ffff8716815260c060208201526000613b1360c083018861313c565b8281036040840152613b25818861313c565b6001600160a01b0387811660608601528616608085015283810360a08501529050613477818561313c56fea26469706673582212201c0403eef3abc278a53fc5bc2fa7d7b74bdf55a0ad94d12cdc277e311ae7d51564736f6c63430008110033\",\n  \"devdoc\": {\n    \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\",\n    \"kind\": \"dev\",\n    \"methods\": {\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"details\": \"Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\"\n      },\n      \"owner()\": {\n        \"details\": \"Returns the address of the current owner.\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"params\": {\n          \"sharedDecimals\": \"number of decimals used for all original tokens mapped to the same wrapped token. E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\",\n          \"token\": \"address of the token\"\n        }\n      },\n      \"renounceOwnership()\": {\n        \"details\": \"Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"details\": \"Can be called only by the bridge owner\"\n      },\n      \"transferOwnership(address)\": {\n        \"details\": \"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"\n      }\n    },\n    \"version\": 1\n  },\n  \"userdoc\": {\n    \"kind\": \"user\",\n    \"methods\": {\n      \"LDtoSDConversionRate(address)\": {\n        \"notice\": \"Token conversion rates from local decimals (LD) to shared decimals (SD). E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\"\n      },\n      \"PT_MINT()\": {\n        \"notice\": \"A packet type used to identify messages requesting minting of wrapped tokens\"\n      },\n      \"PT_UNLOCK()\": {\n        \"notice\": \"A packet type used to identify messages requesting unlocking of original tokens\"\n      },\n      \"bridge(address,uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ERC20 to the remote chain\"\n      },\n      \"bridgeETH(uint256,address,(address,address),bytes)\": {\n        \"notice\": \"Bridges ETH to the remote chain\"\n      },\n      \"registerToken(address,uint8)\": {\n        \"notice\": \"Registers a token for bridging\"\n      },\n      \"remoteChainId()\": {\n        \"notice\": \"LayerZero id of the remote chain where wrapped tokens are minted\"\n      },\n      \"setUseCustomAdapterParams(bool)\": {\n        \"notice\": \"Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\"\n      },\n      \"supportedTokens(address)\": {\n        \"notice\": \"Tokens that can be bridged to the remote chain\"\n      },\n      \"totalValueLockedSD(address)\": {\n        \"notice\": \"Total value locked per each supported token in shared decimals\"\n      },\n      \"weth()\": {\n        \"notice\": \"Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\"\n      }\n    },\n    \"version\": 1\n  },\n  \"storageLayout\": {\n    \"storage\": [\n      {\n        \"astId\": 2900,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_owner\",\n        \"offset\": 0,\n        \"slot\": \"0\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 437,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"trustedRemoteLookup\",\n        \"offset\": 0,\n        \"slot\": \"1\",\n        \"type\": \"t_mapping(t_uint16,t_bytes_storage)\"\n      },\n      {\n        \"astId\": 443,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"minDstGasLookup\",\n        \"offset\": 0,\n        \"slot\": \"2\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\"\n      },\n      {\n        \"astId\": 445,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"precrime\",\n        \"offset\": 0,\n        \"slot\": \"3\",\n        \"type\": \"t_address\"\n      },\n      {\n        \"astId\": 930,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"failedMessages\",\n        \"offset\": 0,\n        \"slot\": \"4\",\n        \"type\": \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\"\n      },\n      {\n        \"astId\": 3016,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"_status\",\n        \"offset\": 0,\n        \"slot\": \"5\",\n        \"type\": \"t_uint256\"\n      },\n      {\n        \"astId\": 5194,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"useCustomAdapterParams\",\n        \"offset\": 0,\n        \"slot\": \"6\",\n        \"type\": \"t_bool\"\n      },\n      {\n        \"astId\": 4442,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"supportedTokens\",\n        \"offset\": 0,\n        \"slot\": \"7\",\n        \"type\": \"t_mapping(t_address,t_bool)\"\n      },\n      {\n        \"astId\": 4447,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"LDtoSDConversionRate\",\n        \"offset\": 0,\n        \"slot\": \"8\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4452,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"totalValueLockedSD\",\n        \"offset\": 0,\n        \"slot\": \"9\",\n        \"type\": \"t_mapping(t_address,t_uint256)\"\n      },\n      {\n        \"astId\": 4455,\n        \"contract\": \"contracts/OriginalTokenBridge.sol:OriginalTokenBridge\",\n        \"label\": \"remoteChainId\",\n        \"offset\": 0,\n        \"slot\": \"10\",\n        \"type\": \"t_uint16\"\n      }\n    ],\n    \"types\": {\n      \"t_address\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"address\",\n        \"numberOfBytes\": \"20\"\n      },\n      \"t_bool\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bool\",\n        \"numberOfBytes\": \"1\"\n      },\n      \"t_bytes32\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"bytes32\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_memory_ptr\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_bytes_storage\": {\n        \"encoding\": \"bytes\",\n        \"label\": \"bytes\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_mapping(t_address,t_bool)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => bool)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bool\"\n      },\n      \"t_mapping(t_address,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_address\",\n        \"label\": \"mapping(address => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_bytes_memory_ptr\",\n        \"label\": \"mapping(bytes => mapping(uint64 => bytes32))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint64,t_bytes32)\"\n      },\n      \"t_mapping(t_uint16,t_bytes_storage)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => bytes)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes_storage\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32)))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32)))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_bytes_memory_ptr,t_mapping(t_uint64,t_bytes32))\"\n      },\n      \"t_mapping(t_uint16,t_mapping(t_uint16,t_uint256))\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => mapping(uint16 => uint256))\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_mapping(t_uint16,t_uint256)\"\n      },\n      \"t_mapping(t_uint16,t_uint256)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint16\",\n        \"label\": \"mapping(uint16 => uint256)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_uint256\"\n      },\n      \"t_mapping(t_uint64,t_bytes32)\": {\n        \"encoding\": \"mapping\",\n        \"key\": \"t_uint64\",\n        \"label\": \"mapping(uint64 => bytes32)\",\n        \"numberOfBytes\": \"32\",\n        \"value\": \"t_bytes32\"\n      },\n      \"t_uint16\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint16\",\n        \"numberOfBytes\": \"2\"\n      },\n      \"t_uint256\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint256\",\n        \"numberOfBytes\": \"32\"\n      },\n      \"t_uint64\": {\n        \"encoding\": \"inplace\",\n        \"label\": \"uint64\",\n        \"numberOfBytes\": \"8\"\n      }\n    }\n  }\n}"
  },
  {
    "path": "deployments/polygon/solcInputs/b6255f5137ca425adf47d7259b154fc7.json",
    "content": "{\n  \"language\": \"Solidity\",\n  \"sources\": {\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\nimport \\\"./ILayerZeroUserApplicationConfig.sol\\\";\\n\\ninterface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {\\n    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains\\n    // @param _payload - a custom bytes payload to send to the destination contract\\n    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address\\n    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction\\n    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;\\n\\n    // @notice used by the messaging library to publish verified payload\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source contract (as bytes) at the source chain\\n    // @param _dstAddress - the address on destination chain\\n    // @param _nonce - the unbound message ordering nonce\\n    // @param _gasLimit - the gas limit for external contract execution\\n    // @param _payload - verified payload to send to the destination contract\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;\\n\\n    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);\\n\\n    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM\\n    // @param _srcAddress - the source chain contract address\\n    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);\\n\\n    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery\\n    // @param _dstChainId - the destination chain identifier\\n    // @param _userApplication - the user app address on this EVM chain\\n    // @param _payload - the custom message to send over LayerZero\\n    // @param _payInZRO - if false, user app pays the protocol fee in native token\\n    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);\\n\\n    // @notice get this Endpoint's immutable source identifier\\n    function getChainId() external view returns (uint16);\\n\\n    // @notice the interface to retry failed message on this Endpoint destination\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    // @param _payload - the payload to be retried\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;\\n\\n    // @notice query if any STORED payload (message blocking) at the endpoint.\\n    // @param _srcChainId - the source chain identifier\\n    // @param _srcAddress - the source chain contract address\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);\\n\\n    // @notice query if the _libraryAddress is valid for sending msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getSendLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the _libraryAddress is valid for receiving msgs.\\n    // @param _userApplication - the user app address on this EVM chain\\n    function getReceiveLibraryAddress(address _userApplication) external view returns (address);\\n\\n    // @notice query if the non-reentrancy guard for send() is on\\n    // @return true if the guard is on. false otherwise\\n    function isSendingPayload() external view returns (bool);\\n\\n    // @notice query if the non-reentrancy guard for receive() is on\\n    // @return true if the guard is on. false otherwise\\n    function isReceivingPayload() external view returns (bool);\\n\\n    // @notice get the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _userApplication - the contract address of the user application\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);\\n\\n    // @notice get the send() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getSendVersion(address _userApplication) external view returns (uint16);\\n\\n    // @notice get the lzReceive() LayerZero messaging library version\\n    // @param _userApplication - the contract address of the user application\\n    function getReceiveVersion(address _userApplication) external view returns (uint16);\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroReceiver {\\n    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination\\n    // @param _srcChainId - the source endpoint identifier\\n    // @param _srcAddress - the source sending contract address from the source chain\\n    // @param _nonce - the ordered message nonce\\n    // @param _payload - the signed payload is the UA bytes has encoded to be sent\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.5.0;\\n\\ninterface ILayerZeroUserApplicationConfig {\\n    // @notice set the configuration of the LayerZero messaging library of the specified version\\n    // @param _version - messaging library version\\n    // @param _chainId - the chainId for the pending config change\\n    // @param _configType - type of configuration. every messaging library has its own convention.\\n    // @param _config - configuration in the bytes. can encode arbitrary content.\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;\\n\\n    // @notice set the send() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setSendVersion(uint16 _version) external;\\n\\n    // @notice set the lzReceive() LayerZero messaging library version to _version\\n    // @param _version - new messaging library version\\n    function setReceiveVersion(uint16 _version) external;\\n\\n    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload\\n    // @param _srcChainId - the chainId of the source chain\\n    // @param _srcAddress - the contract address of the source contract at the source chain\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity >=0.6.0;\\npragma experimental ABIEncoderV2;\\n\\nlibrary LzLib {\\n    // LayerZero communication\\n    struct CallParams {\\n        address payable refundAddress;\\n        address zroPaymentAddress;\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n\\n    struct AirdropParams {\\n        uint airdropAmount;\\n        bytes32 airdropAddress;\\n    }\\n\\n    function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {\\n        if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {\\n            adapterParams = buildDefaultAdapterParams(_uaGasLimit);\\n        } else {\\n            adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);\\n        }\\n    }\\n\\n    // Build Adapter Params\\n    function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {\\n        // txType 1\\n        // bytes  [2       32      ]\\n        // fields [txType  extraGas]\\n        return abi.encodePacked(uint16(1), _uaGas);\\n    }\\n\\n    function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {\\n        require(_params.airdropAmount > 0, \\\"Airdrop amount must be greater than 0\\\");\\n        require(_params.airdropAddress != bytes32(0x0), \\\"Airdrop address must be set\\\");\\n\\n        // txType 2\\n        // bytes  [2       32        32            bytes[]         ]\\n        // fields [txType  extraGas  dstNativeAmt  dstNativeAddress]\\n        return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);\\n    }\\n\\n    function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    // Decode Adapter Params\\n    function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {\\n        require(_adapterParams.length == 34 || _adapterParams.length > 66, \\\"Invalid adapterParams\\\");\\n        assembly {\\n            txType := mload(add(_adapterParams, 2))\\n            uaGas := mload(add(_adapterParams, 34))\\n        }\\n        require(txType == 1 || txType == 2, \\\"Unsupported txType\\\");\\n        require(uaGas > 0, \\\"Gas too low\\\");\\n\\n        if (txType == 2) {\\n            assembly {\\n                airdropAmount := mload(add(_adapterParams, 66))\\n                airdropAddress := mload(add(_adapterParams, 86))\\n            }\\n        }\\n    }\\n\\n    //---------------------------------------------------------------------------\\n    // Address type handling\\n    function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {\\n        return address(uint160(uint(_bytes32Address)));\\n    }\\n\\n    function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {\\n        return bytes32(uint(uint160(_address)));\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroUserApplicationConfig.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../util/BytesLib.sol\\\";\\n\\n/*\\n * a generic LzReceiver implementation\\n */\\nabstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {\\n    using BytesLib for bytes;\\n\\n    ILayerZeroEndpoint public immutable lzEndpoint;\\n    mapping(uint16 => bytes) public trustedRemoteLookup;\\n    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;\\n    address public precrime;\\n\\n    event SetPrecrime(address precrime);\\n    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);\\n    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);\\n    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);\\n\\n    constructor(address _endpoint) {\\n        lzEndpoint = ILayerZeroEndpoint(_endpoint);\\n    }\\n\\n    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {\\n        // lzReceive must be called by the endpoint for security\\n        require(_msgSender() == address(lzEndpoint), \\\"LzApp: invalid endpoint caller\\\");\\n\\n        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];\\n        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.\\n        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), \\\"LzApp: invalid source sending contract\\\");\\n\\n        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {\\n        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];\\n        require(trustedRemote.length != 0, \\\"LzApp: destination chain is not a trusted source\\\");\\n        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);\\n    }\\n\\n    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {\\n        uint providedGasLimit = _getGasLimit(_adapterParams);\\n        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;\\n        require(minGasLimit > 0, \\\"LzApp: minGasLimit not set\\\");\\n        require(providedGasLimit >= minGasLimit, \\\"LzApp: gas limit is too low\\\");\\n    }\\n\\n    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {\\n        require(_adapterParams.length >= 34, \\\"LzApp: invalid adapterParams\\\");\\n        assembly {\\n            gasLimit := mload(add(_adapterParams, 34))\\n        }\\n    }\\n\\n    //---------------------------UserApplication config----------------------------------------\\n    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {\\n        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);\\n    }\\n\\n    // generic config for LayerZero user Application\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {\\n        lzEndpoint.setConfig(_version, _chainId, _configType, _config);\\n    }\\n\\n    function setSendVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setSendVersion(_version);\\n    }\\n\\n    function setReceiveVersion(uint16 _version) external override onlyOwner {\\n        lzEndpoint.setReceiveVersion(_version);\\n    }\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {\\n        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);\\n    }\\n\\n    // _path = abi.encodePacked(remoteAddress, localAddress)\\n    // this function set the trusted path for the cross-chain communication\\n    function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {\\n        trustedRemoteLookup[_srcChainId] = _path;\\n        emit SetTrustedRemote(_srcChainId, _path);\\n    }\\n\\n    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {\\n        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));\\n        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);\\n    }\\n\\n    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {\\n        bytes memory path = trustedRemoteLookup[_remoteChainId];\\n        require(path.length != 0, \\\"LzApp: no trusted path record\\\");\\n        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)\\n    }\\n\\n    function setPrecrime(address _precrime) external onlyOwner {\\n        precrime = _precrime;\\n        emit SetPrecrime(_precrime);\\n    }\\n\\n    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {\\n        require(_minGas > 0, \\\"LzApp: invalid minGas\\\");\\n        minDstGasLookup[_dstChainId][_packetType] = _minGas;\\n        emit SetMinDstGas(_dstChainId, _packetType, _minGas);\\n    }\\n\\n    //--------------------------- VIEW FUNCTION ----------------------------------------\\n    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {\\n        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];\\n        return keccak256(trustedSource) == keccak256(_srcAddress);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./LzApp.sol\\\";\\nimport \\\"../util/ExcessivelySafeCall.sol\\\";\\n\\n/*\\n * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel\\n * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking\\n * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)\\n */\\nabstract contract NonblockingLzApp is LzApp {\\n    using ExcessivelySafeCall for address;\\n\\n    constructor(address _endpoint) LzApp(_endpoint) {}\\n\\n    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;\\n\\n    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);\\n    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);\\n\\n    // overriding the virtual function in LzReceiver\\n    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {\\n        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));\\n        // try-catch all errors/exceptions\\n        if (!success) {\\n            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);\\n        }\\n    }\\n\\n    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);\\n        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);\\n    }\\n\\n    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {\\n        // only internal transaction\\n        require(_msgSender() == address(this), \\\"NonblockingLzApp: caller must be LzApp\\\");\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n    }\\n\\n    //@notice override this function\\n    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;\\n\\n    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {\\n        // assert there is message to retry\\n        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];\\n        require(payloadHash != bytes32(0), \\\"NonblockingLzApp: no stored message\\\");\\n        require(keccak256(_payload) == payloadHash, \\\"NonblockingLzApp: invalid payload\\\");\\n        // clear the stored message\\n        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);\\n        // execute the message. revert if it fails again\\n        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);\\n        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: BUSL-1.1\\n\\npragma solidity ^0.8.0;\\npragma abicoder v2;\\n\\nimport \\\"../interfaces/ILayerZeroReceiver.sol\\\";\\nimport \\\"../interfaces/ILayerZeroEndpoint.sol\\\";\\nimport \\\"../libraries/LzLib.sol\\\";\\n\\n/*\\nlike a real LayerZero endpoint but can be mocked, which handle message transmission, verification, and receipt.\\n- blocking: LayerZero provides ordered delivery of messages from a given sender to a destination chain.\\n- non-reentrancy: endpoint has a non-reentrancy guard for both the send() and receive(), respectively.\\n- adapter parameters: allows UAs to add arbitrary transaction params in the send() function, like airdrop on destination chain.\\nunlike a real LayerZero endpoint, it is\\n- no messaging library versioning\\n- send() will short circuit to lzReceive()\\n- no user application configuration\\n*/\\ncontract LZEndpointMock is ILayerZeroEndpoint {\\n    uint8 internal constant _NOT_ENTERED = 1;\\n    uint8 internal constant _ENTERED = 2;\\n\\n    mapping(address => address) public lzEndpointLookup;\\n\\n    uint16 public mockChainId;\\n    bool public nextMsgBlocked;\\n\\n    // fee config\\n    RelayerFeeConfig public relayerFeeConfig;\\n    ProtocolFeeConfig public protocolFeeConfig;\\n    uint public oracleFee;\\n    bytes public defaultAdapterParams;\\n\\n    // path = remote addrss + local address\\n    // inboundNonce = [srcChainId][path].\\n    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;\\n    //todo: this is a hack\\n    // outboundNonce = [dstChainId][srcAddress]\\n    mapping(uint16 => mapping(address => uint64)) public outboundNonce;\\n    //    // outboundNonce = [dstChainId][path].\\n    //    mapping(uint16 => mapping(bytes => uint64)) public outboundNonce;\\n    // storedPayload = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;\\n    // msgToDeliver = [srcChainId][path]\\n    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;\\n\\n    // reentrancy guard\\n    uint8 internal _send_entered_state = 1;\\n    uint8 internal _receive_entered_state = 1;\\n\\n    struct ProtocolFeeConfig {\\n        uint zroFee;\\n        uint nativeBP;\\n    }\\n\\n    struct RelayerFeeConfig {\\n        uint128 dstPriceRatio; // 10^10\\n        uint128 dstGasPriceInWei;\\n        uint128 dstNativeAmtCap;\\n        uint64 baseGas;\\n        uint64 gasPerByte;\\n    }\\n\\n    struct StoredPayload {\\n        uint64 payloadLength;\\n        address dstAddress;\\n        bytes32 payloadHash;\\n    }\\n\\n    struct QueuedPayload {\\n        address dstAddress;\\n        uint64 nonce;\\n        bytes payload;\\n    }\\n\\n    modifier sendNonReentrant() {\\n        require(_send_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no send reentrancy\\\");\\n        _send_entered_state = _ENTERED;\\n        _;\\n        _send_entered_state = _NOT_ENTERED;\\n    }\\n\\n    modifier receiveNonReentrant() {\\n        require(_receive_entered_state == _NOT_ENTERED, \\\"LayerZeroMock: no receive reentrancy\\\");\\n        _receive_entered_state = _ENTERED;\\n        _;\\n        _receive_entered_state = _NOT_ENTERED;\\n    }\\n\\n    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);\\n    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);\\n    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);\\n    event ValueTransferFailed(address indexed to, uint indexed quantity);\\n\\n    constructor(uint16 _chainId) {\\n        mockChainId = _chainId;\\n\\n        // init config\\n        relayerFeeConfig = RelayerFeeConfig({\\n            dstPriceRatio: 1e10, // 1:1, same chain, same native coin\\n            dstGasPriceInWei: 1e10,\\n            dstNativeAmtCap: 1e19,\\n            baseGas: 100,\\n            gasPerByte: 1\\n        });\\n        protocolFeeConfig = ProtocolFeeConfig({zroFee: 1e18, nativeBP: 1000}); // BP 0.1\\n        oracleFee = 1e16;\\n        defaultAdapterParams = LzLib.buildDefaultAdapterParams(200000);\\n    }\\n\\n    // ------------------------------ ILayerZeroEndpoint Functions ------------------------------\\n    function send(uint16 _chainId, bytes memory _path, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) external payable override sendNonReentrant {\\n        require(_path.length == 40, \\\"LayerZeroMock: incorrect remote address size\\\"); // only support evm chains\\n\\n        address dstAddr;\\n        assembly {\\n            dstAddr := mload(add(_path, 20))\\n        }\\n\\n        address lzEndpoint = lzEndpointLookup[dstAddr];\\n        require(lzEndpoint != address(0), \\\"LayerZeroMock: destination LayerZero Endpoint not found\\\");\\n\\n        // not handle zro token\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n        (uint nativeFee, ) = estimateFees(_chainId, msg.sender, _payload, _zroPaymentAddress != address(0x0), adapterParams);\\n        require(msg.value >= nativeFee, \\\"LayerZeroMock: not enough native for fees\\\");\\n\\n        uint64 nonce = ++outboundNonce[_chainId][msg.sender];\\n\\n        // refund if they send too much\\n        uint amount = msg.value - nativeFee;\\n        if (amount > 0) {\\n            (bool success, ) = _refundAddress.call{value: amount}(\\\"\\\");\\n            require(success, \\\"LayerZeroMock: failed to refund\\\");\\n        }\\n\\n        // Mock the process of receiving msg on dst chain\\n        // Mock the relayer paying the dstNativeAddr the amount of extra native token\\n        (, uint extraGas, uint dstNativeAmt, address payable dstNativeAddr) = LzLib.decodeAdapterParams(adapterParams);\\n        if (dstNativeAmt > 0) {\\n            (bool success, ) = dstNativeAddr.call{value: dstNativeAmt}(\\\"\\\");\\n            if (!success) {\\n                emit ValueTransferFailed(dstNativeAddr, dstNativeAmt);\\n            }\\n        }\\n\\n        bytes memory srcUaAddress = abi.encodePacked(msg.sender, dstAddr); // cast this address to bytes\\n        bytes memory payload = _payload;\\n        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, srcUaAddress, dstAddr, nonce, extraGas, payload);\\n    }\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _path, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external override receiveNonReentrant {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n\\n        // assert and increment the nonce. no message shuffling\\n        require(_nonce == ++inboundNonce[_srcChainId][_path], \\\"LayerZeroMock: wrong nonce\\\");\\n\\n        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst\\n        if (sp.payloadHash != bytes32(0)) {\\n            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);\\n\\n            // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n            // shift all the msgs over so we can treat this like a fifo via array.pop()\\n            if (msgs.length > 0) {\\n                // extend the array\\n                msgs.push(newMsg);\\n\\n                // shift all the indexes up for pop()\\n                for (uint i = 0; i < msgs.length - 1; i++) {\\n                    msgs[i + 1] = msgs[i];\\n                }\\n\\n                // put the newMsg at the bottom of the stack\\n                msgs[0] = newMsg;\\n            } else {\\n                msgs.push(newMsg);\\n            }\\n        } else if (nextMsgBlocked) {\\n            storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n            emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, bytes(\\\"\\\"));\\n            // ensure the next msgs that go through are no longer blocked\\n            nextMsgBlocked = false;\\n        } else {\\n            try ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _path, _nonce, _payload) {} catch (bytes memory reason) {\\n                storedPayload[_srcChainId][_path] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));\\n                emit PayloadStored(_srcChainId, _path, _dstAddress, _nonce, _payload, reason);\\n                // ensure the next msgs that go through are no longer blocked\\n                nextMsgBlocked = false;\\n            }\\n        }\\n    }\\n\\n    function getInboundNonce(uint16 _chainID, bytes calldata _path) external view override returns (uint64) {\\n        return inboundNonce[_chainID][_path];\\n    }\\n\\n    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {\\n        return outboundNonce[_chainID][_srcAddress];\\n    }\\n\\n    function estimateFees(uint16 _dstChainId, address _userApplication, bytes memory _payload, bool _payInZRO, bytes memory _adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        bytes memory adapterParams = _adapterParams.length > 0 ? _adapterParams : defaultAdapterParams;\\n\\n        // Relayer Fee\\n        uint relayerFee = _getRelayerFee(_dstChainId, 1, _userApplication, _payload.length, adapterParams);\\n\\n        // LayerZero Fee\\n        uint protocolFee = _getProtocolFees(_payInZRO, relayerFee, oracleFee);\\n        _payInZRO ? zroFee = protocolFee : nativeFee = protocolFee;\\n\\n        // return the sum of fees\\n        nativeFee = nativeFee + relayerFee + oracleFee;\\n    }\\n\\n    function getChainId() external view override returns (uint16) {\\n        return mockChainId;\\n    }\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _path, bytes calldata _payload) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, \\\"LayerZeroMock: invalid payload\\\");\\n\\n        address dstAddress = sp.dstAddress;\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        uint64 nonce = inboundNonce[_srcChainId][_path];\\n\\n        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _path, nonce, _payload);\\n        emit PayloadCleared(_srcChainId, _path, nonce, dstAddress);\\n    }\\n\\n    function hasStoredPayload(uint16 _srcChainId, bytes calldata _path) external view override returns (bool) {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        return sp.payloadHash != bytes32(0);\\n    }\\n\\n    function getSendLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external view override returns (address) {\\n        return address(this);\\n    }\\n\\n    function isSendingPayload() external view override returns (bool) {\\n        return _send_entered_state == _ENTERED;\\n    }\\n\\n    function isReceivingPayload() external view override returns (bool) {\\n        return _receive_entered_state == _ENTERED;\\n    }\\n\\n    function getConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        address, /*_ua*/\\n        uint /*_configType*/\\n    ) external pure override returns (bytes memory) {\\n        return \\\"\\\";\\n    }\\n\\n    function getSendVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function getReceiveVersion(\\n        address /*_userApplication*/\\n    ) external pure override returns (uint16) {\\n        return 1;\\n    }\\n\\n    function setConfig(\\n        uint16, /*_version*/\\n        uint16, /*_chainId*/\\n        uint, /*_configType*/\\n        bytes memory /*_config*/\\n    ) external override {}\\n\\n    function setSendVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function setReceiveVersion(\\n        uint16 /*version*/\\n    ) external override {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _path) external override {\\n        StoredPayload storage sp = storedPayload[_srcChainId][_path];\\n        // revert if no messages are cached. safeguard malicious UA behaviour\\n        require(sp.payloadHash != bytes32(0), \\\"LayerZeroMock: no stored payload\\\");\\n        require(sp.dstAddress == msg.sender, \\\"LayerZeroMock: invalid caller\\\");\\n\\n        // empty the storedPayload\\n        sp.payloadLength = 0;\\n        sp.dstAddress = address(0);\\n        sp.payloadHash = bytes32(0);\\n\\n        emit UaForceResumeReceive(_srcChainId, _path);\\n\\n        // resume the receiving of msgs after we force clear the \\\"stuck\\\" msg\\n        _clearMsgQue(_srcChainId, _path);\\n    }\\n\\n    // ------------------------------ Other Public/External Functions --------------------------------------------------\\n\\n    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {\\n        return msgsToDeliver[_srcChainId][_srcAddress].length;\\n    }\\n\\n    // used to simulate messages received get stored as a payload\\n    function blockNextMsg() external {\\n        nextMsgBlocked = true;\\n    }\\n\\n    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {\\n        lzEndpointLookup[destAddr] = lzEndpointAddr;\\n    }\\n\\n    function setRelayerPrice(uint128 _dstPriceRatio, uint128 _dstGasPriceInWei, uint128 _dstNativeAmtCap, uint64 _baseGas, uint64 _gasPerByte) external {\\n        relayerFeeConfig.dstPriceRatio = _dstPriceRatio;\\n        relayerFeeConfig.dstGasPriceInWei = _dstGasPriceInWei;\\n        relayerFeeConfig.dstNativeAmtCap = _dstNativeAmtCap;\\n        relayerFeeConfig.baseGas = _baseGas;\\n        relayerFeeConfig.gasPerByte = _gasPerByte;\\n    }\\n\\n    function setProtocolFee(uint _zroFee, uint _nativeBP) external {\\n        protocolFeeConfig.zroFee = _zroFee;\\n        protocolFeeConfig.nativeBP = _nativeBP;\\n    }\\n\\n    function setOracleFee(uint _oracleFee) external {\\n        oracleFee = _oracleFee;\\n    }\\n\\n    function setDefaultAdapterParams(bytes memory _adapterParams) external {\\n        defaultAdapterParams = _adapterParams;\\n    }\\n\\n    // --------------------- Internal Functions ---------------------\\n    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload\\n    function _clearMsgQue(uint16 _srcChainId, bytes calldata _path) internal {\\n        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_path];\\n\\n        // warning, might run into gas issues trying to forward through a bunch of queued msgs\\n        while (msgs.length > 0) {\\n            QueuedPayload memory payload = msgs[msgs.length - 1];\\n            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _path, payload.nonce, payload.payload);\\n            msgs.pop();\\n        }\\n    }\\n\\n    function _getProtocolFees(bool _payInZro, uint _relayerFee, uint _oracleFee) internal view returns (uint) {\\n        if (_payInZro) {\\n            return protocolFeeConfig.zroFee;\\n        } else {\\n            return ((_relayerFee + _oracleFee) * protocolFeeConfig.nativeBP) / 10000;\\n        }\\n    }\\n\\n    function _getRelayerFee(\\n        uint16, /* _dstChainId */\\n        uint16, /* _outboundProofType */\\n        address, /* _userApplication */\\n        uint _payloadSize,\\n        bytes memory _adapterParams\\n    ) internal view returns (uint) {\\n        (uint16 txType, uint extraGas, uint dstNativeAmt, ) = LzLib.decodeAdapterParams(_adapterParams);\\n        uint totalRemoteToken; // = baseGas + extraGas + requiredNativeAmount\\n        if (txType == 2) {\\n            require(relayerFeeConfig.dstNativeAmtCap >= dstNativeAmt, \\\"LayerZeroMock: dstNativeAmt too large \\\");\\n            totalRemoteToken += dstNativeAmt;\\n        }\\n        // remoteGasTotal = dstGasPriceInWei * (baseGas + extraGas)\\n        uint remoteGasTotal = relayerFeeConfig.dstGasPriceInWei * (relayerFeeConfig.baseGas + extraGas);\\n        totalRemoteToken += remoteGasTotal;\\n\\n        // tokenConversionRate = dstPrice / localPrice\\n        // basePrice = totalRemoteToken * tokenConversionRate\\n        uint basePrice = (totalRemoteToken * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        // pricePerByte = (dstGasPriceInWei * gasPerBytes) * tokenConversionRate\\n        uint pricePerByte = (relayerFeeConfig.dstGasPriceInWei * relayerFeeConfig.gasPerByte * relayerFeeConfig.dstPriceRatio) / 10**10;\\n\\n        return basePrice + _payloadSize * pricePerByte;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/BytesLib.sol\": {\n      \"content\": \"// SPDX-License-Identifier: Unlicense\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá <goncalo.sa@consensys.net>\\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.8.0 <0.9.0;\\n\\n\\nlibrary BytesLib {\\n    function concat(\\n        bytes memory _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        bytes memory tempBytes;\\n\\n        assembly {\\n        // Get a location of some free memory and store it in tempBytes as\\n        // Solidity does for memory variables.\\n            tempBytes := mload(0x40)\\n\\n        // Store the length of the first bytes array at the beginning of\\n        // the memory for tempBytes.\\n            let length := mload(_preBytes)\\n            mstore(tempBytes, length)\\n\\n        // Maintain a memory counter for the current write location in the\\n        // temp bytes array by adding the 32 bytes for the array length to\\n        // the starting location.\\n            let mc := add(tempBytes, 0x20)\\n        // Stop copying when the memory counter reaches the length of the\\n        // first bytes array.\\n            let end := add(mc, length)\\n\\n            for {\\n            // Initialize a copy counter to the start of the _preBytes data,\\n            // 32 bytes into its memory.\\n                let cc := add(_preBytes, 0x20)\\n            } lt(mc, end) {\\n            // Increase both counters by 32 bytes each iteration.\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n            // Write the _preBytes data into the tempBytes memory 32 bytes\\n            // at a time.\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Add the length of _postBytes to the current length of tempBytes\\n        // and store it as the new length in the first 32 bytes of the\\n        // tempBytes memory.\\n            length := mload(_postBytes)\\n            mstore(tempBytes, add(length, mload(tempBytes)))\\n\\n        // Move the memory counter back from a multiple of 0x20 to the\\n        // actual end of the _preBytes data.\\n            mc := end\\n        // Stop copying when the memory counter reaches the new combined\\n        // length of the arrays.\\n            end := add(mc, length)\\n\\n            for {\\n                let cc := add(_postBytes, 0x20)\\n            } lt(mc, end) {\\n                mc := add(mc, 0x20)\\n                cc := add(cc, 0x20)\\n            } {\\n                mstore(mc, mload(cc))\\n            }\\n\\n        // Update the free-memory pointer by padding our last write location\\n        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the\\n        // next 32 byte block, then round down to the nearest multiple of\\n        // 32. If the sum of the length of the two arrays is zero then add\\n        // one before rounding down to leave a blank 32 bytes (the length block with 0).\\n            mstore(0x40, and(\\n            add(add(end, iszero(add(length, mload(_preBytes)))), 31),\\n            not(31) // Round down to the nearest 32 bytes.\\n            ))\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {\\n        assembly {\\n        // Read the first 32 bytes of _preBytes storage, which is the length\\n        // of the array. (We don't need to use the offset into the slot\\n        // because arrays use the entire slot.)\\n            let fslot := sload(_preBytes.slot)\\n        // Arrays of 31 bytes or less have an even value in their slot,\\n        // while longer arrays have an odd value. The actual length is\\n        // the slot divided by two for odd values, and the lowest order\\n        // byte divided by two for even values.\\n        // If the slot is even, bitwise and the slot with 255 and divide by\\n        // two to get the length. If the slot is odd, bitwise and the slot\\n        // with -1 and divide by two.\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n            let newlength := add(slength, mlength)\\n        // slength can contain both the length and contents of the array\\n        // if length < 32 bytes so let's prepare for that\\n        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n            switch add(lt(slength, 32), lt(newlength, 32))\\n            case 2 {\\n            // Since the new array still fits in the slot, we just need to\\n            // update the contents of the slot.\\n            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length\\n                sstore(\\n                _preBytes.slot,\\n                // all the modifications to the slot are inside this\\n                // next block\\n                add(\\n                // we can just add to the slot contents because the\\n                // bytes we want to change are the LSBs\\n                fslot,\\n                add(\\n                mul(\\n                div(\\n                // load the bytes from memory\\n                mload(add(_postBytes, 0x20)),\\n                // zero all bytes to the right\\n                exp(0x100, sub(32, mlength))\\n                ),\\n                // and now shift left the number of bytes to\\n                // leave space for the length in the slot\\n                exp(0x100, sub(32, newlength))\\n                ),\\n                // increase length by the double of the memory\\n                // bytes length\\n                mul(mlength, 2)\\n                )\\n                )\\n                )\\n            }\\n            case 1 {\\n            // The stored value fits in the slot, but the combined value\\n            // will exceed it.\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // The contents of the _postBytes array start 32 bytes into\\n            // the structure. Our first read should obtain the `submod`\\n            // bytes that can fit into the unused space in the last word\\n            // of the stored array. To get this, we read 32 bytes starting\\n            // from `submod`, so the data we read overlaps with the array\\n            // contents by `submod` bytes. Masking the lowest-order\\n            // `submod` bytes allows us to add that value directly to the\\n            // stored value.\\n\\n                let submod := sub(32, slength)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(\\n                sc,\\n                add(\\n                and(\\n                fslot,\\n                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00\\n                ),\\n                and(mload(mc), mask)\\n                )\\n                )\\n\\n                for {\\n                    mc := add(mc, 0x20)\\n                    sc := add(sc, 1)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n            default {\\n            // get the keccak hash to get the contents of the array\\n                mstore(0x0, _preBytes.slot)\\n            // Start copying to the last used word of the stored array.\\n                let sc := add(keccak256(0x0, 0x20), div(slength, 32))\\n\\n            // save new length\\n                sstore(_preBytes.slot, add(mul(newlength, 2), 1))\\n\\n            // Copy over the first `submod` bytes of the new data as in\\n            // case 1 above.\\n                let slengthmod := mod(slength, 32)\\n                let mlengthmod := mod(mlength, 32)\\n                let submod := sub(32, slengthmod)\\n                let mc := add(_postBytes, submod)\\n                let end := add(_postBytes, mlength)\\n                let mask := sub(exp(0x100, submod), 1)\\n\\n                sstore(sc, add(sload(sc), and(mload(mc), mask)))\\n\\n                for {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } lt(mc, end) {\\n                    sc := add(sc, 1)\\n                    mc := add(mc, 0x20)\\n                } {\\n                    sstore(sc, mload(mc))\\n                }\\n\\n                mask := exp(0x100, sub(mc, end))\\n\\n                sstore(sc, mul(div(mload(mc), mask), mask))\\n            }\\n        }\\n    }\\n\\n    function slice(\\n        bytes memory _bytes,\\n        uint256 _start,\\n        uint256 _length\\n    )\\n    internal\\n    pure\\n    returns (bytes memory)\\n    {\\n        require(_length + 31 >= _length, \\\"slice_overflow\\\");\\n        require(_bytes.length >= _start + _length, \\\"slice_outOfBounds\\\");\\n\\n        bytes memory tempBytes;\\n\\n        assembly {\\n            switch iszero(_length)\\n            case 0 {\\n            // Get a location of some free memory and store it in tempBytes as\\n            // Solidity does for memory variables.\\n                tempBytes := mload(0x40)\\n\\n            // The first word of the slice result is potentially a partial\\n            // word read from the original array. To read it, we calculate\\n            // the length of that partial word and start copying that many\\n            // bytes into the array. The first word we copy will start with\\n            // data we don't care about, but the last `lengthmod` bytes will\\n            // land at the beginning of the contents of the new array. When\\n            // we're done copying, we overwrite the full first word with\\n            // the actual length of the slice.\\n                let lengthmod := and(_length, 31)\\n\\n            // The multiplication in the next line is necessary\\n            // because when slicing multiples of 32 bytes (lengthmod == 0)\\n            // the following copy loop was copying the origin's length\\n            // and then ending prematurely not copying everything it should.\\n                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n                let end := add(mc, _length)\\n\\n                for {\\n                // The multiplication in the next line has the same exact purpose\\n                // as the one above.\\n                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n                } lt(mc, end) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                    mstore(mc, mload(cc))\\n                }\\n\\n                mstore(tempBytes, _length)\\n\\n            //update free-memory pointer\\n            //allocating the array padded to 32 bytes like the compiler does now\\n                mstore(0x40, and(add(mc, 31), not(31)))\\n            }\\n            //if we want a zero-length slice let's just return a zero-length array\\n            default {\\n                tempBytes := mload(0x40)\\n            //zero out the 32 bytes slice we are about to return\\n            //we need to do it because Solidity does not garbage collect\\n                mstore(tempBytes, 0)\\n\\n                mstore(0x40, add(tempBytes, 0x20))\\n            }\\n        }\\n\\n        return tempBytes;\\n    }\\n\\n    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n        require(_bytes.length >= _start + 20, \\\"toAddress_outOfBounds\\\");\\n        address tempAddress;\\n\\n        assembly {\\n            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n        }\\n\\n        return tempAddress;\\n    }\\n\\n    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {\\n        require(_bytes.length >= _start + 1 , \\\"toUint8_outOfBounds\\\");\\n        uint8 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x1), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {\\n        require(_bytes.length >= _start + 2, \\\"toUint16_outOfBounds\\\");\\n        uint16 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x2), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {\\n        require(_bytes.length >= _start + 4, \\\"toUint32_outOfBounds\\\");\\n        uint32 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x4), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {\\n        require(_bytes.length >= _start + 8, \\\"toUint64_outOfBounds\\\");\\n        uint64 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x8), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {\\n        require(_bytes.length >= _start + 12, \\\"toUint96_outOfBounds\\\");\\n        uint96 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0xc), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {\\n        require(_bytes.length >= _start + 16, \\\"toUint128_outOfBounds\\\");\\n        uint128 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x10), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {\\n        require(_bytes.length >= _start + 32, \\\"toUint256_outOfBounds\\\");\\n        uint256 tempUint;\\n\\n        assembly {\\n            tempUint := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempUint;\\n    }\\n\\n    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {\\n        require(_bytes.length >= _start + 32, \\\"toBytes32_outOfBounds\\\");\\n        bytes32 tempBytes32;\\n\\n        assembly {\\n            tempBytes32 := mload(add(add(_bytes, 0x20), _start))\\n        }\\n\\n        return tempBytes32;\\n    }\\n\\n    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {\\n        bool success = true;\\n\\n        assembly {\\n            let length := mload(_preBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(length, mload(_postBytes))\\n            case 1 {\\n            // cb is a circuit breaker in the for loop since there's\\n            //  no said feature for inline assembly loops\\n            // cb = 1 - don't breaker\\n            // cb = 0 - break\\n                let cb := 1\\n\\n                let mc := add(_preBytes, 0x20)\\n                let end := add(mc, length)\\n\\n                for {\\n                    let cc := add(_postBytes, 0x20)\\n                // the next line is the loop condition:\\n                // while(uint256(mc < end) + cb == 2)\\n                } eq(add(lt(mc, end), cb), 2) {\\n                    mc := add(mc, 0x20)\\n                    cc := add(cc, 0x20)\\n                } {\\n                // if any of these checks fails then arrays are not equal\\n                    if iszero(eq(mload(mc), mload(cc))) {\\n                    // unsuccess:\\n                        success := 0\\n                        cb := 0\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n\\n    function equalStorage(\\n        bytes storage _preBytes,\\n        bytes memory _postBytes\\n    )\\n    internal\\n    view\\n    returns (bool)\\n    {\\n        bool success = true;\\n\\n        assembly {\\n        // we know _preBytes_offset is 0\\n            let fslot := sload(_preBytes.slot)\\n        // Decode the length of the stored array like in concatStorage().\\n            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)\\n            let mlength := mload(_postBytes)\\n\\n        // if lengths don't match the arrays are not equal\\n            switch eq(slength, mlength)\\n            case 1 {\\n            // slength can contain both the length and contents of the array\\n            // if length < 32 bytes so let's prepare for that\\n            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage\\n                if iszero(iszero(slength)) {\\n                    switch lt(slength, 32)\\n                    case 1 {\\n                    // blank the last byte which is the length\\n                        fslot := mul(div(fslot, 0x100), 0x100)\\n\\n                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {\\n                        // unsuccess:\\n                            success := 0\\n                        }\\n                    }\\n                    default {\\n                    // cb is a circuit breaker in the for loop since there's\\n                    //  no said feature for inline assembly loops\\n                    // cb = 1 - don't breaker\\n                    // cb = 0 - break\\n                        let cb := 1\\n\\n                    // get the keccak hash to get the contents of the array\\n                        mstore(0x0, _preBytes.slot)\\n                        let sc := keccak256(0x0, 0x20)\\n\\n                        let mc := add(_postBytes, 0x20)\\n                        let end := add(mc, mlength)\\n\\n                    // the next line is the loop condition:\\n                    // while(uint256(mc < end) + cb == 2)\\n                        for {} eq(add(lt(mc, end), cb), 2) {\\n                            sc := add(sc, 1)\\n                            mc := add(mc, 0x20)\\n                        } {\\n                            if iszero(eq(sload(sc), mload(mc))) {\\n                            // unsuccess:\\n                                success := 0\\n                                cb := 0\\n                            }\\n                        }\\n                    }\\n                }\\n            }\\n            default {\\n            // unsuccess:\\n                success := 0\\n            }\\n        }\\n\\n        return success;\\n    }\\n}\\n\"\n    },\n    \"@layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT OR Apache-2.0\\npragma solidity >=0.7.6;\\n\\nlibrary ExcessivelySafeCall {\\n    uint256 constant LOW_28_MASK =\\n    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := call(\\n            _gas, // gas\\n            _target, // recipient\\n            0, // ether value\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /// @notice Use when you _really_ really _really_ don't trust the called\\n    /// contract. This prevents the called contract from causing reversion of\\n    /// the caller in as many ways as we can.\\n    /// @dev The main difference between this and a solidity low-level call is\\n    /// that we limit the number of bytes that the callee can cause to be\\n    /// copied to caller memory. This prevents stupid things like malicious\\n    /// contracts returning 10,000,000 bytes causing a local OOG when copying\\n    /// to memory.\\n    /// @param _target The address to call\\n    /// @param _gas The amount of gas to forward to the remote contract\\n    /// @param _maxCopy The maximum number of bytes of returndata to copy\\n    /// to memory.\\n    /// @param _calldata The data to send to the remote contract\\n    /// @return success and returndata, as `.call()`. Returndata is capped to\\n    /// `_maxCopy` bytes.\\n    function excessivelySafeStaticCall(\\n        address _target,\\n        uint256 _gas,\\n        uint16 _maxCopy,\\n        bytes memory _calldata\\n    ) internal view returns (bool, bytes memory) {\\n        // set up for assembly call\\n        uint256 _toCopy;\\n        bool _success;\\n        bytes memory _returnData = new bytes(_maxCopy);\\n        // dispatch message to recipient\\n        // by assembly calling \\\"handle\\\" function\\n        // we call via assembly to avoid memcopying a very large returndata\\n        // returned by a malicious contract\\n        assembly {\\n            _success := staticcall(\\n            _gas, // gas\\n            _target, // recipient\\n            add(_calldata, 0x20), // inloc\\n            mload(_calldata), // inlen\\n            0, // outloc\\n            0 // outlen\\n            )\\n        // limit our copy to 256 bytes\\n            _toCopy := returndatasize()\\n            if gt(_toCopy, _maxCopy) {\\n                _toCopy := _maxCopy\\n            }\\n        // Store the length of the copied bytes\\n            mstore(_returnData, _toCopy)\\n        // copy the bytes from returndata[0:_toCopy]\\n            returndatacopy(add(_returnData, 0x20), 0, _toCopy)\\n        }\\n        return (_success, _returnData);\\n    }\\n\\n    /**\\n     * @notice Swaps function selectors in encoded contract calls\\n     * @dev Allows reuse of encoded calldata for functions with identical\\n     * argument types but different names. It simply swaps out the first 4 bytes\\n     * for the new selector. This function modifies memory in place, and should\\n     * only be used with caution.\\n     * @param _newSelector The new 4-byte selector\\n     * @param _buf The encoded contract args\\n     */\\n    function swapSelector(bytes4 _newSelector, bytes memory _buf)\\n    internal\\n    pure\\n    {\\n        require(_buf.length >= 4);\\n        uint256 _mask = LOW_28_MASK;\\n        assembly {\\n        // load the first word of\\n            let _word := mload(add(_buf, 0x20))\\n        // mask out the top 4 bytes\\n        // /x\\n            _word := and(_word, _mask)\\n            _word := or(_newSelector, _word)\\n            mstore(add(_buf, 0x20), _word)\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/access/Ownable.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/security/ReentrancyGuard.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n    // Booleans are more expensive than uint256 or any type that takes up a full\\n    // word because each write operation emits an extra SLOAD to first read the\\n    // slot's contents, replace the bits taken up by the boolean, and then write\\n    // back. This is the compiler's defense against contract upgrades and\\n    // pointer aliasing, and it cannot be disabled.\\n\\n    // The values being non-zero value makes deployment a bit more expensive,\\n    // but in exchange the refund on every call to nonReentrant will be lower in\\n    // amount. Since refunds are capped to a percentage of the total\\n    // transaction's gas, it is best to keep them low in cases like this one, to\\n    // increase the likelihood of the full refund coming into effect.\\n    uint256 private constant _NOT_ENTERED = 1;\\n    uint256 private constant _ENTERED = 2;\\n\\n    uint256 private _status;\\n\\n    constructor() {\\n        _status = _NOT_ENTERED;\\n    }\\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        require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _status = _ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _status = _NOT_ENTERED;\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\\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 * 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 ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n    mapping(address => uint256) private _balances;\\n\\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\\n     * {decimals} you should overload it.\\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 override 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 override 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 value {ERC20} uses, unless this function is\\n     * 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 override returns (uint8) {\\n        return 18;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-totalSupply}.\\n     */\\n    function totalSupply() public view virtual override returns (uint256) {\\n        return _totalSupply;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-balanceOf}.\\n     */\\n    function balanceOf(address account) public view virtual override 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 `amount`.\\n     */\\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _transfer(owner, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-allowance}.\\n     */\\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n        return _allowances[owner][spender];\\n    }\\n\\n    /**\\n     * @dev See {IERC20-approve}.\\n     *\\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev See {IERC20-transferFrom}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance. This is not\\n     * required by the EIP. See the note at the beginning of {ERC20}.\\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 `amount`.\\n     * - the caller must have allowance for ``from``'s tokens of at least\\n     * `amount`.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) public virtual override returns (bool) {\\n        address spender = _msgSender();\\n        _spendAllowance(from, spender, amount);\\n        _transfer(from, to, amount);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     */\\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n     *\\n     * This is an alternative to {approve} that can be used as a mitigation for\\n     * problems described in {IERC20-approve}.\\n     *\\n     * Emits an {Approval} event indicating the updated allowance.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `spender` must have allowance for the caller of at least\\n     * `subtractedValue`.\\n     */\\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n        address owner = _msgSender();\\n        uint256 currentAllowance = allowance(owner, spender);\\n        require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n        unchecked {\\n            _approve(owner, spender, currentAllowance - subtractedValue);\\n        }\\n\\n        return true;\\n    }\\n\\n    /**\\n     * @dev Moves `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     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `from` must have a balance of at least `amount`.\\n     */\\n    function _transfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {\\n        require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n        require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n        _beforeTokenTransfer(from, to, amount);\\n\\n        uint256 fromBalance = _balances[from];\\n        require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n        unchecked {\\n            _balances[from] = fromBalance - amount;\\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n            // decrementing then incrementing.\\n            _balances[to] += amount;\\n        }\\n\\n        emit Transfer(from, to, amount);\\n\\n        _afterTokenTransfer(from, to, amount);\\n    }\\n\\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n     * the total supply.\\n     *\\n     * Emits a {Transfer} event with `from` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function _mint(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n        _beforeTokenTransfer(address(0), account, amount);\\n\\n        _totalSupply += amount;\\n        unchecked {\\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n            _balances[account] += amount;\\n        }\\n        emit Transfer(address(0), account, amount);\\n\\n        _afterTokenTransfer(address(0), account, amount);\\n    }\\n\\n    /**\\n     * @dev Destroys `amount` tokens from `account`, reducing the\\n     * total supply.\\n     *\\n     * Emits a {Transfer} event with `to` set to the zero address.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     * - `account` must have at least `amount` tokens.\\n     */\\n    function _burn(address account, uint256 amount) internal virtual {\\n        require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n        _beforeTokenTransfer(account, address(0), amount);\\n\\n        uint256 accountBalance = _balances[account];\\n        require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n        unchecked {\\n            _balances[account] = accountBalance - amount;\\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\\n            _totalSupply -= amount;\\n        }\\n\\n        emit Transfer(account, address(0), amount);\\n\\n        _afterTokenTransfer(account, address(0), amount);\\n    }\\n\\n    /**\\n     * @dev Sets `amount` 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    function _approve(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n        require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n        _allowances[owner][spender] = amount;\\n        emit Approval(owner, spender, amount);\\n    }\\n\\n    /**\\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n     *\\n     * Does not update the allowance amount in case of infinite allowance.\\n     * Revert if not enough allowance is available.\\n     *\\n     * Might emit an {Approval} event.\\n     */\\n    function _spendAllowance(\\n        address owner,\\n        address spender,\\n        uint256 amount\\n    ) internal virtual {\\n        uint256 currentAllowance = allowance(owner, spender);\\n        if (currentAllowance != type(uint256).max) {\\n            require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n            unchecked {\\n                _approve(owner, spender, currentAllowance - amount);\\n            }\\n        }\\n    }\\n\\n    /**\\n     * @dev Hook that is called before any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * will be transferred to `to`.\\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _beforeTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n\\n    /**\\n     * @dev Hook that is called after any transfer of tokens. This includes\\n     * minting and burning.\\n     *\\n     * Calling conditions:\\n     *\\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n     * has been transferred to `to`.\\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n     * - `from` and `to` are never both zero.\\n     *\\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n     */\\n    function _afterTokenTransfer(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) internal virtual {}\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n    /**\\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n     * given ``owner``'s signed approval.\\n     *\\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n     * ordering also apply here.\\n     *\\n     * Emits an {Approval} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `spender` cannot be the zero address.\\n     * - `deadline` must be a timestamp in the future.\\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n     * over the EIP712-formatted function arguments.\\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\\n     *\\n     * For more information on the signature format, see the\\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n     * section].\\n     */\\n    function permit(\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) external;\\n\\n    /**\\n     * @dev Returns the current nonce for `owner`. This value must be\\n     * included whenever a signature is generated for {permit}.\\n     *\\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n     * prevents a signature from being used multiple times.\\n     */\\n    function nonces(address owner) external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n     */\\n    // solhint-disable-next-line func-name-mixedcase\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\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\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `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 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/draft-IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 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    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    function safePermit(\\n        IERC20Permit token,\\n        address owner,\\n        address spender,\\n        uint256 value,\\n        uint256 deadline,\\n        uint8 v,\\n        bytes32 r,\\n        bytes32 s\\n    ) internal {\\n        uint256 nonceBefore = token.nonces(owner);\\n        token.permit(owner, spender, value, deadline, v, r, s);\\n        uint256 nonceAfter = token.nonces(owner);\\n        require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Address.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\"\n    },\n    \"@openzeppelin/contracts/utils/Context.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\"\n    },\n    \"contracts/interfaces/IWETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)\\ninterface IWETH {\\n    /// @notice Deposit ether to get wrapped ether\\n    function deposit() external payable;\\n\\n    /// @notice Withdraw wrapped ether to get ether\\n    function withdraw(uint) external;\\n}\"\n    },\n    \"contracts/interfaces/IWrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWrappedERC20 is IERC20 {\\n    function mint(address _to, uint _amount) external;\\n\\n    function burn(address _from, uint _amount) external;\\n}\\n\"\n    },\n    \"contracts/OriginalTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWETH} from \\\"./interfaces/IWETH.sol\\\";\\n\\n/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\ncontract OriginalTokenBridge is TokenBridgeBase {\\n    using SafeERC20 for IERC20;\\n\\n    /// @notice Tokens that can be bridged to the remote chain\\n    mapping(address => bool) public supportedTokens;\\n\\n    /// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).\\n    /// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12\\n    mapping(address => uint) public LDtoSDConversionRate;\\n\\n    /// @notice Total value locked per each supported token in shared decimals\\n    mapping(address => uint) public totalValueLockedSD;\\n\\n    /// @notice LayerZero id of the remote chain where wrapped tokens are minted\\n    uint16 public remoteChainId;\\n\\n    /// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)\\n    address public immutable weth;\\n\\n    event SendToken(address token, address from, address to, uint amount);\\n    event ReceiveToken(address token, address to, uint amount);\\n    event SetRemoteChainId(uint16 remoteChainId);\\n    event RegisterToken(address token);\\n    event WithdrawFee(address indexed token, address to, uint amount);\\n\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {\\n        require(_weth != address(0), \\\"OriginalTokenBridge: invalid WETH address\\\");\\n        remoteChainId = _remoteChainId;\\n        weth = _weth;\\n    }\\n\\n    /// @notice Registers a token for bridging\\n    /// @param token address of the token\\n    /// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.\\n    /// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon\\n    function registerToken(address token, uint8 sharedDecimals) external onlyOwner {\\n        require(token != address(0), \\\"OriginalTokenBridge: invalid token address\\\");\\n        require(!supportedTokens[token], \\\"OriginalTokenBridge: token already registered\\\");\\n\\n        uint8 localDecimals = _getTokenDecimals(token);\\n        require(localDecimals >= sharedDecimals, \\\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\\\");\\n\\n        supportedTokens[token] = true;\\n        LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);\\n        emit RegisterToken(token);\\n    }\\n\\n    function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {\\n        remoteChainId = _remoteChainId;\\n        emit SetRemoteChainId(_remoteChainId);\\n    }\\n\\n    function accruedFeeLD(address token) public view returns (uint) {\\n        return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);\\n    }\\n\\n    function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges ERC20 to the remote chain\\n    /// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n   \\n        // Supports tokens with transfer fee\\n        uint balanceBefore = IERC20(token).balanceOf(address(this));\\n        IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);\\n        uint balanceAfter = IERC20(token).balanceOf(address(this));\\n        (uint amountWithoutDustLD, uint dust) = _removeDust(token, balanceAfter - balanceBefore);\\n\\n        // return dust to the sender\\n        if (dust > 0) {\\n            IERC20(token).safeTransfer(msg.sender, dust);\\n        }\\n\\n        _bridge(token, amountWithoutDustLD, to, msg.value, callParams, adapterParams);\\n    }\\n\\n    /// @notice Bridges ETH to the remote chain\\n    /// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token\\n    function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(supportedTokens[weth], \\\"OriginalTokenBridge: token is not supported\\\");\\n        require(msg.value >= amountLD, \\\"OriginalTokenBridge: not enough value sent\\\");\\n        (uint amountWithoutDustLD, ) = _removeDust(weth, amountLD);\\n        IWETH(weth).deposit{value: amountWithoutDustLD}();\\n        _bridge(weth, amountWithoutDustLD, to, msg.value - amountWithoutDustLD, callParams, adapterParams);\\n    }\\n\\n    function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {\\n        require(to != address(0), \\\"OriginalTokenBridge: invalid to\\\");\\n        _checkAdapterParams(remoteChainId, PT_MINT, adapterParams);\\n\\n        uint amountSD = _amountLDtoSD(token, amountLD);\\n        require(amountSD > 0, \\\"OriginalTokenBridge: invalid amount\\\");\\n\\n        totalValueLockedSD[token] += amountSD;\\n        bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);\\n        emit SendToken(token, msg.sender, to, amountLD);\\n    }\\n\\n    function withdrawFee(address token, address to, uint amountLD) public onlyOwner {\\n        uint feeLD = accruedFeeLD(token);\\n        require(amountLD <= feeLD, \\\"OriginalTokenBridge: not enough fees collected\\\");\\n\\n        IERC20(token).safeTransfer(to, amountLD);\\n        emit WithdrawFee(token, to, amountLD);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        require(srcChainId == remoteChainId, \\\"OriginalTokenBridge: invalid source chain id\\\");\\n\\n        (uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));\\n        require(packetType == PT_UNLOCK, \\\"OriginalTokenBridge: unknown packet type\\\");\\n        require(supportedTokens[token], \\\"OriginalTokenBridge: token is not supported\\\");\\n\\n        totalValueLockedSD[token] -= totalAmountSD;\\n        uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);\\n\\n        if (token == weth && unwrapWeth) {\\n            IWETH(weth).withdraw(withdrawalAmountLD);\\n            (bool success, ) = payable(to).call{value: withdrawalAmountLD}(\\\"\\\");\\n            require(success, \\\"OriginalTokenBridge: failed to send\\\");\\n            emit ReceiveToken(address(0), to, withdrawalAmountLD);\\n        } else {\\n            IERC20(token).safeTransfer(to, withdrawalAmountLD);\\n            emit ReceiveToken(token, to, withdrawalAmountLD);\\n        }\\n    }\\n\\n    function _getTokenDecimals(address token) internal view returns (uint8) {\\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature(\\\"decimals()\\\"));\\n        require(success, \\\"OriginalTokenBridge: failed to get token decimals\\\");\\n        return abi.decode(data, (uint8));\\n    }\\n\\n    function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {\\n        return amountSD * LDtoSDConversionRate[token];\\n    }\\n\\n    function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {\\n        return amountLD / LDtoSDConversionRate[token];\\n    }\\n\\n    function _removeDust(address token, uint amountLD) internal view returns (uint amountWithoutDustLD, uint dust) {\\n        dust = amountLD % LDtoSDConversionRate[token];\\n        amountWithoutDustLD = amountLD - dust;\\n    }\\n\\n    /// @dev Allows receiving ETH when calling WETH.withdraw()\\n    receive() external payable {}\\n}\"\n    },\n    \"contracts/test/LZEndpointStub.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport \\\"@layerzerolabs/solidity-examples/contracts/mocks/LZEndpointMock.sol\\\";\\nimport \\\"@layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol\\\";\\n\\ncontract LayerZeroEndpointStub is ILayerZeroEndpoint {\\n    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external {}\\n\\n    function setSendVersion(uint16 _version) external {}\\n\\n    function setReceiveVersion(uint16 _version) external {}\\n\\n    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external {}\\n\\n    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable {}\\n\\n    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external {}\\n\\n    function getInboundNonce(uint16, bytes calldata) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function getOutboundNonce(uint16, address) external pure returns (uint64) {\\n        return 0;\\n    }\\n\\n    function estimateFees(uint16, address, bytes calldata, bool, bytes calldata) external pure returns (uint nativeFee, uint zroFee) {\\n        nativeFee = 10000;\\n        zroFee = 0;\\n    }\\n\\n    function getChainId() external view returns (uint16) {}\\n\\n    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external {}\\n\\n    function hasStoredPayload(uint16, bytes calldata) external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getSendLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function getReceiveLibraryAddress(address) external pure returns (address) {\\n        return address(0);\\n    }\\n\\n    function isSendingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function isReceivingPayload() external pure returns (bool) {\\n        return false;\\n    }\\n\\n    function getConfig(uint16, uint16, address, uint) external pure returns (bytes memory) {\\n        return \\\"0x\\\";\\n    }\\n\\n    function getSendVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n\\n    function getReceiveVersion(address) external pure returns (uint16) {\\n        return uint16(0);\\n    }\\n}\"\n    },\n    \"contracts/test/MintableERC20Mock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract MintableERC20Mock is ERC20 {\\n    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n}\"\n    },\n    \"contracts/test/OriginalTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {OriginalTokenBridge} from \\\"../OriginalTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract OriginalTokenBridgeHarness is OriginalTokenBridge {\\n    constructor(address _endpoint, uint16 _remoteChainId, address _weth) OriginalTokenBridge(_endpoint, _remoteChainId, _weth) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/test/USDCMock.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\ncontract USDCMock is ERC20 {\\n    uint8 private immutable _tokenDecimals;\\n\\n    constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    function mint(address _to, uint _amount) external {\\n        _mint(_to, _amount);\\n    }\\n\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n}\"\n    },\n    \"contracts/test/WETH9.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ncontract WETH9 {\\n    string public name = \\\"Wrapped Ether\\\";\\n    string public symbol = \\\"WETH\\\";\\n    uint8 public decimals = 18;\\n\\n    mapping(address => uint) public balanceOf;\\n    mapping(address => mapping(address => uint)) public allowance;\\n\\n    event Transfer(address indexed _from, address indexed _to, uint _value);\\n    event Approval(address indexed _owner, address indexed _spender, uint _value);\\n    event Deposit(address indexed from, uint amount);\\n    event Withdrawal(address indexed to, uint amount);\\n\\n    receive() external payable {\\n        deposit();\\n    }\\n\\n    function deposit() public payable {\\n        balanceOf[msg.sender] += msg.value;\\n        emit Deposit(msg.sender, msg.value);\\n    }\\n\\n    function withdraw(uint wad) public {\\n        require(balanceOf[msg.sender] >= wad, \\\"withdraw: not enough balance\\\");\\n        balanceOf[msg.sender] -= wad;\\n        payable(msg.sender).transfer(wad);\\n        emit Withdrawal(msg.sender, wad);\\n    }\\n\\n    function totalSupply() public view returns (uint) {\\n        return address(this).balance;\\n    }\\n\\n    function approve(address guy, uint wad) public returns (bool) {\\n        allowance[msg.sender][guy] = wad;\\n        emit Approval(msg.sender, guy, wad);\\n        return true;\\n    }\\n\\n    function transfer(address dst, uint wad) public returns (bool) {\\n        return transferFrom(msg.sender, dst, wad);\\n    }\\n\\n    function transferFrom(address src, address dst, uint wad) public returns (bool) {\\n        require(balanceOf[src] >= wad, \\\"transferFrom: not enough balance\\\");\\n\\n        if (src != msg.sender && allowance[src][msg.sender] != type(uint).max) {\\n            require(allowance[src][msg.sender] >= wad, \\\"transferFrom: not enough allowance\\\");\\n            allowance[src][msg.sender] -= wad;\\n        }\\n\\n        balanceOf[src] -= wad;\\n        balanceOf[dst] += wad;\\n\\n        emit Transfer(src, dst, wad);\\n\\n        return true;\\n    }\\n}\"\n    },\n    \"contracts/test/WrappedTokenBridgeHarness.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedTokenBridge} from \\\"../WrappedTokenBridge.sol\\\";\\n\\n/// @dev used only in unit tests to call internal _nonblockingLzReceive\\ncontract WrappedTokenBridgeHarness is WrappedTokenBridge {\\n    constructor(address _endpoint) WrappedTokenBridge(_endpoint) {}\\n\\n    function simulateNonblockingLzReceive(uint16 srcChainId, bytes memory payload) external {\\n        _nonblockingLzReceive(srcChainId, \\\"0x\\\", 0, payload);\\n    }\\n}\"\n    },\n    \"contracts/TokenBridgeBase.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {NonblockingLzApp} from \\\"@layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol\\\";\\n\\n/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge\\nabstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {\\n    /// @notice A packet type used to identify messages requesting minting of wrapped tokens\\n    uint8 public constant PT_MINT = 0;\\n\\n    /// @notice A packet type used to identify messages requesting unlocking of original tokens\\n    uint8 public constant PT_UNLOCK = 1;\\n\\n    bool public useCustomAdapterParams;\\n\\n    event SetUseCustomAdapterParams(bool useCustomAdapterParams);\\n\\n    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}\\n\\n    /// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones\\n    /// @dev Can be called only by the bridge owner\\n    function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {\\n        useCustomAdapterParams = _useCustomAdapterParams;\\n        emit SetUseCustomAdapterParams(_useCustomAdapterParams);\\n    }\\n\\n    /// @dev Checks `adapterParams` for correctness\\n    function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {\\n        if (useCustomAdapterParams) {\\n            _checkGasLimit(dstChainId, pkType, adapterParams, 0);\\n        } else {\\n            require(adapterParams.length == 0, \\\"TokenBridgeBase: adapterParams must be empty\\\");\\n        }\\n    }\\n\\n    /// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`\\n    function renounceOwnership() public override onlyOwner {}\\n}\"\n    },\n    \"contracts/WrappedERC20.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {ERC20} from \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\";\\n\\n/// @title Wrapped ERC20\\n/// @notice Represents a token on another chain\\n/// @dev Can be minted and burned only by the bridge\\ncontract WrappedERC20 is ERC20 {\\n    address public immutable bridge;\\n    uint8 private immutable _tokenDecimals;\\n\\n    /// @param _bridge responsible for minting and burning the wrapped token\\n    /// @param _name wrapped token name\\n    /// @param _symbol wrapped token symbol\\n    /// @param _decimals number of decimals of the original token\\n    constructor(address _bridge, string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol) {\\n        require(_bridge != address(0), \\\"WrappedERC20: invalid bridge\\\");\\n\\n        bridge = _bridge;\\n        _tokenDecimals = _decimals;\\n    }\\n\\n    modifier onlyBridge() {\\n        require(msg.sender == bridge, \\\"WrappedERC20: caller is not the bridge\\\");\\n        _;\\n    }\\n\\n    /// @notice Number of decimal places used to represent the token's smallest unit\\n    /// @dev Overrides the default value of 18\\n    /// @return number of decimal places\\n    function decimals() public view virtual override returns (uint8) {\\n        return _tokenDecimals;\\n    }\\n\\n    /// @notice Creates `amount` tokens and assigns them to `account`, increasing the total supply\\n    /// @dev called only by the bridge\\n    function mint(address _to, uint _amount) external virtual onlyBridge {\\n        _mint(_to, _amount);\\n    }\\n\\n    /// @notice Destroys `amount` tokens from `account`, reducing the total supply\\n    /// @dev Called only by the bridge\\n    function burn(address _from, uint _amount) external virtual onlyBridge {\\n        _burn(_from, _amount);\\n    }\\n}\\n\"\n    },\n    \"contracts/WrappedTokenBridge.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {LzLib} from \\\"@layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol\\\";\\nimport {TokenBridgeBase} from \\\"./TokenBridgeBase.sol\\\";\\nimport {IWrappedERC20} from \\\"./interfaces/IWrappedERC20.sol\\\";\\n\\n/// @dev Mints a wrapped token when a message received from a remote chain and burns a wrapped token when bridging to a remote chain\\ncontract WrappedTokenBridge is TokenBridgeBase {\\n    /// @notice Total bps representing 100%\\n    uint16 public constant TOTAL_BPS = 10000;\\n\\n    /// @notice An optional fee charged on withdrawal, expressed in bps. E.g., 1bps = 0.01%\\n    uint16 public withdrawalFeeBps;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [local token] => [remote chain] => [remote token]\\n    mapping(address => mapping(uint16 => address)) public localToRemote;\\n\\n    /// @notice Tokens that can be bridged\\n    /// @dev [remote token] => [remote chain] => [local token]\\n    mapping(address => mapping(uint16 => address)) public remoteToLocal;\\n\\n    /// @notice Total value bridged per token and remote chains\\n    /// @dev [remote chain] => [remote token] => [bridged amount]\\n    mapping(uint16 => mapping(address => uint)) public totalValueLocked;\\n\\n    event WrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event UnwrapToken(address localToken, address remoteToken, uint16 remoteChainId, address to, uint amount);\\n    event RegisterToken(address localToken, uint16 remoteChainId, address remoteToken);\\n    event SetWithdrawalFeeBps(uint16 withdrawalFeeBps);\\n\\n    constructor(address _endpoint) TokenBridgeBase(_endpoint) {}\\n\\n    function registerToken(address localToken, uint16 remoteChainId, address remoteToken) external onlyOwner {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid local token\\\");\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: invalid remote token\\\");\\n        require(localToRemote[localToken][remoteChainId] == address(0) && remoteToLocal[remoteToken][remoteChainId] == address(0), \\\"WrappedTokenBridge: token already registered\\\");\\n\\n        localToRemote[localToken][remoteChainId] = remoteToken;\\n        remoteToLocal[remoteToken][remoteChainId] = localToken;\\n        emit RegisterToken(localToken, remoteChainId, remoteToken);\\n    }\\n\\n    function setWithdrawalFeeBps(uint16 _withdrawalFeeBps) external onlyOwner {\\n        require(_withdrawalFeeBps < TOTAL_BPS, \\\"WrappedTokenBridge: invalid withdrawal fee bps\\\");\\n        withdrawalFeeBps = _withdrawalFeeBps;\\n        emit SetWithdrawalFeeBps(_withdrawalFeeBps);\\n    }\\n\\n    function estimateBridgeFee(uint16 remoteChainId, bool useZro, bytes calldata adapterParams) external view returns (uint nativeFee, uint zroFee) {\\n        // Only the payload format matters when estimating fee, not the actual data\\n        bytes memory payload = abi.encode(PT_UNLOCK, address(this), address(this), 0, 0, false);\\n        return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);\\n    }\\n\\n    /// @notice Bridges `localToken` to the remote chain\\n    /// @dev Burns wrapped tokens and sends LZ message to the remote chain to unlock original tokens\\n    function bridge(address localToken, uint16 remoteChainId, uint amount, address to, bool unwrapWeth, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {\\n        require(localToken != address(0), \\\"WrappedTokenBridge: invalid token\\\");\\n        require(to != address(0), \\\"WrappedTokenBridge: invalid to\\\");\\n        require(amount > 0, \\\"WrappedTokenBridge: invalid amount\\\");\\n        _checkAdapterParams(remoteChainId, PT_UNLOCK, adapterParams);\\n\\n        address remoteToken = localToRemote[localToken][remoteChainId];\\n        require(remoteToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n        require(totalValueLocked[remoteChainId][remoteToken] >= amount, \\\"WrappedTokenBridge: insufficient liquidity on the destination\\\");\\n\\n        totalValueLocked[remoteChainId][remoteToken] -= amount;\\n        IWrappedERC20(localToken).burn(msg.sender, amount);\\n\\n        uint withdrawalAmount = amount;\\n        if (withdrawalFeeBps > 0) {\\n            uint withdrawalFee = (amount * withdrawalFeeBps) / TOTAL_BPS;\\n            withdrawalAmount -= withdrawalFee;\\n        }\\n\\n        bytes memory payload = abi.encode(PT_UNLOCK, remoteToken, to, withdrawalAmount, amount, unwrapWeth);\\n        _lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, msg.value);\\n        emit UnwrapToken(localToken, remoteToken, remoteChainId, to, amount);\\n    }\\n\\n    /// @notice Receives ERC20 tokens or ETH from the remote chain\\n    /// @dev Mints wrapped tokens in response to LZ message from the remote chain\\n    function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {\\n        (uint8 packetType, address remoteToken, address to, uint amount) = abi.decode(payload, (uint8, address, address, uint));\\n        require(packetType == PT_MINT, \\\"WrappedTokenBridge: unknown packet type\\\");\\n\\n        address localToken = remoteToLocal[remoteToken][srcChainId];\\n        require(localToken != address(0), \\\"WrappedTokenBridge: token is not supported\\\");\\n\\n        totalValueLocked[srcChainId][remoteToken] += amount;\\n        IWrappedERC20(localToken).mint(to, amount);\\n\\n        emit WrapToken(localToken, remoteToken, srcChainId, to, amount);\\n    }\\n}\"\n    },\n    \"contracts/wrappedTokens/USDC.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDC is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"USD Coin\\\", \\\"USDC\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/USDT.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract USDT is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Tether USD\\\", \\\"USDT\\\", 6) {}\\n}\"\n    },\n    \"contracts/wrappedTokens/WETH.sol\": {\n      \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {WrappedERC20} from \\\"../WrappedERC20.sol\\\";\\n\\ncontract WETH is WrappedERC20 {\\n\\tconstructor(address _bridge) WrappedERC20(_bridge, \\\"Wrapped Ether\\\", \\\"WETH\\\", 18) {}\\n}\"\n    }\n  },\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"*\": [\n          \"abi\",\n          \"evm.bytecode\",\n          \"evm.deployedBytecode\",\n          \"evm.methodIdentifiers\",\n          \"metadata\",\n          \"devdoc\",\n          \"userdoc\",\n          \"storageLayout\",\n          \"evm.gasEstimates\"\n        ],\n        \"\": [\n          \"ast\"\n        ]\n      }\n    },\n    \"metadata\": {\n      \"useLiteralContent\": true\n    }\n  }\n}"
  },
  {
    "path": "hardhat.config.js",
    "content": "require(\"dotenv\").config();\n\nrequire('hardhat-contract-sizer');\nrequire(\"@nomiclabs/hardhat-waffle\");\nrequire(\"solidity-coverage\");\nrequire('hardhat-gas-reporter');\nrequire('hardhat-deploy');\nrequire('hardhat-deploy-ethers');\nrequire('@openzeppelin/hardhat-upgrades');\nrequire('./tasks');\n\n// This is a sample Hardhat task. To learn how to create your own go to\n// https://hardhat.org/guides/create-task.html\ntask(\"accounts\", \"Prints the list of accounts\", async (taskArgs, hre) => {\n  const accounts = await hre.ethers.getSigners();\n\n  for (const account of accounts) {\n    console.log(account.address);\n  }\n});\n\nfunction getMnemonic(networkName) {\n  if (networkName) {\n    const mnemonic = process.env['MNEMONIC_' + networkName.toUpperCase()]\n    if (mnemonic && mnemonic !== '') {\n      return mnemonic\n    }\n  }\n\n  const mnemonic = process.env.MNEMONIC\n  if (!mnemonic || mnemonic === '') {\n    return 'test test test test test test test test test test test junk'\n  }\n\n  return mnemonic\n}\n\nfunction accounts(chainKey) {\n  return { mnemonic: getMnemonic(chainKey) }\n}\n\n// You need to export an object to set up your config\n// Go to https://hardhat.org/config/ to learn more\n\n/**\n * @type import('hardhat/config').HardhatUserConfig\n */\nmodule.exports = {\n\n  solidity: {\n    compilers: [\n      {\n        version: \"0.8.17\",\n        settings: {\n          optimizer: {\n            enabled: true,\n            runs: 200\n          }\n        }\n      }    \n    ]\n  },\n  contractSizer: {\n    alphaSort: false,\n    runOnCompile: true,\n    disambiguatePaths: false,\n  },\n\n  namedAccounts: {\n    deployer: {\n      default: 0,    // wallet address 0, of the mnemonic in .env\n    }\n  },\n\n  networks: {\n    ethereum: {\n      url: \"https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161\",\n      chainId: 1,\n      accounts: accounts(),\n    },\n    bsc: {\n      url: \"https://bsc-dataseed1.binance.org\",\n      chainId: 56,\n      accounts: accounts(),\n    },\n    avalanche: {\n      url: \"https://api.avax.network/ext/bc/C/rpc\",\n      chainId: 43114,\n      accounts: accounts(),\n    },\n    polygon: {\n      url: \"https://rpc-mainnet.maticvigil.com\",\n      chainId: 137,\n      accounts: accounts(),\n    },\n    arbitrum: {\n      url: `https://arb1.arbitrum.io/rpc`,\n      chainId: 42161,\n      accounts: accounts(),\n    },\n    optimism: {\n      url: `https://mainnet.optimism.io`,\n      chainId: 10,\n      accounts: accounts(),\n    },\n    fantom: {\n      url: `https://rpcapi.fantom.network`,\n      chainId: 250,\n      accounts: accounts(),\n    },\n    coredao: {\n      url: `https://rpc.coredao.org`,\n      chainId: 1116,\n      accounts: accounts(),\n    },\n\n    goerli: {\n      url: \"https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161\",\n      chainId: 5,\n      accounts: accounts(),\n    },\n    'bsc-testnet': {\n      url: 'https://data-seed-prebsc-2-s1.binance.org:8545/',\n      chainId: 97,\n      accounts: accounts(),\n    },\n    fuji: {\n      url: `https://api.avax-test.network/ext/bc/C/rpc`,\n      chainId: 43113,\n      accounts: accounts(),\n    },\n    mumbai: {\n      url: \"https://rpc-mumbai.maticvigil.com/\",\n      chainId: 80001,\n      accounts: accounts(),\n    },\n    'arbitrum-goerli': {\n      url: `https://goerli-rollup.arbitrum.io/rpc/`,\n      chainId: 421613,\n      accounts: accounts(),\n    },\n    'optimism-goerli': {\n      url: `https://goerli.optimism.io/`,\n      chainId: 420,\n      accounts: accounts(),\n    },\n    'fantom-testnet': {\n      url: `https://rpc.testnet.fantom.network/`,\n      chainId: 4002,\n      accounts: accounts(),\n    },\n    'coredao-testnet': {\n      url: 'https://rpc.test.btcs.network/',\n      chainId: 1115,\n      accounts: accounts(),\n    }\n  }\n};\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"@layerzerolabs/wrapped-asset-bridge\",\n  \"version\": \"0.0.1\",\n  \"license\": \"MIT\",\n  \"files\": [\n    \"artifacts/\",\n    \"contracts/\"\n  ],\n  \"description\": \"Wrapped Asset Bridge\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"compile\": \"hardhat compile\",\n    \"test\": \"hardhat test\",\n    \"coverage\": \"hardhat coverage\",\n    \"prettier\": \"prettier --write test/*.js && prettier --write contracts/*.sol && prettier --write contracts/**/*.sol\",\n    \"lint\": \"yarn prettier && solhint 'contracts/*.sol' && solhint 'contracts/**/*.sol'\"\n  },\n  \"dependencies\": {\n    \"@layerzerolabs/solidity-examples\": \"0.0.6\",\n    \"@openzeppelin/contracts\": \"^4.4.1\"\n  },\n  \"devDependencies\": {\n    \"@nomiclabs/hardhat-waffle\": \"2.0.3\",\n    \"@nomiclabs/hardhat-etherscan\": \"^3.1.0\",\n    \"@ethersproject/hardware-wallets\": \"^5.0.14\",\n    \"@layerzerolabs/prettier-plugin-solidity\": \"^1.0.0-beta.19\",\n    \"@nomicfoundation/hardhat-network-helpers\": \"^1.0.6\",\n    \"@nomiclabs/hardhat-ethers\": \"^2.0.3\",\n    \"ethereum-waffle\": \"^3.2.0\",\n    \"chai\": \"^4.3.4\",\n    \"dotenv\": \"^10.0.0\",\n    \"eslint\": \"^7.0.0\",\n    \"eslint-config-prettier\": \"^8.3.0\",\n    \"eslint-plugin-prettier\": \"^3.4.1\",\n    \"ethers\": \"^5.5.2\",\n    \"hardhat\": \"^2.12.2\",\n    \"hardhat-contract-sizer\": \"^2.1.1\",\n    \"hardhat-deploy\": \"^0.10.5\",\n    \"hardhat-deploy-ethers\": \"^0.3.0-beta.13\",\n    \"hardhat-gas-reporter\": \"^1.0.6\",\n    \"prettier\": \"^2.4.1\",\n    \"solhint\": \"^3.3.6\",\n    \"solidity-coverage\": \"^0.8.2\",\n    \"typescript\": \"^3.7.0\"\n  }\n}\n"
  },
  {
    "path": "tasks/burnAndUnlock.js",
    "content": "const CHAIN_IDS = require(\"../constants/chainIds.json\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst signers = await ethers.getSigners()\n\tconst owner = signers[0]\n\tconst originalNetwork = taskArgs.originalNetwork\n\tconst originalTokenChainId = CHAIN_IDS[originalNetwork]\n\n\tconst amount = ethers.utils.parseUnits(taskArgs.amount, taskArgs.decimals)\n\tconst token = taskArgs.token\n\tconst bridge = await ethers.getContract(\"WrappedTokenBridge\")\n\n\tconst nativeFee = (await bridge.estimateBridgeFee(originalTokenChainId, false, \"0x\")).nativeFee\n\tconst increasedNativeFee = nativeFee.mul(5).div(4) // 20% increase\n\tconst callParams = {\n\t\trefundAddress: owner.address,\n\t\tzroPaymentAddress: ethers.constants.AddressZero\n\t}\n\n\tconst tx = await bridge.bridge(token, originalTokenChainId, amount, owner.address, false, callParams, \"0x\", { value: increasedNativeFee })\t\n\tawait tx.wait()\n\tconsole.log(`Bridged ${tx.hash}`)\n}"
  },
  {
    "path": "tasks/burnAndUnlockETH.js",
    "content": "const CHAIN_IDS = require(\"../constants/chainIds.json\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst signers = await ethers.getSigners()\n\tconst owner = signers[0]\n\tconst originalNetwork = taskArgs.originalNetwork\n\tconst originalTokenChainId = CHAIN_IDS[originalNetwork]\n\n\tconst amount = ethers.utils.parseEther(taskArgs.amount)\n\tconst token = await ethers.getContract(\"WETH\")\n\tconst bridge = await ethers.getContract(\"WrappedTokenBridge\")\n\n\tconst nativeFee = (await bridge.estimateBridgeFee(originalTokenChainId, false, \"0x\")).nativeFee\n\tconst increasedNativeFee = nativeFee.mul(5).div(4) // 20% increase\n\tconst callParams = {\n\t\trefundAddress: owner.address,\n\t\tzroPaymentAddress: ethers.constants.AddressZero\n\t}\n\n\tconst tx = await bridge.bridge(token.address, originalTokenChainId, amount, owner.address, true, callParams, \"0x\", { value: increasedNativeFee })\t\n\tawait tx.wait()\n\tconsole.log(`Bridged ${tx.hash}`)\n}"
  },
  {
    "path": "tasks/deployBridges.js",
    "content": "const crossChainHelper = require(\"../utils/crossChainHelper\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tawait hre.run('compile')\n\n\tconst originalNetworks = taskArgs.originalNetworks.split(\",\")\n\tconst wrappedNetwork = taskArgs.wrappedNetwork\n\tconsole.log(`\\nDeploying Bridges...`)\n\n\tfor (let i = 0; i < originalNetworks.length; i++){\n\t\tconsole.log(`\\nDeploying OriginalTokenBridge on ${originalNetworks[i]}...`)\n\t\tawait crossChainHelper.deployContract(hre, originalNetworks[i], [\"OriginalTokenBridge\"])\n\t}\n\n\tconsole.log(`\\nDeploying WrappedTokenBridge on ${wrappedNetwork}`)\n\tawait crossChainHelper.deployContract(hre, wrappedNetwork, [\"WrappedTokenBridge\"])\n}\n"
  },
  {
    "path": "tasks/deployMockTokens.js",
    "content": "const crossChainHelper = require(\"../utils/crossChainHelper\")\nmodule.exports = async function (taskArgs, hre) {\n\tawait hre.run('compile')\n\n\tconst originalNetworks = taskArgs.originalNetworks.split(\",\")\n\tconsole.log(`\\nDeploying Tokens...`)\n\n\tfor (let i = 0; i < originalNetworks.length; i++){\n\t\tconsole.log(`\\nDeploying MockToken on ${originalNetworks[i]}...`)\n\t\tawait crossChainHelper.deployContract(hre, originalNetworks[i], [\"USDCMock\"])\n\t}\n}\n"
  },
  {
    "path": "tasks/index.js",
    "content": "task(\"deployBridges\", \"deploys OriginalTokenBridge to multiple networks and WrappedTokenBridge to a wrapped token chain\", require(\"./deployBridges\"))\n\t.addParam(\"originalNetworks\", \"comma separated list of networks where OriginalTokenBridge contract is deployed\")\n\t.addParam(\"wrappedNetwork\", \"name of the network where WrappedTokenBridge is deployed\")\t\n// npx hardhat deployBridges --original-networks \"goerli,bsc-testnet,mumbai\" --wrapped-network \"coredao-testnet\"\n// npx hardhat deployBridges --original-networks \"ethereum,bsc,polygon\" --wrapped-network \"coredao\"\n\ntask(\"deployMockTokens\", \"deploys Mock tokens to multiple networks\", require(\"./deployMockTokens\"))\n\t.addParam(\"originalNetworks\", \"comma separated list of networks where mock tokens contract is deployed\")\n// npx hardhat deployTestTokens --original-networks \"goerli,bsc-testnet,mumbai\"\n\ntask(\"setTrustedRemote\", \"calls setTrustedRemoteAddress in OriginalTokenBridge on multiple networks and in WrappedTokenBridge on a wrapped token chain\", require(\"./setTrustedRemote\"))\n\t.addParam(\"originalNetworks\", \"comma separated list of networks where OriginalTokenBridge contract is deployed\")\n\t.addParam(\"wrappedNetwork\", \"name of the network where WrappedTokenBridge is deployed\")\n// npx hardhat setTrustedRemote --original-networks \"goerli,bsc-testnet,mumbai\" --wrapped-network \"coredao-testnet\"\n\ntask(\"registerToken\", \"calls registerToken in OriginalTokenBridge and WrappedTokenBridge\", require(\"./registerToken\"))\n\t.addParam(\"originalNetwork\", \"name of the network where OriginalTokenBridge is deployed\")\n\t.addParam(\"wrappedNetwork\", \"name of the network where WrappedTokenBridge is deployed\")\n\t.addParam(\"originalToken\", \"original token address\")\n\t.addParam(\"wrappedToken\", \"wrapped token address\")\n// npx hardhat registerToken --original-network \"goerli\" --original-token \"0xa684B88A25c4AE95368d7595c9241cE364ed56Db\" --wrapped-network \"coredao-testnet\" --wrapped-token \"0x631774c0B3FDB9502b3093a22aD91FA83fEc493e\"\n// npx hardhat registerToken --original-network \"bsc-testnet\" --original-token \"0x33BbFdBA6edFA6E7ac7cA5cbf8100867e0c570CF\" --wrapped-network \"coredao-testnet\" --wrapped-token \"0x631774c0B3FDB9502b3093a22aD91FA83fEc493e\"\n// npx hardhat registerToken --original-network \"mumbai\" --original-token \"0x7612aE2a34E5A363E137De748801FB4c86499152\" --wrapped-network \"coredao-testnet\" --wrapped-token \"0x631774c0B3FDB9502b3093a22aD91FA83fEc493e\"\n\ntask(\"registerTokens\", \"calls registerToken in OriginalTokenBridge and WrappedTokenBridge\", require(\"./registerTokens\"))\n\t.addParam(\"originalNetworks\", \"comma separated list of networks where original tokens are deployed\")\n\t.addParam(\"wrappedNetwork\", \"name of the network where wrapped tokens are deployed\")\n\t.addParam(\"tokens\", \"comma separated list of tokens to register\")\n // npx hardhat registerTokens --original-networks \"goerli,bsc-testnet,mumbai\" --wrapped-network \"coredao-testnet\" --tokens \"WETH,USDC\"\n\ntask(\"lockAndMint\", \"bridges original token to wrapped network\", require(\"./lockAndMint\"))\n\t.addParam(\"amount\", \"amount to bridge\")\n\t.addParam(\"token\", \"token address\")\n\t.addParam(\"decimals\", \"token decimals\")\n// npx hardhat lockAndMint --amount \"1\" --token \"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d\" --decimals 6 --network \"bsc\"\n\ntask(\"burnAndUnlock\", \"bridges wrapped token to original network\", require(\"./burnAndUnlock\"))\n\t.addParam(\"originalNetwork\", \"name of the network where OriginalTokenBridge is deployed\")\n\t.addParam(\"amount\", \"amount to bridge\")\n\t.addParam(\"token\", \"token address\")\n\t.addParam(\"decimals\", \"token decimals\")\n// npx hardhat burnAndUnlock --amount \"1\" --original-network \"bsc\" --token \"0xa4151B2B3e269645181dCcF2D426cE75fcbDeca9\" --decimals 6 --network \"coredao\"\n\ntask(\"lockAndMintETH\", \"bridges original token to wrapped network\", require(\"./lockAndMintETH\"))\n\t.addParam(\"amount\", \"amount to bridge\")\n// npx hardhat lockAndMintETH --amount \"0.001\" --network \"goerli\"\n\ntask(\"burnAndUnlockETH\", \"bridges wrapped token to original network\", require(\"./burnAndUnlockETH\"))\n\t.addParam(\"originalNetwork\", \"name of the network where OriginalTokenBridge is deployed\")\n\t.addParam(\"amount\", \"amount to bridge\")\n// npx hardhat burnAndUnlockETH --amount \"0.001\" --original-network \"goerli\" --network \"coredao-testnet\"\n\ntask(\"transferOwnership\", \"transfers bridges ownership\", require(\"./transferOwnership\"))\n\t.addParam(\"originalNetworks\", \"comma separated list of networks where original tokens are deployed\")\n\t.addParam(\"wrappedNetwork\", \"name of the network where wrapped tokens are deployed\")\n\t.addParam(\"newOwner\", \"new owner\")\n// npx hardhat transferOwnership --new-owner \"0x1b2B4F723e1579db0981d826017E3eaeb77Bb493\" --original-networks \"goerli,bsc-testnet,mumbai\" --wrapped-network \"coredao-testnet\"\n\ntask(\"verifyContract\", \"verifies a deployed contract\", require(\"./verifyContract\"))\n\t.addParam(\"contract\", \"contract name\")\n// npx hardhat verifyContract --contract \"OriginalTokenBridge\" --network \"ethereum\""
  },
  {
    "path": "tasks/lockAndMint.js",
    "content": "module.exports = async function (taskArgs, hre) {\n\tconst signers = await ethers.getSigners()\n\tconst owner = signers[0]\n\tconst amount = ethers.utils.parseUnits(taskArgs.amount, taskArgs.decimals)\n\tconst token = await hre.ethers.getContractAt([\"function approve(address,uint256) public returns (bool)\"], taskArgs.token);\n\tconst bridge = await ethers.getContract(\"OriginalTokenBridge\")\n\n\tconst gasPrice = await ethers.provider.getGasPrice()\n\tconst increasedGasPrice = gasPrice.mul(5).div(4)\n\n\tlet tx = await token.approve(bridge.address, amount, { gasPrice: increasedGasPrice })\n\tawait tx.wait()\n\tconsole.log(`Approved ${tx.hash}`)\n\n\tconst nativeFee = (await bridge.estimateBridgeFee(false, \"0x\")).nativeFee\n\tconst increasedNativeFee = nativeFee.mul(5).div(4) // 20% increase\n\tconst callParams = { \n\t\trefundAddress: owner.address,\n\t\tzroPaymentAddress: ethers.constants.AddressZero\n\t}\n\n\ttx = await bridge.bridge(token.address, amount, owner.address, callParams, \"0x\", { value: increasedNativeFee, gasPrice: increasedGasPrice })\n\tawait tx.wait()\n\tconsole.log(`Bridged ${tx.hash}`)\n}"
  },
  {
    "path": "tasks/lockAndMintETH.js",
    "content": "module.exports = async function (taskArgs, hre) {\n\tconst signers = await ethers.getSigners()\n\tconst owner = signers[0]\n\tconst amount = ethers.utils.parseEther(taskArgs.amount)\n\tconst bridge = await ethers.getContract(\"OriginalTokenBridge\")\n\n\tconst nativeFee = (await bridge.estimateBridgeFee(false, \"0x\")).nativeFee\n\tconst increasedNativeFee = nativeFee.mul(5).div(4) // 20% increase\n\tconst callParams = {\n\t\trefundAddress: owner.address,\n\t\tzroPaymentAddress: ethers.constants.AddressZero\n\t}\n\n\ttx = await bridge.bridgeNative(amount, owner.address, callParams, \"0x\", { value: amount.add(increasedNativeFee) })\n\tawait tx.wait()\n\tconsole.log(`Bridged ${tx.hash}`)\n}"
  },
  {
    "path": "tasks/registerToken.js",
    "content": "const { getWalletContract } = require(\"../utils/crossChainHelper\")\nconst CHAIN_IDS = require(\"../constants/chainIds.json\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst originalNetwork = taskArgs.originalNetwork\n\tconst originalTokenChainId = CHAIN_IDS[originalNetwork]\n\tconst originalTokenBridge = await getWalletContract(hre, originalNetwork, \"OriginalTokenBridge\")\t\n\n\tconst wrappedNetwork = taskArgs.wrappedNetwork\n\tconst wrappedTokenBridge = await getWalletContract(hre, wrappedNetwork, \"WrappedTokenBridge\")\n\n\tconsole.log(`\\n[${originalNetwork}] OriginalTokenBridge at ${originalTokenBridge.address} calling registerToken(${taskArgs.originalToken})`)\n\tawait originalTokenBridge.registerToken(taskArgs.originalToken)\n\n\tconsole.log(`\\n[${wrappedNetwork}] WrappedTokenBridge at ${wrappedTokenBridge.address} calling registerToken(${taskArgs.wrappedToken}, ${originalTokenChainId}, ${taskArgs.originalToken})`)\n\tawait wrappedTokenBridge.registerToken(taskArgs.wrappedToken, originalTokenChainId, taskArgs.originalToken)\t\n}\n"
  },
  {
    "path": "tasks/registerTokens.js",
    "content": "const { getWalletContract } = require(\"../utils/crossChainHelper\")\nconst CHAIN_IDS = require(\"../constants/chainIds.json\")\nconst TOKENS = require(\"../constants/tokens.json\")\nconst SHARED_DECIMALS = require(\"../constants/sharedDecimals.json\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst originalNetworks = taskArgs.originalNetworks.split(\",\")\n\tconst tokens = taskArgs.tokens.split(\",\")\n\tconst wrappedNetwork = taskArgs.wrappedNetwork\n\tconst wrappedTokenBridge = await getWalletContract(hre, wrappedNetwork, \"WrappedTokenBridge\")\n\tconst wrappedProvider = wrappedTokenBridge.provider\n\tconst wrappedGasPrice = await wrappedProvider.getGasPrice()\n\tconst increasedWrappedGasPrice = wrappedGasPrice.mul(5).div(4)\n\n\tfor(let i = 0; i < originalNetworks.length; i++) {\n\t\tconst originalNetwork = originalNetworks[i]\n\t\tconst originalTokenChainId = CHAIN_IDS[originalNetwork]\n\t\tconst originalTokenBridge = await getWalletContract(hre, originalNetwork, \"OriginalTokenBridge\")\n\t\tconst originalProvider = originalTokenBridge.provider\n\t\tconst gasPrice = await originalProvider.getGasPrice()\n\t\tconst increasedGasPrice = gasPrice.mul(5).div(4)\n\n\t\tfor (let j = 0; j < tokens.length; j++) {\n\t\t\tconst token = tokens[j]\n\t\t\tconst decimals = SHARED_DECIMALS[token]\n\t\t\tconst originalToken = TOKENS[originalNetwork][token]\n\t\t\tif (!originalToken) continue\n\t\t\tconst wrappedToken = TOKENS[wrappedNetwork][token]\n\n\t\t\tconsole.log(`\\n[${originalNetwork}] OriginalTokenBridge at ${originalTokenBridge.address} calling registerToken(${originalToken}, ${decimals})`)\n\t\t\tlet tx = await originalTokenBridge.registerToken(originalToken, decimals, { gasPrice: increasedGasPrice })\n\t\t\tconsole.log(tx.hash)\n\n\t\t\tconsole.log(`[${wrappedNetwork}] WrappedTokenBridge at ${wrappedTokenBridge.address} calling registerToken(${wrappedToken}, ${originalTokenChainId}, ${originalToken})`)\n\t\t\ttx = await wrappedTokenBridge.registerToken(wrappedToken, originalTokenChainId, originalToken, { gasPrice: increasedWrappedGasPrice })\n\t\t\tconsole.log(tx.hash)\n\t\t}\n\t}\n}"
  },
  {
    "path": "tasks/setTrustedRemote.js",
    "content": "const { getWalletContract } = require(\"../utils/crossChainHelper\")\nconst CHAIN_IDS = require(\"../constants/chainIds.json\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst originalNetworks = taskArgs.originalNetworks.split(\",\")\n\tconst wrappedNetwork = taskArgs.wrappedNetwork\n\n\tconst wrappedTokenBridge = await getWalletContract(hre, wrappedNetwork, \"WrappedTokenBridge\")\n\tconst wrappedTokenChainId = CHAIN_IDS[wrappedNetwork]\n\n\tfor (let i = 0; i < originalNetworks.length; i++) {\n\t\tconst originalTokenChainId = CHAIN_IDS[originalNetworks[i]]\n\t\tconst originalTokenBridge = await getWalletContract(hre, originalNetworks[i], \"OriginalTokenBridge\")\n\t\tconst originalProvider = originalTokenBridge.provider\n\t\tconst gasPrice = await originalProvider.getGasPrice()\n\t\tconst increasedGasPrice = gasPrice.mul(5).div(4)\n\n\t\tconsole.log(`\\n[${originalNetworks[i]}] OriginalTokenBridge at ${originalTokenBridge.address} calling setTrustedRemoteAddress(${wrappedTokenChainId}, ${wrappedTokenBridge.address})`)\n\t\tlet tx = await originalTokenBridge.setTrustedRemoteAddress(wrappedTokenChainId, wrappedTokenBridge.address, {gasPrice: increasedGasPrice})\n\t\tconsole.log(tx.hash)\n\t\t\n\t\tconsole.log(`[${wrappedNetwork}] WrappedTokenBridge at ${wrappedTokenBridge.address} calling setTrustedRemoteAddress(${originalTokenChainId}, ${originalTokenBridge.address})`)\n\t\ttx = await wrappedTokenBridge.setTrustedRemoteAddress(originalTokenChainId, originalTokenBridge.address)\n\t\tconsole.log(tx.hash)\n\t}\n}\n"
  },
  {
    "path": "tasks/transferOwnership.js",
    "content": "const { getWalletContract } = require(\"../utils/crossChainHelper\")\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst originalNetworks = taskArgs.originalNetworks.split(\",\")\t\n\tconst wrappedNetwork = taskArgs.wrappedNetwork\n\tconst newOwner = taskArgs.newOwner\n\n\tconst wrappedTokenBridge = await getWalletContract(hre, wrappedNetwork, \"WrappedTokenBridge\")\n\tlet tx = await wrappedTokenBridge.transferOwnership(newOwner)\n\tconsole.log(`[${wrappedNetwork}] transferOwnership tx ${tx.hash}`)\n\n\tfor (let i = 0; i < originalNetworks.length; i++) {\n\t\tconst originalNetwork = originalNetworks[i]\n\t\tconst originalTokenBridge = await getWalletContract(hre, originalNetwork, \"OriginalTokenBridge\")\n\t\ttx = await originalTokenBridge.transferOwnership(newOwner)\n\t\tconsole.log(`[${originalNetwork}] transferOwnership tx ${tx.hash}`)\n\t}\n}"
  },
  {
    "path": "tasks/verifyContract.js",
    "content": "const FileSystem = require(\"fs\");\nconst BLOCK_EXPLORER_API_URL = require(\"../constants/blockExplorerApi.json\")\n\nconst licenseTypes = {\n\t\"None\": 1,\n\t\"Unlicense\": 2,\n\t\"MIT\": 3,\n\t\"GNU-GPLv2\": 4,\n\t'GNU-GPLv3': 5,\n\t'GNU-LGPLv2.1': 6,\n\t'GNU-LGPLv3': 7,\n\t'BSD-2-Clause': 8,\n\t\"BSD-3-Clause\": 9,\n\t\"MPL-2.0\": 10,\n\t\"OSL-3.0\": 11,\n\t\"Apache-2.0\": 12,\n\t\"GNU-AGPLv3\": 13,\n\t\"BUSL-1.1\": 14\n}\n\nfunction getContractInheritance(baseContractString, remainingContracts, finalObj) {\n\tlet contractNamesInherited = baseContractString.match(/(import).*(;)/g)\n\t// we have reached the end of the inheritance as the base contract contains no more imports\n\tif (!contractNamesInherited) { return finalObj }\n\n\t// extract import names\n\tcontractNamesInherited = contractNamesInherited.map(\n\t\tx => {\n\t\t\tif (x.includes('\"')) {\n\t\t\t\treturn (x.split(`\"`)[1])\n\t\t\t\t\t.split(`/`).pop()\n\t\t\t} else {\n\t\t\t\treturn (x.split(`'`)[1])\n\t\t\t\t\t.split(`/`).pop()\n\t\t\t}\n\t\t}\n\t)\n\n\t// there are more parent contracts to check, push them into final object\n\tlet parentContracts = []\n\tfor (const contractName of contractNamesInherited) {\n\t\tfor (const contract of remainingContracts) {\n\t\t\tif (contract[0].includes(\"/\" + contractName)) {\n\t\t\t\tparentContracts.push(contract)\n\t\t\t}\n\t\t}\n\t}\n\n\t// filter out contracts that we haven't added to the finalObj yet\n\tlet remainingContractsNew = remainingContracts.filter(([k, v]) => !Object.keys(Object.fromEntries(parentContracts)).includes(k))\n\n\t// take existing contracts and the new verified parent contracts and merge into object\n\tlet resp = { ...finalObj, ...Object.fromEntries(parentContracts) }\n\n\t// go through each of the parent contracts and get inheritance\n\tfor (const [k, v] of parentContracts) {\n\t\tresp = { ...getContractInheritance(v[\"content\"], remainingContractsNew, finalObj), ...resp }\n\t}\n\n\treturn resp\n}\n\nfunction urlEncode(putObj) {\n\tlet formBody = [];\n\tfor (let property in putObj) {\n\t\tlet encodedKey = encodeURIComponent(property);\n\t\tlet encodedValue = encodeURIComponent(putObj[property]);\n\t\tformBody.push(encodedKey + \"=\" + encodedValue);\n\t}\n\treturn formBody.join(\"&\");\n}\n\nfunction formatPutObj(baseContract, contractBuildInfo, contractDeployment, taskArgs, hre) {\n\tlet putObj = {\n\t\tapikey: process.env[`SCAN_API_KEY_${hre.network.name}`],\n\t\tmodule: \"contract\",\n\t\taction: \"verifysourcecode\",\n\t\tsourceCode: JSON.stringify(contractBuildInfo[\"input\"]),\n\t\tcontractaddress: contractDeployment[\"address\"],\n\t\tcodeformat: \"solidity-standard-json-input\",\n\t\tcontractname: `${baseContract[0]}:${taskArgs.contract}`,\n\t\tcompilerversion: \"v\" + contractBuildInfo[\"solcLongVersion\"],\n\t\tlicenseType: licenseTypes[\"None\"] // default to none\n\t}\n\n\t// specify license type if one is found in the base contract\n\tfor (const [license, type] of Object.entries(licenseTypes)) {\n\t\tif (baseContract[1][\"content\"].includes(`SPDX-License-Identifier: ${license}`)) {\n\t\t\tputObj[\"licenseType\"] = type\n\t\t}\n\t}\n\n\tif (contractBuildInfo[\"input\"][\"settings\"][\"optimizer\"][\"enabled\"]) {\n\t\tputObj[\"optimizationUsed\"] = 1\n\t\tputObj[\"runs\"] = contractBuildInfo[\"input\"][\"settings\"][\"optimizer\"][\"runs\"]\n\t} else {\n\t\tputObj[\"optimizationUsed\"] = 0\n\t}\n\n\tlet constructorAbiEncoded\n\tif (baseContract[1][\"content\"].includes(\"constructor(\")) {\n\t\tlet constructorTypes = (contractDeployment[\"abi\"].filter(x => x[\"type\"] && x[\"type\"] == \"constructor\")[0][\"inputs\"]).map(x => x[\"type\"])\n\t\tconstructorAbiEncoded = ethers.utils.defaultAbiCoder.encode(constructorTypes, contractDeployment[\"args\"])\n\t}\n\n\tif (constructorAbiEncoded) {\n\t\tputObj[\"constructorArguements\"] = constructorAbiEncoded.substring(2) // misspelled in etherscans api\n\t}\n\n\treturn putObj\n}\n\nfunction getBaseAndRemainingContract(contractName, contractBuildInfo) {\n\tconst baseContract = Object.entries(contractBuildInfo[\"input\"][\"sources\"]).filter(([k, v]) => k.includes(contractName))[0]\n\tconst remainingContracts = Object.entries(contractBuildInfo[\"input\"][\"sources\"]).filter(([k, v]) => !k.includes(contractName))\n\treturn [baseContract, remainingContracts]\n}\n\n\nmodule.exports = async function (taskArgs, hre) {\n\tconst contractName = `/${taskArgs.contract}.sol`\n\n\t// get the build files/artifacts\n\tconst contractDeployment = JSON.parse(FileSystem.readFileSync(`./deployments/${hre.network.name}/${taskArgs.contract}.json`, \"utf8\"))\n\t// iterate the build-info to find the correct build file\n\tlet contractBuildInfo\n\tFileSystem.readdirSync(`./artifacts/build-info/`).forEach(fileName => {\n\t\tconst f = JSON.parse(FileSystem.readFileSync(`./artifacts/build-info/${fileName}`, \"utf8\"))\n\n\t\tlet test = Object.entries(f[\"input\"][\"sources\"]).filter(([k, v]) => k.includes(contractName))\n\t\tif (test[0] && test[0][0]) {\n\t\t\tif (test[0][0].includes(contractName)) {\n\t\t\t\tcontractBuildInfo = f\n\t\t\t}\n\t\t}\n\t})\n\tif (!contractBuildInfo) throw `Could not find contract: ${contractName} inside of build-info!`\n\n\tconsole.log(`\\n\\nVerifying... Network: ${hre.network.name}, contractName: ${contractName}, address: ${contractDeployment[\"address\"]}`)\n\n\t// parse and filter out the extra build files, because the verifier freaks out if too many contracts to check\n\tconst [baseContract, remainingContracts] = getBaseAndRemainingContract(contractName, contractBuildInfo)\n\n\tcontractBuildInfo[\"input\"][\"sources\"] = getContractInheritance(baseContract[1][\"content\"], remainingContracts, Object.fromEntries([baseContract]))\n\n\t// format the put request\n\tconst putObj = formatPutObj(baseContract, contractBuildInfo, contractDeployment, taskArgs, hre)\n\t// console.log(`=++++++++=`)\n\t// console.log(putObj.sourceCode)\n\t// console.log(`=++++++++=`)\n\n\tconst response = await fetch(`${BLOCK_EXPLORER_API_URL[hre.network.name]}`, {\n\t\tmethod: 'POST',\n\t\theaders: {\n\t\t\t'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'\n\t\t},\n\t\tbody: urlEncode(putObj)\n\t})\n\n\tconsole.log(await response.json())\n}"
  },
  {
    "path": "test/EndToEnd.test.js",
    "content": "const { expect } = require(\"chai\")\nconst { ethers } = require(\"hardhat\")\nconst { utils, constants } = require(\"ethers\")\n\ndescribe(\"End to End\", function () {\n    const ethereumChainId = 0\n    const polygonChainId = 1\n    const wrappedTokenChainId = 2\n    const ethereumAmount = utils.parseEther(\"10\")\n    const polygonAmount = utils.parseEther(\"5\")\n    const name = \"TEST\"\n    const symbol = \"TEST\"\n    const sharedDecimals = 6\n    const wethSharedDecimals = 18\n\n    let owner, user\n    let ethereumERC20, weth, polygonERC20, wmatic, wrappedToken\n    let ethereumBridge, polygonBridge, wrappedTokenBridge\n    let callParams, adapterParams\n    let ethereumAmountSD, polygonAmountSD\n\n    beforeEach(async () => {\n        [owner, user] = await ethers.getSigners()\n\n        const endpointFactory = await ethers.getContractFactory(\"LZEndpointMock\")\n        const ethereumEndpoint = await endpointFactory.deploy(ethereumChainId)\n        const polygonEndpoint = await endpointFactory.deploy(polygonChainId)\n        const wrappedTokenEndpoint = await endpointFactory.deploy(wrappedTokenChainId)\n\n        const wethFactory = await ethers.getContractFactory(\"WETH9\")\n        weth = await wethFactory.deploy()\n        wmatic = await wethFactory.deploy()\n\n        const originalTokenBridgeFactory = await ethers.getContractFactory(\"OriginalTokenBridge\")\n        ethereumBridge = await originalTokenBridgeFactory.deploy(ethereumEndpoint.address, wrappedTokenChainId, weth.address)\n        polygonBridge = await originalTokenBridgeFactory.deploy(polygonEndpoint.address, wrappedTokenChainId, wmatic.address)\n\n        const wrappedTokenBridgeFactory = await ethers.getContractFactory(\"WrappedTokenBridge\")\n        wrappedTokenBridge = await wrappedTokenBridgeFactory.deploy(wrappedTokenEndpoint.address)\n\n        const ERC20Factory = await ethers.getContractFactory(\"MintableERC20Mock\")\n        ethereumERC20 = await ERC20Factory.deploy(name, symbol)\n        polygonERC20 = await ERC20Factory.deploy(name, symbol)\n\n        const wrappedERC20Factory = await ethers.getContractFactory(\"WrappedERC20\")\n        wrappedToken = await wrappedERC20Factory.deploy(wrappedTokenBridge.address, name, symbol, sharedDecimals)\n\n        // internal bookkeeping for endpoints (not part of a real deploy, just for this test)\n        await ethereumEndpoint.setDestLzEndpoint(wrappedTokenBridge.address, wrappedTokenEndpoint.address)\n        await polygonEndpoint.setDestLzEndpoint(wrappedTokenBridge.address, wrappedTokenEndpoint.address)\n        await wrappedTokenEndpoint.setDestLzEndpoint(ethereumBridge.address, ethereumEndpoint.address)\n        await wrappedTokenEndpoint.setDestLzEndpoint(polygonBridge.address, polygonEndpoint.address)\n\n        await ethereumBridge.setTrustedRemoteAddress(wrappedTokenChainId, wrappedTokenBridge.address)\n        await polygonBridge.setTrustedRemoteAddress(wrappedTokenChainId, wrappedTokenBridge.address)\n        await wrappedTokenBridge.setTrustedRemoteAddress(ethereumChainId, ethereumBridge.address)\n        await wrappedTokenBridge.setTrustedRemoteAddress(polygonChainId, polygonBridge.address)\n\n        await ethereumERC20.mint(user.address, ethereumAmount)\n        await polygonERC20.mint(user.address, polygonAmount)\n\n        callParams = { refundAddress: user.address, zroPaymentAddress: constants.AddressZero }\n        adapterParams = \"0x\"\n    })\n\n    describe(\"bridge 10 ERC20 tokens from Ethereum\", function () {\n        beforeEach(async () => {\n            await ethereumBridge.registerToken(ethereumERC20.address, sharedDecimals)\n            await wrappedTokenBridge.registerToken(wrappedToken.address, ethereumChainId, ethereumERC20.address)\n\n            await ethereumERC20.connect(user).approve(ethereumBridge.address, ethereumAmount)\n            const fee = await ethereumBridge.estimateBridgeFee(false, adapterParams)\n            await ethereumBridge.connect(user).bridge(ethereumERC20.address, ethereumAmount, user.address, callParams, adapterParams, { value: fee.nativeFee })\n\n            const LDtoSD = await ethereumBridge.LDtoSDConversionRate(ethereumERC20.address)\n            ethereumAmountSD = ethereumAmount.div(LDtoSD)\n        })\n\n        it(\"locks original tokens\", async () => {\n            expect(await ethereumBridge.totalValueLockedSD(ethereumERC20.address)).to.be.eq(ethereumAmountSD)\n            expect(await ethereumERC20.balanceOf(ethereumBridge.address)).to.be.eq(ethereumAmount)\n        })\n\n        it(\"mints wrapped tokens\", async () => {\n            expect(await wrappedToken.totalSupply()).to.be.eq(ethereumAmountSD)\n            expect(await wrappedToken.balanceOf(user.address)).to.be.eq(ethereumAmountSD)\n            expect(await wrappedTokenBridge.totalValueLocked(ethereumChainId, ethereumERC20.address)).to.be.eq(ethereumAmountSD)\n        })\n\n        describe(\"bridge 5 ERC20 tokens from Polygon\", function () {\n            beforeEach(async () => {\n                await polygonBridge.registerToken(polygonERC20.address, sharedDecimals)\n                await wrappedTokenBridge.registerToken(wrappedToken.address, polygonChainId, polygonERC20.address)\n\n                await polygonERC20.connect(user).approve(polygonBridge.address, polygonAmount)\n                const fee = await polygonBridge.estimateBridgeFee(false, adapterParams)\n                await polygonBridge.connect(user).bridge(polygonERC20.address, polygonAmount, user.address, callParams, adapterParams, { value: fee.nativeFee })\n\n                const LDtoSD = await ethereumBridge.LDtoSDConversionRate(ethereumERC20.address)\n                polygonAmountSD = polygonAmount.div(LDtoSD)\n            })\n\n            it(\"locks original tokens\", async () => {\n                expect(await polygonBridge.totalValueLockedSD(polygonERC20.address)).to.be.eq(polygonAmountSD)\n                expect(await polygonERC20.balanceOf(polygonBridge.address)).to.be.eq(polygonAmount)\n            })\n\n            it(\"mints wrapped tokens\", async () => {\n                const totalAmountSD = ethereumAmountSD.add(polygonAmountSD)\n                expect(await wrappedToken.totalSupply()).to.be.eq(totalAmountSD)\n                expect(await wrappedToken.balanceOf(user.address)).to.be.eq(totalAmountSD)\n                expect(await wrappedTokenBridge.totalValueLocked(ethereumChainId, ethereumERC20.address)).to.be.eq(ethereumAmountSD)\n                expect(await wrappedTokenBridge.totalValueLocked(polygonChainId, polygonERC20.address)).to.be.eq(polygonAmountSD)\n            })\n\n            it(\"reverts when trying to bridge 6 wrapped tokens to Polygon\", async () => {\n                const amount = polygonAmountSD.add(utils.parseUnits(\"1\", sharedDecimals))\n                const fee = await wrappedTokenBridge.estimateBridgeFee(polygonChainId, false, adapterParams)\n\n                it(\"reverts when called by non owner\", async () => {\n                    await expect(wrappedTokenBridge.connect(user).bridge(wrappedToken.address, polygonChainId, amount, user.address, false, callParams, adapterParams, { value: fee.nativeFee })).to.be.revertedWith(\"WrappedTokenBridge: insufficient liquidity on the destination\")\n                })\n            })\n\n            describe(\"bridge 10 wrapped ERC20 tokens to Ethereum\", function () {\n                beforeEach(async () => {\n                    const fee = await wrappedTokenBridge.estimateBridgeFee(ethereumChainId, false, adapterParams)\n                    await wrappedTokenBridge.connect(user).bridge(wrappedToken.address, ethereumChainId, ethereumAmountSD, user.address, false, callParams, adapterParams, { value: fee.nativeFee })\n                })\n\n                it(\"burns wrapped tokens\", async () => {\n                    expect(await wrappedToken.totalSupply()).to.be.eq(polygonAmountSD)\n                    expect(await wrappedToken.balanceOf(user.address)).to.be.eq(polygonAmountSD)\n                    expect(await wrappedTokenBridge.totalValueLocked(ethereumChainId, ethereumERC20.address)).to.be.eq(0)\n                })\n\n                it(\"unlocks original tokens\", async () => {\n                    expect(await ethereumBridge.totalValueLockedSD(ethereumERC20.address)).to.be.eq(0)\n                    expect(await ethereumERC20.balanceOf(ethereumBridge.address)).to.be.eq(0)\n                    expect(await ethereumERC20.balanceOf(user.address)).to.be.eq(ethereumAmount)\n                })\n\n                describe(\"bridge 5 wrapped ERC20 tokens to Polygon\", function () {\n                    beforeEach(async () => {\n                        const fee = await wrappedTokenBridge.estimateBridgeFee(polygonChainId, false, adapterParams)\n                        await wrappedTokenBridge.connect(user).bridge(wrappedToken.address, polygonChainId, polygonAmountSD, user.address, false, callParams, adapterParams, { value: fee.nativeFee })\n                    })\n\n                    it(\"burns wrapped tokens\", async () => {\n                        expect(await wrappedToken.totalSupply()).to.be.eq(0)\n                        expect(await wrappedToken.balanceOf(user.address)).to.be.eq(0)\n                        expect(await wrappedTokenBridge.totalValueLocked(polygonChainId, polygonERC20.address)).to.be.eq(0)\n                    })\n\n                    it(\"unlocks original tokens\", async () => {\n                        expect(await polygonBridge.totalValueLockedSD(polygonERC20.address)).to.be.eq(0)\n                        expect(await polygonERC20.balanceOf(polygonBridge.address)).to.be.eq(0)\n                        expect(await polygonERC20.balanceOf(user.address)).to.be.eq(polygonAmount)\n                    })\n                })\n            })\n        })\n    })\n\n    describe(\"bridge ETH from Ethereum\", function () {\n        beforeEach(async () => {\n            await ethereumBridge.registerToken(weth.address, wethSharedDecimals)\n            await wrappedTokenBridge.registerToken(wrappedToken.address, ethereumChainId, weth.address)\n\n            const fee = await ethereumBridge.estimateBridgeFee(false, adapterParams)\n            await ethereumBridge.connect(user).bridgeNative(ethereumAmount, user.address, callParams, adapterParams, { value: ethereumAmount.add(fee.nativeFee) })\n        })\n\n        it(\"locks WETH\", async () => {\n            expect(await ethereumBridge.totalValueLockedSD(weth.address)).to.be.eq(ethereumAmount)\n            expect(await weth.balanceOf(ethereumBridge.address)).to.be.eq(ethereumAmount)\n        })\n\n        it(\"mints wrapped tokens\", async () => {\n            expect(await wrappedToken.totalSupply()).to.be.eq(ethereumAmount)\n            expect(await wrappedToken.balanceOf(user.address)).to.be.eq(ethereumAmount)\n            expect(await wrappedTokenBridge.totalValueLocked(ethereumChainId, weth.address)).to.be.eq(ethereumAmount)\n        })\n\n        describe(\"bridge wrapped WETH token to Ethereum and collects fees\", function () {\n            let recipientBalanceBefore\n            let withdrawalFee\n            const unwrapWeth = true\n            const toNumber = (bigNumber) => parseFloat(utils.formatEther(bigNumber.toString()))\n\n            beforeEach(async () => {\n                const withdrawalFeeBps = 20 // 0.2%\n                const totalBps = await wrappedTokenBridge.TOTAL_BPS() // 100%\n                withdrawalFee = ethereumAmount.mul(withdrawalFeeBps).div(totalBps)\n                await wrappedTokenBridge.setWithdrawalFeeBps(withdrawalFeeBps)\n\n                recipientBalanceBefore = toNumber(await ethers.provider.getBalance(user.address))\n                const fee = await wrappedTokenBridge.estimateBridgeFee(ethereumChainId, false, adapterParams)\n                await wrappedTokenBridge.connect(user).bridge(wrappedToken.address, ethereumChainId, ethereumAmount, user.address, unwrapWeth, callParams, adapterParams, { value: fee.nativeFee })\n            })\n\n            it(\"burns wrapped tokens\", async () => {\n                expect(await wrappedToken.totalSupply()).to.be.eq(0)\n                expect(await wrappedToken.balanceOf(user.address)).to.be.eq(0)\n                expect(await wrappedTokenBridge.totalValueLocked(ethereumChainId, weth.address)).to.be.eq(0)\n            })\n\n            it(\"unlocks ETH\", async () => {\n                expect(await ethereumBridge.totalValueLockedSD(weth.address)).to.be.eq(0)\n                expect(await weth.balanceOf(ethereumBridge.address)).to.be.eq(withdrawalFee)\n                expect(await weth.balanceOf(user.address)).to.be.eq(0)\n                expect(toNumber(await ethers.provider.getBalance(user.address))).to.be.gt(recipientBalanceBefore)\n            })\n        })\n    })\n})"
  },
  {
    "path": "test/OriginalTokenBridge.test.js",
    "content": "const { expect } = require(\"chai\")\nconst { ethers } = require(\"hardhat\")\nconst { utils, constants, BigNumber } = require(\"ethers\")\n\ndescribe(\"OriginalTokenBridge\", () => {\n    const originalTokenChainId = 0\n    const wrappedTokenChainId = 1\n    const amount = utils.parseEther(\"10\")\n    const pkUnlock = 1\n    const sharedDecimals = 6\n    const wethSharedDecimals = 18\n\n    let owner, user\n    let originalToken, weth\n    let originalTokenBridge\n    let originalTokenEndpoint, originalTokenBridgeFactory\n    let callParams, adapterParams\n\n    const createPayload = (pk = pkUnlock, token = originalToken.address, withdrawalAmount = amount, totalAmount = amount, unwrapWeth = false) =>\n        utils.defaultAbiCoder.encode([\"uint8\", \"address\", \"address\", \"uint256\", \"uint256\", \"bool\"], [pk, token, user.address, withdrawalAmount, totalAmount, unwrapWeth])\n\n    beforeEach(async () => {\n        [owner, user] = await ethers.getSigners()\n\n        const wethFactory = await ethers.getContractFactory(\"WETH9\")\n        weth = await wethFactory.deploy()\n\n        const endpointFactory = await ethers.getContractFactory(\"LayerZeroEndpointStub\")\n        originalTokenEndpoint = await endpointFactory.deploy()\n        const wrappedTokenEndpoint = await endpointFactory.deploy()\n\n        originalTokenBridgeFactory = await ethers.getContractFactory(\"OriginalTokenBridgeHarness\")\n        originalTokenBridge = await originalTokenBridgeFactory.deploy(originalTokenEndpoint.address, wrappedTokenChainId, weth.address)\n\n        const wrappedTokenBridgeFactory = await ethers.getContractFactory(\"WrappedTokenBridge\")\n        const wrappedTokenBridge = await wrappedTokenBridgeFactory.deploy(wrappedTokenEndpoint.address)\n\n        const ERC20Factory = await ethers.getContractFactory(\"MintableERC20Mock\")\n        originalToken = await ERC20Factory.deploy(\"TEST\", \"TEST\")\n\n        await originalTokenBridge.setTrustedRemoteAddress(wrappedTokenChainId, wrappedTokenBridge.address)\n        await originalToken.mint(user.address, amount)\n\n        callParams = { refundAddress: user.address, zroPaymentAddress: constants.AddressZero }\n        adapterParams = \"0x\"\n    })\n\n    it(\"reverts when passing address zero as WETH in the constructor\", async () => {\n        await expect(originalTokenBridgeFactory.deploy(originalTokenEndpoint.address, wrappedTokenChainId, constants.AddressZero)).to.be.revertedWith(\"OriginalTokenBridge: invalid WETH address\")\n    })\n\n    it(\"doesn't renounce ownership\", async () => {\n        await originalTokenBridge.renounceOwnership()\n        expect(await originalTokenBridge.owner()).to.be.eq(owner.address)\n    })\n\n    describe(\"registerToken\", () => {\n        it(\"reverts when passing address zero\", async () => {\n            await expect(originalTokenBridge.registerToken(constants.AddressZero, sharedDecimals)).to.be.revertedWith(\"OriginalTokenBridge: invalid token address\")\n        })\n\n        it(\"reverts if token already registered\", async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await expect(originalTokenBridge.registerToken(originalToken.address, sharedDecimals)).to.be.revertedWith(\"OriginalTokenBridge: token already registered\")\n        })\n\n        it(\"reverts when called by non owner\", async () => {\n            await expect(originalTokenBridge.connect(user).registerToken(originalToken.address, sharedDecimals)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"reverts when shared decimals is greater than local decimals\", async () => {\n            const invalidSharedDecimals = 19\n            await expect(originalTokenBridge.registerToken(originalToken.address, invalidSharedDecimals)).to.be.revertedWith(\"OriginalTokenBridge: shared decimals must be less than or equal to local decimals\")\n        })\n\n        it(\"registers token and saves local to shared decimals conversion rate\", async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            expect(await originalTokenBridge.supportedTokens(originalToken.address)).to.be.true\n            expect((await originalTokenBridge.LDtoSDConversionRate(originalToken.address)).toNumber()).to.be.eq(10 ** 12)\n        })\n    })\n\n    describe(\"setRemoteChainId\", () => {\n        const newRemoteChainId = 2\n        it(\"reverts when called by non owner\", async () => {\n            await expect(originalTokenBridge.connect(user).setRemoteChainId(newRemoteChainId)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"sets remote chain id\", async () => {\n            await originalTokenBridge.setRemoteChainId(newRemoteChainId)\n            expect(await originalTokenBridge.remoteChainId()).to.be.eq(newRemoteChainId)\n        })\n    })\n\n    describe(\"setUseCustomAdapterParams\", () => {\n        it(\"reverts when called by non owner\", async () => {\n            await expect(originalTokenBridge.connect(user).setUseCustomAdapterParams(true)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"sets useCustomAdapterParams to true\", async () => {\n            await originalTokenBridge.setUseCustomAdapterParams(true)\n            expect(await originalTokenBridge.useCustomAdapterParams()).to.be.true\n        })\n    })\n\n    describe(\"bridge\", () => {\n        let fee\n        beforeEach(async () => {\n            fee = (await originalTokenBridge.estimateBridgeFee(false, adapterParams)).nativeFee\n            await originalToken.connect(user).approve(originalTokenBridge.address, amount)\n        })\n\n        it(\"reverts when to is address zero\", async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridge(originalToken.address, amount, constants.AddressZero, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"OriginalTokenBridge: invalid to\")\n        })\n\n        it(\"reverts when token is not registered\", async () => {\n            await expect(originalTokenBridge.connect(user).bridge(originalToken.address, amount, user.address, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"OriginalTokenBridge: token is not supported\")\n        })\n\n        it(\"reverts when useCustomAdapterParams is false and non-empty adapterParams are passed\", async () => {\n            const adapterParamsV1 = ethers.utils.solidityPack([\"uint16\", \"uint256\"], [1, 200000])\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridge(originalToken.address, amount, user.address, callParams, adapterParamsV1, { value: fee })).to.be.revertedWith(\"TokenBridgeBase: adapterParams must be empty\")\n        })\n\n        it(\"reverts when amount is 0\", async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridge(originalToken.address, 0, user.address, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"OriginalTokenBridge: invalid amount\")\n        })\n\n        it(\"reverts when the sender doesn't have enough tokens\", async () => {\n            const newAmount = amount.add(utils.parseEther(\"0.001\"))\n            await originalToken.connect(user).approve(originalTokenBridge.address, newAmount)\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridge(originalToken.address, newAmount, user.address, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"ERC20: transfer amount exceeds balance\")\n        })\n\n        it(\"locks tokens in the contract\", async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await originalTokenBridge.connect(user).bridge(originalToken.address, amount, user.address, callParams, adapterParams, { value: fee })\n            const LDtoSD = await originalTokenBridge.LDtoSDConversionRate(originalToken.address)\n\n            expect(await originalTokenBridge.totalValueLockedSD(originalToken.address)).to.be.eq(amount.div(LDtoSD))\n            expect(await originalToken.balanceOf(originalTokenBridge.address)).to.be.eq(amount)\n            expect(await originalToken.balanceOf(user.address)).to.be.eq(0)\n        })\n\n        it(\"locks tokens in the contract and returns dust to the sender\", async () => {\n            const dust = BigNumber.from(\"12345\")\n            const amountWithDust = amount.add(dust)\n\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n            await originalToken.mint(user.address, dust)\n            await originalToken.connect(user).approve(originalTokenBridge.address, amountWithDust)\n            await originalTokenBridge.connect(user).bridge(originalToken.address, amountWithDust, user.address, callParams, adapterParams, { value: fee })\n            const LDtoSD = await originalTokenBridge.LDtoSDConversionRate(originalToken.address)\n\n            expect(await originalTokenBridge.totalValueLockedSD(originalToken.address)).to.be.eq(amount.div(LDtoSD))\n            expect(await originalToken.balanceOf(originalTokenBridge.address)).to.be.eq(amount)\n            expect(await originalToken.balanceOf(user.address)).to.be.eq(dust)\n        })\n    })\n\n    describe(\"bridgeNative\", () => {\n        let totalAmount\n        beforeEach(async () => {\n            const fee = (await originalTokenBridge.estimateBridgeFee(false, adapterParams)).nativeFee\n            totalAmount = amount.add(fee)\n        })\n\n        it(\"reverts when to is address zero\", async () => {\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridgeNative(amount, constants.AddressZero, callParams, adapterParams, { value: totalAmount })).to.be.revertedWith(\"OriginalTokenBridge: invalid to\")\n        })\n\n        it(\"reverts when WETH is not registered\", async () => {\n            await expect(originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParams, { value: totalAmount })).to.be.revertedWith(\"OriginalTokenBridge: token is not supported\")\n        })\n\n        it(\"reverts when useCustomAdapterParams is false and non-empty adapterParams are passed\", async () => {\n            const adapterParamsV1 = ethers.utils.solidityPack([\"uint16\", \"uint256\"], [1, 200000])\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParamsV1, { value: totalAmount })).to.be.revertedWith(\"TokenBridgeBase: adapterParams must be empty\")\n        })\n\n        it(\"reverts when useCustomAdapterParams is true and min gas limit isn't set\", async () => {\n            const adapterParamsV1 = ethers.utils.solidityPack([\"uint16\", \"uint256\"], [1, 200000])\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await originalTokenBridge.setUseCustomAdapterParams(true)\n            await expect(originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParamsV1, { value: totalAmount })).to.be.revertedWith(\"LzApp: minGasLimit not set\")\n        })\n\n        it(\"reverts when amount is 0\", async () => {\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridgeNative(0, user.address, callParams, adapterParams, { value: totalAmount })).to.be.revertedWith(\"OriginalTokenBridge: invalid amount\")\n        })\n\n        it(\"reverts when value is less than amount\", async () => {\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await expect(originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParams, { value: 0 })).to.be.revertedWith(\"OriginalTokenBridge: not enough value sent\")\n        })\n\n        it(\"locks WETH in the contract\", async () => {\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n            await originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParams, { value: totalAmount })\n\n            expect(await originalTokenBridge.totalValueLockedSD(weth.address)).to.be.eq(amount)\n            expect(await weth.balanceOf(originalTokenBridge.address)).to.be.eq(amount)\n        })\n    })\n\n    describe(\"_nonblockingLzReceive\", () => {\n        beforeEach(async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n        })\n\n        it(\"reverts when received from an unknown chain\", async () => {\n            await expect(originalTokenBridge.simulateNonblockingLzReceive(originalTokenChainId, \"0x\")).to.be.revertedWith(\"OriginalTokenBridge: invalid source chain id\")\n        })\n\n        it(\"reverts when payload has incorrect packet type\", async () => {\n            const pkUnknown = 0\n            await expect(originalTokenBridge.simulateNonblockingLzReceive(wrappedTokenChainId, createPayload(pkUnknown))).to.be.revertedWith(\"OriginalTokenBridge: unknown packet type\")\n        })\n\n        it(\"reverts when a token is not supported\", async () => {\n            const ERC20Factory = await ethers.getContractFactory(\"MintableERC20Mock\")\n            const newToken = await ERC20Factory.deploy(\"NEW\", \"NEW\")\n            await expect(originalTokenBridge.simulateNonblockingLzReceive(wrappedTokenChainId, createPayload(pkUnlock, newToken.address))).to.be.revertedWith(\"OriginalTokenBridge: token is not supported\")\n        })\n\n        it(\"unlocks, collects withdrawal fees and transfers funds to the recipient\", async () => {\n            const LDtoSD = await originalTokenBridge.LDtoSDConversionRate(originalToken.address)\n            const bridgingFee = (await originalTokenBridge.estimateBridgeFee(false, adapterParams)).nativeFee\n            const withdrawalFee = amount.div(100)\n            const withdrawalAmount = amount.sub(withdrawalFee)\n            const withdrawalAmountSD = withdrawalAmount.div(LDtoSD)\n            const totalAmountSD = amount.div(LDtoSD)\n\n            // Setup\n            await originalToken.connect(user).approve(originalTokenBridge.address, amount)\n\n            // Bridge\n            await originalTokenBridge.connect(user).bridge(originalToken.address, amount, user.address, callParams, adapterParams, { value: bridgingFee })\n\n            expect(await originalToken.balanceOf(user.address)).to.be.eq(0)\n            expect(await originalToken.balanceOf(originalTokenBridge.address)).to.be.eq(amount)\n\n            // Receive\n            await originalTokenBridge.simulateNonblockingLzReceive(wrappedTokenChainId, createPayload(pkUnlock, originalToken.address, withdrawalAmountSD, totalAmountSD))\n\n            expect(await originalTokenBridge.totalValueLockedSD(originalToken.address)).to.be.eq(0)\n            expect(await originalToken.balanceOf(originalTokenBridge.address)).to.be.eq(withdrawalFee)\n            expect(await originalToken.balanceOf(user.address)).to.be.eq(withdrawalAmount)\n        })\n\n        it(\"unlocks WETH and transfers ETH to the recipient\", async () => {\n            const bridgingFee = (await originalTokenBridge.estimateBridgeFee(false, adapterParams)).nativeFee\n            totalAmount = amount.add(bridgingFee)\n\n            // Setup\n            await originalTokenBridge.registerToken(weth.address, wethSharedDecimals)\n\n            // Bridge\n            await originalTokenBridge.connect(user).bridgeNative(amount, user.address, callParams, adapterParams, { value: totalAmount })\n            const recipientBalanceBefore = await ethers.provider.getBalance(user.address)\n\n            // Receive\n            await originalTokenBridge.simulateNonblockingLzReceive(wrappedTokenChainId, createPayload(pkUnlock, weth.address, amount, amount, true))\n\n            expect(await originalTokenBridge.totalValueLockedSD(weth.address)).to.be.eq(0)\n            expect(await weth.balanceOf(originalTokenBridge.address)).to.be.eq(0)\n            expect(await weth.balanceOf(user.address)).to.be.eq(0)\n            expect(await ethers.provider.getBalance(user.address)).to.be.eq(recipientBalanceBefore.add(amount))\n        })\n    })\n\n    describe(\"withdrawFee\", () => {\n        beforeEach(async () => {\n            await originalTokenBridge.registerToken(originalToken.address, sharedDecimals)\n        })\n\n        it(\"reverts when called by non owner\", async () => {\n            await expect(originalTokenBridge.connect(user).withdrawFee(originalToken.address, owner.address, 1)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"reverts when not enough fees collected\", async () => {\n            await expect(originalTokenBridge.withdrawFee(originalToken.address, owner.address, 1)).to.be.revertedWith(\"OriginalTokenBridge: not enough fees collected\")\n        })\n\n        it(\"withdraws fees\", async () => {\n            const LDtoSD = await originalTokenBridge.LDtoSDConversionRate(originalToken.address)\n            const bridgingFee = (await originalTokenBridge.estimateBridgeFee(false, adapterParams)).nativeFee\n            const withdrawalFee = amount.div(100)\n            const withdrawalAmountSD = amount.sub(withdrawalFee).div(LDtoSD)\n            const totalAmountSD = amount.div(LDtoSD)\n\n            await originalToken.connect(user).approve(originalTokenBridge.address, amount)\n            await originalTokenBridge.connect(user).bridge(originalToken.address, amount, user.address, callParams, adapterParams, { value: bridgingFee })\n            await originalTokenBridge.simulateNonblockingLzReceive(wrappedTokenChainId, createPayload(pkUnlock, originalToken.address, withdrawalAmountSD, totalAmountSD))\n\n            await originalTokenBridge.withdrawFee(originalToken.address, owner.address, withdrawalFee)\n            expect(await originalToken.balanceOf(owner.address)).to.be.eq(withdrawalFee)\n        })\n    })\n})"
  },
  {
    "path": "test/WrappedERC20.test.js",
    "content": "const { expect } = require(\"chai\")\nconst { ethers } = require(\"hardhat\")\nconst { utils, constants } = require(\"ethers\")\n\ndescribe(\"WrappedERC20\", () => {\n    const name = \"WTEST\"\n    const symbol = \"WTEST\"\n    const decimals = 18\n    const amount = utils.parseEther(\"10\")\n\n    let owner, bridge\n    let wrappedToken\n    let wrappedTokenFactory\n\n    beforeEach(async () => {\n        [owner, bridge] = await ethers.getSigners()\n\n        wrappedTokenFactory = await ethers.getContractFactory(\"WrappedERC20\")\n        wrappedToken = await wrappedTokenFactory.deploy(bridge.address, name, symbol, decimals)\n    })\n\n    it(\"reverts when passing address zero in the constructor\", async () => {\n        await expect(wrappedTokenFactory.deploy(constants.AddressZero, name, symbol, decimals)).to.be.revertedWith(\"WrappedERC20: invalid bridge\")\n    })\n\n    it(\"overrides the default ERC20 number of decimals with the one passed in the constructor\", async () => {\n        const customDecimals = 6\n        wrappedToken = await wrappedTokenFactory.deploy(bridge.address, name, symbol, customDecimals)\n        expect(await wrappedToken.decimals()).to.be.eq(customDecimals)\n    })\n\n    describe(\"mint\", () => {\n        it(\"reverts when called not by the bridge\", async () => {\n            await expect(wrappedToken.mint(owner.address, amount)).to.be.revertedWith(\"WrappedERC20: caller is not the bridge\")\n        })\n\n        it(\"mints wrapped tokens\", async () => {\n            await wrappedToken.connect(bridge).mint(owner.address, amount)\n            expect(await wrappedToken.totalSupply()).to.be.eq(amount)\n            expect(await wrappedToken.balanceOf(owner.address)).to.be.eq(amount)\n        })\n    })\n\n    describe(\"burn\", () => {\n        beforeEach(async () => {\n            await wrappedToken.connect(bridge).mint(owner.address, amount)\n        })\n\n        it(\"reverts when called not by the bridge\", async () => {\n            await expect(wrappedToken.burn(owner.address, amount)).to.be.revertedWith(\"WrappedERC20: caller is not the bridge\")\n        })\n\n        it(\"burns wrapped tokens\", async () => {\n            await wrappedToken.connect(bridge).burn(owner.address, amount)\n            expect(await wrappedToken.totalSupply()).to.be.eq(0)\n            expect(await wrappedToken.balanceOf(owner.address)).to.be.eq(0)\n        })\n    })\n})"
  },
  {
    "path": "test/WrappedTokenBridge.test.js",
    "content": "const { expect } = require(\"chai\")\nconst { ethers } = require(\"hardhat\")\nconst { utils, constants } = require(\"ethers\")\n\ndescribe(\"WrappedTokenBridge\", () => {\n    const originalTokenChainId = 0\n    const wrappedTokenChainId = 1\n    const amount = utils.parseEther(\"10\")\n    const pkMint = 0\n\n    let owner, user\n    let originalToken, wrappedToken\n    let wrappedTokenBridge\n    let wrappedTokenEndpoint, wrappedTokenBridgeFactory\n    let callParams, adapterParams\n\n    const createPayload = (pk = pkMint, token = originalToken.address) => utils.defaultAbiCoder.encode([\"uint8\", \"address\", \"address\", \"uint256\"], [pk, token, user.address, amount])\n\n    beforeEach(async () => {\n        [owner, user] = await ethers.getSigners()\n\n        const endpointFactory = await ethers.getContractFactory(\"LayerZeroEndpointStub\")\n        const originalTokenEndpoint = await endpointFactory.deploy()\n        wrappedTokenEndpoint = await endpointFactory.deploy()\n\n        const wethFactory = await ethers.getContractFactory(\"WETH9\")\n        const weth = await wethFactory.deploy()\n        const originalTokenBridgeFactory = await ethers.getContractFactory(\"OriginalTokenBridge\")\n        const originalTokenBridge = await originalTokenBridgeFactory.deploy(originalTokenEndpoint.address, wrappedTokenChainId, weth.address)\n\n        wrappedTokenBridgeFactory = await ethers.getContractFactory(\"WrappedTokenBridgeHarness\")\n        wrappedTokenBridge = await wrappedTokenBridgeFactory.deploy(wrappedTokenEndpoint.address)\n\n        const ERC20Factory = await ethers.getContractFactory(\"MintableERC20Mock\")\n        originalToken = await ERC20Factory.deploy(\"TEST\", \"TEST\")\n        const originalERC20Decimals = await originalToken.decimals()\n\n        const wrappedERC20Factory = await ethers.getContractFactory(\"WrappedERC20\")\n        wrappedToken = await wrappedERC20Factory.deploy(wrappedTokenBridge.address, \"WTEST\", \"WTEST\", originalERC20Decimals)\n\n        await wrappedTokenBridge.setTrustedRemoteAddress(originalTokenChainId, originalTokenBridge.address)\n\n        callParams = { refundAddress: user.address, zroPaymentAddress: constants.AddressZero }\n        adapterParams = \"0x\"\n    })\n\n    it(\"doesn't renounce ownership\", async () => {\n        await wrappedTokenBridge.renounceOwnership()\n        expect(await wrappedTokenBridge.owner()).to.be.eq(owner.address)\n    })\n\n    describe(\"registerToken\", () => {\n        it(\"reverts when called by non owner\", async () => {\n            await expect(wrappedTokenBridge.connect(user).registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"reverts when local token is address zero\", async () => {\n            await expect(wrappedTokenBridge.registerToken(constants.AddressZero, originalTokenChainId, originalToken.address)).to.be.revertedWith(\"WrappedTokenBridge: invalid local token\")\n        })\n\n        it(\"reverts when remote token is address zero\", async () => {\n            await expect(wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, constants.AddressZero)).to.be.revertedWith(\"WrappedTokenBridge: invalid remote token\")\n        })\n\n        it(\"reverts if token already registered\", async () => {\n            await wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)\n            await expect(wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)).to.be.revertedWith(\"WrappedTokenBridge: token already registered\")\n        })\n\n        it(\"registers tokens\", async () => {\n            await wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)\n\n            expect(await wrappedTokenBridge.localToRemote(wrappedToken.address, originalTokenChainId)).to.be.eq(originalToken.address)\n            expect(await wrappedTokenBridge.remoteToLocal(originalToken.address, originalTokenChainId)).to.be.eq(wrappedToken.address)\n        })\n    })\n\n    describe(\"setWithdrawalFeeBps\", () => {\n        const withdrawalFeeBps = 10\n        it(\"reverts when fee bps is greater than or equal to 100%\", async () => {\n            await expect(wrappedTokenBridge.setWithdrawalFeeBps(10000)).to.be.revertedWith(\"WrappedTokenBridge: invalid withdrawal fee\")\n        })\n\n        it(\"reverts when called by non owner\", async () => {\n            await expect(wrappedTokenBridge.connect(user).setWithdrawalFeeBps(withdrawalFeeBps)).to.be.revertedWith(\"Ownable: caller is not the owner\")\n        })\n\n        it(\"sets withdrawal fee bps\", async () => {\n            await wrappedTokenBridge.setWithdrawalFeeBps(withdrawalFeeBps)\n            expect(await wrappedTokenBridge.withdrawalFeeBps()).to.be.eq(withdrawalFeeBps)\n        })\n    })\n\n    describe(\"_nonblockingLzReceive\", () => {\n        it(\"reverts when payload has incorrect packet type\", async () => {\n            const pkInvalid = 1\n            await expect(wrappedTokenBridge.simulateNonblockingLzReceive(originalTokenChainId, createPayload(pkInvalid))).to.be.revertedWith(\"WrappedTokenBridge: unknown packet type\")\n        })\n\n        it(\"reverts when tokens aren't registered\", async () => {\n            await expect(wrappedTokenBridge.simulateNonblockingLzReceive(originalTokenChainId, createPayload())).to.be.revertedWith(\"WrappedTokenBridge: token is not supported\")\n        })\n\n        it(\"mints wrapped tokens\", async () => {\n            await wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)\n            await wrappedTokenBridge.simulateNonblockingLzReceive(originalTokenChainId, createPayload())\n\n            expect(await wrappedToken.totalSupply()).to.be.eq(amount)\n            expect(await wrappedToken.balanceOf(user.address)).to.be.eq(amount)\n            expect(await wrappedTokenBridge.totalValueLocked(originalTokenChainId, originalToken.address)).to.be.eq(amount)\n        })\n    })\n\n    describe(\"bridge\", () => {\n        let fee\n        beforeEach(async () => {\n            fee = (await wrappedTokenBridge.estimateBridgeFee(originalTokenChainId, false, adapterParams)).nativeFee\n        })\n\n        it(\"reverts when token is address zero\", async () => {\n            await expect(wrappedTokenBridge.connect(user).bridge(constants.AddressZero, originalTokenChainId, amount, user.address, false, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"WrappedTokenBridge: invalid token\")\n        })\n\n        it(\"reverts when to is address zero\", async () => {\n            await expect(wrappedTokenBridge.connect(user).bridge(wrappedToken.address, originalTokenChainId, amount, constants.AddressZero, false, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"WrappedTokenBridge: invalid to\")\n        })\n\n        it(\"reverts when useCustomAdapterParams is false and non-empty adapterParams are passed\", async () => {\n            const adapterParamsV1 = ethers.utils.solidityPack([\"uint16\", \"uint256\"], [1, 200000])\n            await expect(wrappedTokenBridge.connect(user).bridge(wrappedToken.address, originalTokenChainId, amount, user.address, false, callParams, adapterParamsV1, { value: fee })).to.be.revertedWith(\"TokenBridgeBase: adapterParams must be empty\")\n        })\n\n        it(\"reverts when token is not registered\", async () => {\n            await expect(wrappedTokenBridge.connect(user).bridge(wrappedToken.address, originalTokenChainId, amount, user.address, false, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"WrappedTokenBridge: token is not supported\")\n        })\n\n        it(\"reverts when amount is 0\", async () => {\n            await wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)\n            await expect(wrappedTokenBridge.connect(user).bridge(wrappedToken.address, originalTokenChainId, 0, user.address, false, callParams, adapterParams, { value: fee })).to.be.revertedWith(\"WrappedTokenBridge: invalid amount\")\n        })\n\n        it(\"burns wrapped tokens\", async () => {\n            await wrappedTokenBridge.registerToken(wrappedToken.address, originalTokenChainId, originalToken.address)\n\n            // Tokens minted\n            await wrappedTokenBridge.simulateNonblockingLzReceive(originalTokenChainId, createPayload())\n\n            expect(await wrappedToken.totalSupply()).to.be.eq(amount)\n            expect(await wrappedToken.balanceOf(user.address)).to.be.eq(amount)\n            expect(await wrappedTokenBridge.totalValueLocked(originalTokenChainId, originalToken.address)).to.be.eq(amount)\n\n            // Tokens burned\n            await wrappedTokenBridge.connect(user).bridge(wrappedToken.address, originalTokenChainId, amount, user.address, false, callParams, adapterParams, { value: fee })\n\n            expect(await wrappedToken.totalSupply()).to.be.eq(0)\n            expect(await wrappedToken.balanceOf(user.address)).to.be.eq(0)\n            expect(await wrappedTokenBridge.totalValueLocked(originalTokenChainId, originalToken.address)).to.be.eq(0)\n        })\n    })\n})"
  },
  {
    "path": "utils/crossChainHelper.js",
    "content": "const { createProvider } = require(\"hardhat/internal/core/providers/construction\");\nconst { DeploymentsManager } = require(\"hardhat-deploy/dist/src/DeploymentsManager\")\nconst { getDeploymentAddresses } = require(\"./readStatic\")\n\nconst getDeploymentManager = (hre, networkName) => {\n    const network = {\n        name: networkName,\n        config: hre.config.networks[networkName],\n        provider: createProvider(networkName, hre.config.networks[networkName], hre.config.paths, hre.artifacts),\n        saveDeployments: true,\n    }\n    const newHre = Object.assign(Object.create(Object.getPrototypeOf(hre)), hre)\n    newHre.network = network\n    const deploymentsManager = new DeploymentsManager(newHre, network)\n    newHre.deployments = deploymentsManager.deploymentsExtension\n    newHre.getNamedAccounts = deploymentsManager.getNamedAccounts.bind(deploymentsManager)\n    newHre.getUnnamedAccounts = deploymentsManager.getUnnamedAccounts.bind(deploymentsManager)\n    newHre.getChainId = () => deploymentsManager.getChainId()\n    return deploymentsManager\n}\n\nconst deployContract = async (hre, network, tags) => {\n    const deploymentsManager = getDeploymentManager(hre, network)\n    await deploymentsManager.runDeploy(tags, {\n        log: true,\n        resetMemory: false,\n        writeDeploymentsToFiles: true,\n        savePendingTx: false,\n    })\n}\n\nconst providerByNetwork = {}\nconst getProvider = (hre, network) => {\n    if (!providerByNetwork[network]) {\n        const networkUrl = hre.config.networks[network].url      \n        providerByNetwork[network] = new ethers.providers.JsonRpcProvider(networkUrl)\n    }\n    return providerByNetwork[network]\n}\n\nconst deploymentAddresses = {}\nconst getDeploymentAddress = (network, contractName) => {\n    const key = `${network}-${contractName}`\n    if (!deploymentAddresses[key]) {\n        deploymentAddresses[key] = getDeploymentAddresses(network)[contractName]\n    }\n    if (!deploymentAddresses[key]) {\n        throw Error(`contract ${key} not found for network: ${network}`)\n    }\n    return deploymentAddresses[key]\n}\n\nconst contracts = {}\nconst getContract = async (hre, network, contractName) => {\n    const key = `${network}-${contractName}`\n    if (!contracts[key]) {\n        const contractAddress = getDeploymentAddress(network, contractName)\n        const provider = getProvider(hre, network)\n        const contractFactory = await getContractFactory(hre, contractName)\n        const contract = contractFactory.attach(contractAddress)\n        contracts[key] = contract.connect(provider)\n    }\n    return contracts[key]\n}\n\nconst contractFactories = {}\nconst getContractFactory = async (hre, contractName) => {\n    if (!contractFactories[contractName]) {\n        const artifacts = await hre.artifacts.readArtifactSync(contractName)\n        contractFactories[contractName] = new ethers.ContractFactory(artifacts.abi, artifacts.bytecode)\n    }\n    return contractFactories[contractName]\n}\n\nconst getWallet = (index) => ethers.Wallet.fromMnemonic(process.env.MNEMONIC, `m/44'/60'/0'/0/${index}`)\n\nconst connectedWallets = {}\nconst getConnectedWallet = (hre, network, walletIndex) => {\n    const key = `${network}-${walletIndex}`\n    if (!connectedWallets[key]) {\n        const provider = getProvider(hre, network)\n        const wallet = getWallet(walletIndex)\n        connectedWallets[key] = wallet.connect(provider)\n    }\n    return connectedWallets[key]\n}\n\nconst getWalletContract = async (hre, network, contractName, walletIndex = 0) => {   \n    const contract = await getContract(hre, network, contractName)\n    const wallet = getConnectedWallet(hre, network, walletIndex)\n    return contract.connect(wallet)\n}\n\nmodule.exports = {\n    deployContract, getWalletContract\n}"
  },
  {
    "path": "utils/readStatic.js",
    "content": "const path = require(\"path\")\nconst fs = require(\"fs\")\n\nfunction getDeploymentAddresses(networkName) {\n\tconst PROJECT_ROOT = path.resolve(__dirname, \"..\")\n\tconst DEPLOYMENT_PATH = path.resolve(PROJECT_ROOT, \"deployments\")\n\n\tlet folderName = networkName\n\tif (networkName === \"hardhat\") {\n\t\tfolderName = \"localhost\"\n\t}\n\n\tconst networkFolderName = fs.readdirSync(DEPLOYMENT_PATH).filter((f) => f === folderName)[0]\n\tif (networkFolderName === undefined) {\n\t\tthrow new Error(\"missing deployment files for endpoint \" + folderName)\n\t}\n\n\tlet rtnAddresses = {}\n\tconst networkFolderPath = path.resolve(DEPLOYMENT_PATH, folderName)\n\tconst files = fs.readdirSync(networkFolderPath).filter((f) => f.includes(\".json\"))\n\tfiles.forEach((file) => {\n\t\tconst filepath = path.resolve(networkFolderPath, file)\n\t\tconst data = JSON.parse(fs.readFileSync(filepath))\n\t\tconst contractName = file.split(\".\")[0]\n\t\trtnAddresses[contractName] = data.address\n\t})\n\n\treturn rtnAddresses\n}\n\nmodule.exports = {\n\tgetDeploymentAddresses\n}"
  }
]